>> 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. Greets, Kiste