[FFmpeg-devel] Encoder width/height checks breaking MPlayer...

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Dec 11 21:05:43 CET 2012


Hello,
I just got a report that
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=419ade4b6193c6eb626cda01b21e7091f42b2cc2
breaks PNG screenshots in MPlayer.
The reason is that at least for image-format encoders there was no
reason to specify the video size on encoder open.
The advantage of this is that it is possible to encode images with
lots of different resolutions without having to open and close
the codec all the time, with all the processing overhead and
memory fragmentation that causes.
Maybe it's time to finally introduce that codec flag that indicates
that an encoder supports resolution changes and require valid
dimensions on open only for those that don't?
Any other ideas/comments?

Reimar


More information about the ffmpeg-devel mailing list