[FFmpeg-devel] [PATCH]lavc/mjpegdec: Read polarity field fromAVI1 chunk

Piotr Bandurski ami_stuff at o2.pl
Tue May 10 00:51:32 CEST 2016

> > On Mon, May 09, 2016 at 02:44:23PM +0200, Carl Eugen Hoyos wrote:
> > Hi!
> > 
> > Attached aptch fixes ticket #5523 for me, I only tested the files
> > attached there.
> breaks:
> https://trac.ffmpeg.org/raw-attachment/ticket/362/test.avi

I installed Morgan MJPEG codec here and by default "test.avi" file decodes with inverted fileld order - to decode this file correctly
one must enable "invert field order" option under "Decompression" and after that "test.avi" file decodes correctly, so it  looks like
this codec does not check automaticly if fields are in the correct order or not.

Here are two Morgan samples - one encoded with default options and one with enabled "invert field order" option:


More information about the ffmpeg-devel mailing list