jrottenberg / ffmpeg

Docker build for FFmpeg on Ubuntu / Alpine / Centos / Scratch / nvidia / vaapi
https://hub.docker.com/r/jrottenberg/ffmpeg/
Apache License 2.0
1.37k stars 450 forks source link

Question: Is there / can there be a build for linux with video toolbox included? #368

Closed Junto026 closed 1 year ago

Junto026 commented 1 year ago

I am using docker for my conversions on a MacOS host, hoping to leverage hardware acceleration.

ttyS0 commented 1 year ago

Docker on macOS is running in a Linux VM, and macOS hardware like media encoder engines doesn't get passed through. Your best bet is to use ffmpeg natively on macOS to use video toolbox.

Junto026 commented 1 year ago

Makes sense why I could find it in the ffmpeg builds for MacOS but none of the builds for Linux had it. I was hoping there'd still be a way to pass through to the linux VM to do it. Thanks for the answer!