Hardware Encoding in a Container
summary
Running FFmpeg in Docker can leverage hardware encoders but requires exact kernel module and user‑space driver matching and device nodes on the host, otherwise it fails. Benchmarks show software x264 is higher quality but GPUs (K520, K80, GTX 1070) deliver massive speedups and especially shine at many simultaneous outputs; consumer cards limit concurrent encodes. Use NVIDIA NVENC with nvidia-docker to avoid bundling user drivers, and test Intel QuickSync availability per cloud provider.
AI-written summary · about
chapters (13)
- 0:00Intro
- 3:01Components CPU
- 3:56Implementations
- 4:29We really want a hybrid approach
- 7:39Container == Process
- 10:01Building the container
- 10:36Preparing the host
- 11:46Helpful Driver Tips
- 13:29The Old Fashioned Way
- 16:30Some Results
- 18:431:N Encoding
- 19:361:5 Encoding results
- 21:51The Future
related talks
24mLive Video Transmuxing/Transcoding
19mMedia innovation in minutes
30mTaking Ruby to the Movies
09mWhy I ditched cloud transcoding and set up a mac mini render farm
43mConference Recording and Streaming
59mBeyond Docker Buzzwords
25mDevcontainers for AI/ML Workflow Optimization
24mDocker for Machine Learning!
