[FFmpeg-devel] [RFC] Dealing with flipped videos

Jason Garrett-Glaser darkshikari
Fri Jun 12 19:27:58 CEST 2009


Searching through the Facebook logs of failed videos with ffmpeg, I
found a video clearly recorded on some type of mobile device that's
stored as "DIB"; rawvideo.  Attached patch adds support (turns out its
RGB565).  However, there's one problem: as the video is in Microsoft
bitmap format, it's flipped.  Virtualdub, however, decodes it
correctly.  Sample is in incoming as facebook_dib_flipped.avi.

So the question is--what is the best way to deal with videos that are
coded upside down?

Dark Shikari
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dib.diff
Type: application/octet-stream
Size: 1073 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090612/274c6ce5/attachment.obj>



More information about the ffmpeg-devel mailing list