On Thu, Nov 19, 2009 at 02:29:34PM +0100, Oliver Seitz wrote: > > >> Orientation is right, neither flipped nor mirrored. But for every frame > >> there is the message > >> > >> [mjpeg @ 0x87b2140]Can not flip image with CODEC_FLAG_EMU_EDGE set! > >> > >> displayed. > > > > That then means that FFmpeg incorrectly thinks the JPEG should be > > flipped. > > Do you have some information for us on how that file was created? > > Because the other samples we have that were created by Intel JPEG > > are flipped... > > Not much. The file was recorded using a demo program by a manufacturer of > industrial cameras (www.ids-imaging.de) under Windows (linux drivers are > to be realeased soon). > > The source of the program itsself should be available, but not the source > of the driver, which has functions implemented to write JPEGs. > > If the file is just to be called buggy, for me there's no need to fix > every issue with it, but I didn't want to miss sharing the file. I don't think so, I suspect that the check is wrong. I think FFmpeg currently checks if the JPEG was encoded by the Intel JPEG library, when it should actually check if it was encoded by the Intel VFW JPEG encoder.