[FFmpeg-devel] [PATCH v4]avocdec/nvenc: Reconfigure bitrate on the fly

Timo Rothenpieler 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:
> https://trac.ffmpeg.org/raw-attachment/ticket/1507/Wrong_aspect_after_resolution_change.rmvb

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 
reconfigure function.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180505/d7f186f8/attachment.bin>


More information about the ffmpeg-devel mailing list