[FFmpeg-devel] Change bitrate on-the-fly PoC (Patch)
dallorx at gmail.com
Sat Aug 6 16:00:59 EEST 2016
Some days ago I started a thread here:
Starting a new thread now because I lost my main thread mail and don't know
how to "reply" without having it in my inbox :-(
ffmpeg has almost on-the-fly bitrate change control already built-in,
checking rc_buffer_size and rc_max_rate changes, so I only needed to change
those values while ffmpeg was running.
I attach my Proof of Concept.
- Not configurable via command line.
- The build will start listening on localhost (127.0.0.1) UDP port 32000
- Does not sanitize input.
- Only work with x264 and such.
- Only works 100% if you run ffmpeg with explicit -b:v and -maxrate
This code is undocummented, with tabs and such, so do not follow ffmpeg
coding rules. Just posting this to see if someone finally likes it. If
someone likes this, I'll continue developing this small patch listening to
the community suggestions.
Looking forward to return a bit to this great software that saved my ass
uncountable times xD
PD: Attaching link just in case Gmail attachment gets discarded:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3276 bytes
Desc: not available
More information about the ffmpeg-devel