[FFmpeg-devel] [PATCH] nvenc: support dynamic aspect ratio change

Miroslav Slugeň thunder.m at email.cz
Sun Feb 12 21:40:08 EET 2017


Dne 12.2.2017 v 20:27 Timo Rothenpieler napsal(a):
> On 2/12/2017 7:53 PM, Miroslav Slugeň wrote:
>> If there is input like DVB-T streams it can change aspect ratio
>> on-the-fly, so nvenc should respect this change and change aspect ratio
>> in encoder.
> Haven't tested yet, but seems like a good idea. Are there other
> parameters that would make sense to support reconfiguration for?
> Can think of stuff like bitrate and the like, but there is no proper
> interface to support changing them at runtime.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
In realtime only aspect ratio was most common, but inputs can change 
resolution and frame_rate, both could be also dynamicaly changed in encoder.

For example for resolution there is n MaxWidth & MaxHeight which could 
differ from actual encoding width and height, but i think this is not 
supported in current ffmpeg.

M.


More information about the ffmpeg-devel mailing list