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

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

I just got a report that
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?


More information about the ffmpeg-devel mailing list