[FFmpeg-trac] #2202(undetermined:new): -vcodec huffyuv and a .mov container produces colorful static

FFmpeg trac at avcodec.org
Sun Jan 27 18:26:11 CET 2013


#2202: -vcodec huffyuv and a .mov container produces colorful static
-------------------------------------+-------------------------------------
             Reporter:  ulatekh      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 You can use the clip attached to ticket #2190, i.e.
 https://ffmpeg.org/trac/ffmpeg/attachment/ticket/2190/ticket2190-clip.tar.bz2
 -- though I think it'll probably happen with any input.

 Here's the command I ran, with a version of git-master ffmpeg built just a
 few minutes ago.
 {{{
 % ffmpeg111 -i clip.yuv -vcodec huffyuv clip.mov
 ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
   built on Jan 27 2013 10:12:30 with gcc 4.7.2 (GCC) 20120921 (Red Hat
 4.7.2-2)
   configuration: --prefix=/usr --bindir=/usr/bin
 --datadir=/usr/share/ffmpeg111 --incdir=/usr/include/ffmpeg111
 --libdir=/usr/lib --mandir=/usr/share/man --arch=athlon --extra-
 cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
 protector --param=ssp-buffer-size=4 -m32 -march=athlon -fasynchronous-
 unwind-tables' --enable-bzlib --disable-crystalhd --enable-gnutls
 --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394
 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-
 libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse
 --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
 libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-
 postproc --enable-pthreads --disable-static --enable-shared --enable-gpl
 --disable-debug --disable-stripping --shlibdir=/usr/lib --progs-suffix=111
 --build-suffix=111 --cpu=athlon --enable-runtime-cpudetect
   libavutil      52. 17.100 / 52. 17.100
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 34.101 /  3. 34.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [yuv4mpegpipe @ 0x8d6f560] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, yuv4mpegpipe, from 'clip.yuv':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: rawvideo (Y41B / 0x42313459), yuv411p, 720x480,
 SAR 10:11 DAR 15:11, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
 File 'clip.mov' already exists. Overwrite ? [y/N] y
 using huffyuv 2.2.0 or newer interlacing flag
 [mov @ 0x8d77130] Using MS style video codec tag, the file may be
 unplayable!
 Output #0, mov, to 'clip.mov':
   Metadata:
     encoder         : Lavf54.61.104
     Stream #0:0: Video: huffyuv, yuv422p, 720x480 [SAR 10:11 DAR 15:11],
 q=2-31, 200 kb/s, 30k tbn, 29.97 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> huffyuv)
 Press [q] to stop, [?] for help
 frame=    3 fps=0.0 q=0.0 Lsize=     953kB time=00:00:00.10
 bitrate=78001.8kbits/s
 video:952kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 0.076493%

 }}}
 The result is brightly colored static.
 There's warning in there -- "Using MS style video codec tag, the file may
 be unplayable!" -- but I get that with other clips I encode, and don't
 have any issues with them.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2202>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list