[SOLVED] 6K Hardware-Native Transcoding Wrapper (3x-7x Speed Boost) #47
Replies: 1 comment 1 reply
-
|
This is seriously impressive work. A 3x–7x speed boost on 6K footage by wrapping the ffmpeg binary itself is a clever end-run around the pluggable transcoder layer — you didn't have to touch a single line of Python, and the benchmark numbers speak for themselves. I spent some time reading through the wrapper and thinking about whether this could land upstream, and honestly I think the best home for it is a fork / overlay you maintain rather than core. A few reasons:
What I'd suggest instead: keep this as a If you ever want to take a bigger swing at upstreaming it, the cleanest path would be a new engine inside Thanks a lot for sharing this and for the detailed writeup. It's exactly the kind of thing Show and tell is for. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Got 6K OpenGate transcoding at 2.1x speed and 4K 10bit H265 footage at 7.5x with ~15% CPU usage on a 1080 Ti.
Created a zero-copy ffmpeg-wrapper that bypasses any kind of software decoding, filtering and encoding and fully utilizes an NVIDIA GPU for which speeds up ingest tasks up to 30x faster over software ingest.
This script is compatible with all NVIDIA GPUs starting from early Pascal (GTX 10xx).
It will create H265 main10 files in 360p, 720p and 1080p with up to 10-15mbps.
Installing the nvidia patch is mandatory to make the 3 split encoding possible:
https://github.com/keylase/nvidia-patch
Also this needs to be in docker-compose.prod.yaml in worker:
Implementation Checklist for Users
Beta Was this translation helpful? Give feedback.
All reactions