New submission from qyot27 <[email protected]>:

The attached file contains 40 black frames followed by 40 white frames, encoded
with Lagarith.  When I attempt to convert the file, all frames turn green.

ffmpeg -i lagarith_solidcolor_40framesblack_40frameswhite.avi -vcodec
ffvhuff output.avi
FFmpeg version SVN-r26292, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 10 2011 07:17:21 with gcc 4.4.4
  configuration: --prefix=/home/qyot27/win32_build
--cross-prefix=i586-mingw32msvc- --enable-gpl --enable-version3
--enable-postproc --enable-memalign-hack --enable-libxvid
--disable-encoder=mpeg4 --enable-avisynth
--extra-cflags='-I/home/qyot27/win32_build/include -march=pentium3
-U__STRICT_ANSI__' --extra-ldflags=-L/home/qyot27/win32_build/lib
--target-os=mingw32 --arch=x86
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, avi, from 'lagarith_solidcolor_40framesblack_40frameswhite.avi':
  Duration: 00:00:03.33, start: 0.000000, bitrate: 27 kb/s
    Stream #0.0: Video: lagarith, yuv420p, 640x480, 24 tbr, 24 tbn, 24 tbc
[buffer @ 0x15bfdf0] w:640 h:480 pixfmt:yuv420p
Output #0, avi, to 'output.avi':
  Metadata:
    ISFT            : Lavf52.92.0
    Stream #0.0: Video: ffvhuff, yuv420p, 640x480, q=2-31, 200 kb/s, 24 tbn, 24
tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   80 fps= 31 q=0.0 Lsize=   13508kB time=3.33 bitrate=33196.8kbits/s
video:13500kB audio:0kB global headers:0kB muxing overhead 0.054975%

----------
files: lagarith_solidcolor_40framesblack_40frameswhite.avi
messages: 13357
priority: normal
status: new
substatus: new
title: Lagarith solid color decoding produces green frames
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2531>
________________________________________________

Attachment: lagarith_solidcolor_40framesblack_40frameswhite.avi
Description: MS Video

Reply via email to