Am 05.05.2018 um 02:00 schrieb Carl Eugen Hoyos:
2018-05-04 10:32 GMT+02:00, Timo Rothenpieler <t...@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.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel