[FFmpeg-devel] [PATCH v4]avocdec/nvenc: Reconfigure bitrate on the fly
timo at rothenpieler.org
Sat May 5 14:41:33 EEST 2018
Am 05.05.2018 um 02:00 schrieb Carl Eugen Hoyos:
> 2018-05-04 10:32 GMT+02:00, Timo Rothenpieler <timo at rothenpieler.org>:
>> I'm not sure if actual resolution changes are even supported
>> by avcodec.
> There are better (read: DVB) samples but I can't find them atm:
I was under the impression that the ones in DVB/mpegts work by ending
one stream, and starting another one? So essentially spinning up an
entire new de/encoder, and not by just changing the width/height in the
AVCodecContext mid stream, hoping the encoder does something reasonable?
At least libx264.c does not check for width/height changes in its
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
More information about the ffmpeg-devel