[FFmpeg-devel] [PATCH] Fix Raw rgb/bgr Vertical Flip in AviSynth
Mon Aug 24 08:39:50 CEST 2009
On Sat, 21 Feb 2009 15:32:56 +0000 (15:32 +0000) a patch was committed:
"Fix raw rgb/bgr vertical flip in avi based on info from
fourcc.org/fccbihgt.php. partially fixes issue862." This has broken RGB
input from Avisynth files, as they are now decoded upside down. Taking
some code from libavformat/avidec.c and applying it to
libavformat/avisynth.c seems to fix the issue.
The problem can be demonstrated with the following (it will produce an
avi with the video flipped vertically):
ffmpeg -i bars.avs -vcodec rawvideo -pix_fmt bgr24 bars_bgr24.avi
bars.avs is a script with:
A patch for libavformat/avisynth.c is attached.
Issue862 can be viewed here:
The original commit for issue862 can be viewed here:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel