[FFmpeg-trac] #3877(undetermined:new): huffyuv enc: broken output

FFmpeg trac at avcodec.org
Wed Aug 20 23:52:46 CEST 2014


#3877: huffyuv enc: broken output
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ami_stuff):

 It's a bug in decoder I think, see attached files.

 http://www.datafilehost.com/d/f4db2f52

 {{{
 C:\>ffmpegx -i anim2.gif -vcodec huffyuv out.avi
 ffmpeg version N-65738-g3c197442 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Aug 19 2014 02:46:13 with gcc 4.5.0 (GCC) 20100414 (Fedora
 MinGW 4.5.
 0-1.fc14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-
 cpudetect --
 enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -lw
 inmm -lpthread' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapsh
 ots/build/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/sna
 pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-
 version3 --
 enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
 --enable-li
 bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb
 --enable-li
 bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx
 --disab
 le-decoder=libvpx
   libavutil      54.  5.100 / 54.  5.100
   libavcodec     56.  0.101 / 56.  0.101
   libavformat    56.  1.100 / 56.  1.100
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  0.100 /  5.  0.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  0.100 / 53.  0.100
 Input #0, gif, from 'anim2.gif':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: gif, bgra, 498x331, 6 fps, 10 tbr, 100 tbn, 100
 tbc
 [huffyuv @ 0x23e1920] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x2303b40] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x3c51b20] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x3c82aa0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x3cb3ac0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x3ce4aa0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x3d15ac0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x3d46840] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 0x2427980] using huffyuv 2.2.0 or newer interlacing flag
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf56.1.100
     Stream #0:0: Video: huffyuv (HFYU / 0x55594648), bgra, 498x331,
 q=2-31, 200
 kb/s, 10 fps, 10 tbn, 10 tbc
     Metadata:
       encoder         : Lavc56.0.101 huffyuv
 Stream mapping:
   Stream #0:0 -> #0:0 (gif (native) -> huffyuv (native))
 Press [q] to stop, [?] for help
 frame=    8 fps=0.0 q=0.0 Lsize=    2470kB time=00:00:01.20
 bitrate=16864.0kbits
 /s
 video:2464kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing
 overhead: 0.240774%
 }}}

 {{{
 C:\>ffmpegx -i out.avi out2.avi
 ffmpeg version N-65738-g3c197442 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Aug 19 2014 02:46:13 with gcc 4.5.0 (GCC) 20100414 (Fedora
 MinGW 4.5.
 0-1.fc14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-
 cpudetect --
 enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -lw
 inmm -lpthread' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapsh
 ots/build/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/sna
 pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-
 version3 --
 enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
 --enable-li
 bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb
 --enable-li
 bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx
 --disab
 le-decoder=libvpx
   libavutil      54.  5.100 / 54.  5.100
   libavcodec     56.  0.101 / 56.  0.101
   libavformat    56.  1.100 / 56.  1.100
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  0.100 /  5.  0.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  0.100 / 53.  0.100
 Input #0, avi, from 'out.avi':
   Metadata:
     encoder         : Lavf56.1.100
   Duration: 00:00:01.20, start: 0.000000, bitrate: 16864 kb/s
     Stream #0:0: Video: huffyuv (HFYU / 0x55594648), bgra, 498x331, 10
 fps, 10 t
 br, 10 tbn, 10 tbc
 Output #0, avi, to 'out2.avi':
   Metadata:
     ISFT            : Lavf56.1.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 498x331,
 q=2-31, 200
  kb/s, 10 fps, 10 tbn, 10 tbc
     Metadata:
       encoder         : Lavc56.0.101 mpeg4
 Stream mapping:
   Stream #0:0 -> #0:0 (huffyuv (native) -> mpeg4 (native))
 Press [q] to stop, [?] for help
 frame=    8 fps=0.0 q=12.8 Lsize=     675kB time=00:00:01.20
 bitrate=4611.0kbits
 /s
 video:670kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing o
 verhead: 0.871262%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3877#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list