Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown encoder 'h264_qsv' when using -vcodec h264_qsv #374

Open
TonyHenrique opened this issue Apr 16, 2023 · 3 comments
Open

Unknown encoder 'h264_qsv' when using -vcodec h264_qsv #374

TonyHenrique opened this issue Apr 16, 2023 · 3 comments

Comments

@TonyHenrique
Copy link

TonyHenrique commented Apr 16, 2023

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)

@Commandcracker
Copy link

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

@Commandcracker
Copy link

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

@Commandcracker
Copy link

AkashiSN/ffmpeg-docker has support for Intel Quick Sync Video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants