Package Details: ffmpeg-git 7.2.r117638.g153a6dc8fa-1

Git Clone URL: https://aur.archlinux.org/ffmpeg-git.git (read-only, click to copy)
Package Base: ffmpeg-git
Description: Complete solution to record, convert and stream audio and video (git version)
Upstream URL: https://www.ffmpeg.org/
Keywords: audio codec convert encoder ffmpeg media vaapi video
Licenses: GPL-3.0-or-later
Conflicts: ffmpeg
Provides: ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: DrZaius
Maintainer: dbermond
Last Packager: dbermond
Votes: 73
Popularity: 0.22
First Submitted: 2011-01-17 22:00 (UTC)
Last Updated: 2024-10-24 20:29 (UTC)

Required by (1915)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 24 Next › Last »

dbermond commented on 2019-07-24 20:47 (UTC)

@Schlaefer It looks like that ffmpeg-qsv is currently linking against the wrong libmfx.so file, as it's using libmfx in depends. Its maintainer is already aware of the problem.

This package builds in the correct way. That's because it works for you and ffmpeg-qsv does not.

As you need ffmpeg with multiple additional features, I suggest you to use ffmpeg-full instead of manually editing the PKGBUILD here.

Schlaefer commented on 2019-07-17 20:29 (UTC) (edited on 2019-07-17 20:30 (UTC) by Schlaefer)

@dbermond

Thanks for your answer (and this package).

For context: I usually use ffmpeg-qsv, which is broken for me currently (I guess because of the latest intel-media-driver update). Whatever the case, I assumed this package will work, and it does, except for audio encoding.

My go-to line is

ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i <in> -vf hwupload=extra_hw_frames=64,format=qsv' -c:v hevc_qsv -q 22 -c:a libfdk_aac -vbr 5 <out>

but libfkd_aac isn't available and bitrate limiting audio with another encoder (aac) doesn't seem to work, essentially rendering qsv unfeasible if you don't just pass through audio.

PS: Adding "--enable-libfdk_aac" to this PKDBUILD solved my issues.

dbermond commented on 2019-07-16 21:18 (UTC) (edited on 2019-07-16 21:18 (UTC) by dbermond)

@Schlaefer This is not the purpose of the package.

For this type of functionality (support for qsv + fdk_aac codecs), you should use another package like ffmpeg-full-git.

Schlaefer commented on 2019-07-16 09:30 (UTC)

It would be nice if the build would include libfdk-aac.

saymonz commented on 2019-07-08 20:35 (UTC)

Commented on wrong package, sorry for the noise...

dbermond commented on 2019-07-08 17:01 (UTC)

@saymonz Package is building fine.

saymonz commented on 2019-07-08 12:15 (UTC)

Don't build with repo ffmpeg atm, OK with ffmpeg-git.

dbermond commented on 2019-02-06 01:50 (UTC)

@danboid I'm not sure about what you are referring as the 'foss qsv driver'. intel-media-sdk and intel-media-driver are already open source.

Regarding ffmpeg commands, this will work nice to encode something to h264 using qsv:

$ ffmpeg -i <input> -codec:a copy -codec:v h264_qsv -preset:v medium -rdo 1 -qscale:v 5 -look_ahead 0 -pix_fmt nv12 <output>

There are many ffmpeg options that you can use and tweak. Please refer to some specific forum for help on using ffmpeg command line.

danboid commented on 2019-02-04 18:47 (UTC)

Hi dbermond

Thanks for maintaining this PKGBUILD!

Have you considered creating a ffmpeg qsv PKGBUILD that doesn't use intel-media-sdk? Or, how would I modify this PKGBUILD to build ffmpeg using the FOSS qsv driver? I ask because I have read that the FOSS version of the qsv encoder is more forgiving regarding the input files than when using the official intel media libraries.

I'd also be interested to see any example ffmpeg commands for transcoding from one variety of 4K h264 to a qsv encoded 4K h264 file. I'm hoping that in doing so I can save some disk space. Ideally with both the decoding and encoding being qsv accelerated.

A working example of transcoding from 4K h264 to 1080 h264 using qsv would be great too, if you have one, as I think a lot of people would want to do that too.

dbermond commented on 2018-12-04 14:15 (UTC)

@derdigge AUR helpers are not supported. Please use makepkg.