[FFmpeg-devel] [RFC] Flipped videos

Jason Garrett-Glaser darkshikari
Fri Jun 12 19:38:46 CEST 2009

On Fri, Jun 12, 2009 at 10:19 AM, Jason
Garrett-Glaser<darkshikari at gmail.com> wrote:
> I came across an ffmpeg failure from Facebook's logs where a mobile
> device of some sort recorded "DIB" video (raw video). ?Virtualdub
> decodes it correctly with its internal decoder; quick analysis showed
> it was RGB565 rawvideo... and flipped. ?Attached patch adds decoding
> support... but it's flipped, since it's in Microsoft bitmap format .
> We need some sort of method to flip videos which are coded
> upside-down. ?Thoughts on the best way to do this?
> File is in incoming as facebook_dib_flipped.avi.
> Dark Shikari

Oh, the joys of keyboard shortcuts in Gmail.  I thought I accidentally
deleted the email, but instead I sent it.

Turns out there's already a flip flag in rawdec, so at least in this
case things should be fine.

Dark Shikari

More information about the ffmpeg-devel mailing list