jrottenberg/ffmpeg

Unknown encoder 'h264_qsv' when using -vcodec h264_qsv

TonyHenrique opened this issue · 3 comments

I have a working application that uses ffmpeg with the H264 QSV encoder, to enable a faster render of the files on my Intel computer.

I am trying to run it with jrottenberg/ffmpeg docker image:

docker run --volume=C:\myfiles:/myfiles -w /myfiles jrottenberg/ffmpeg:4.4-scratch -i video_mute.mp4 -i final_audio.aac -vf "subtitles=portugues.srt:force_style='FontName=sans-serif,FontSize=22,BorderStyle=4,PrimaryColour=&H00FFFFFF,OutlineColour=&H00000000,BackColour=&H80000000,Outline=1,Shadow=1':charenc=UTF-8" -vcodec h264_qsv -crf 14 -preset veryslow -tune film -movflags +faststart dub_portugues.mp4

but it gives this error:

Unknown encoder 'h264_qsv' when using -vcodec h264_qsv

Can you release a image that contains the Intel QuickSync, like the h264_qsv codec, on the ffmpeg build?

References:
Intel Quick Sync Video
The family of Intel QuickSync Video decoders (VC1, MPEG-2, H.264, HEVC, JPEG/MJPEG, VP8, VP9, AV1)

Have you tried using an updated FFmpeg version ?
Try running it with jrottenberg/ffmpeg:5.1.2-scratch313 or jrottenberg/ffmpeg:6.0-scratch

It won't change anything, MB. It's late at night for me, so just ignore the comment :D