[FFmpeg-trac] #903(undetermined:open): Rainbow artifacts and errors on certain Gamecube THP files

FFmpeg trac at avcodec.org
Tue Jan 10 11:17:39 CET 2012


#903: Rainbow artifacts and errors on certain Gamecube THP files
-------------------------------------+-------------------------------------
             Reporter:  11rcombs     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  THP          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 out.avi shows artefacts.
 {{{
 $ ffmpeg -i s05_cut.thp -an -qscale 2 -vcodec mpeg2video out.avi
 ffmpeg version N-36659-g2169f97 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jan 10 2012 11:14:36 with gcc 4.5.3
   configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
   libavutil      51. 34.100 / 51. 34.100
   libavcodec     53. 54.100 / 53. 54.100
   libavformat    53. 29.100 / 53. 29.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 58.100 /  2. 58.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  6.100 /  0.  6.100
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x8dd8ca8)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cb)
 Truncating packet of size 1312 to 1289
 [thp @ 0x8dd1aa0] Estimating duration from bitrate, this may be inaccurate
 Input #0, thp, from 's05_cut.thp':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: thp, yuvj420p, 640x480, 29.97 fps, 29.97 tbr,
 29.97 tbn, 29.97 tbc
     Stream #0:1: Audio: adpcm_thp, 32000 Hz, 2 channels, s16
 Incompatible pixel format 'yuvj420p' for codec 'mpeg2video', auto-
 selecting format 'yuv420p'
 [buffer @ 0x8dd87c0] w:640 h:480 pixfmt:yuvj420p tb:1/1000000 sar:0/1
 sws_param:
 [buffersink @ 0x8dd7c20] auto-inserting filter 'auto-inserted scale 0'
 between the filter 'src' and the filter 'out'
 [scale @ 0x8de7d40] w:640 h:480 fmt:yuvj420p -> w:640 h:480 fmt:yuv420p
 flags:0x4
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf53.29.100
     Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 640x480,
 q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (thp -> mpeg2video)
 Press [q] to stop, [?] for help
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cb)
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cb)
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cb)
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=7 x=1
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=3 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 38960x36638 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=5 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cf)
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c9)
 [thp @ 0x8dd7d80] only 8 bits/component accepted
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=9 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=10 x=6
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 6103x60528 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=8 x=0
 [thp @ 0x8dd7d80] only 8 bits/component accepted
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] error count: 64
 [thp @ 0x8dd7d80] error y=7 x=2
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c7)
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=3 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (ca)
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 19513x14110 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=8 x=0
 [thp @ 0x8dd7d80] invalid id 125
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=11 x=2
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cf)
     Last message repeated 1 times
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=10 x=0
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=12 x=3
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=9 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c6)
 [thp @ 0x8dd7d80] only 8 bits/component accepted
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=6 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c6)
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 60239x18387 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=10 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=10 x=1
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=9 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=2 x=0
 [thp @ 0x8dd7d80] dqt: 16bit precision
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c6)
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 43350x34248 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (ca)
     Last message repeated 1 times
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=3 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=5 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=8 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 53888x18762 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] error count: 64
 [thp @ 0x8dd7d80] error y=4 x=1
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=15 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 35976x45291 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=11 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 7257x49408 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=2 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=11
 [thp @ 0x8dd7d80] only 8 bits/component accepted
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cd)
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cf)
 [thp @ 0x8dd7d80] decode_sos: nb_components (148) unsupported
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=8 x=1
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=8 x=1
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=3 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=5 x=0
 [thp @ 0x8dd7d80] [IMGUTILS @ 0xffc471f4] Picture size 64154x19773 is
 invalid
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=6 x=0
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=14 x=1
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=15 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=16 x=39
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=7 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c8)
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=12 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (c6)
 [thp @ 0x8dd7d80] invalid id 226
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=18 x=3
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=9 x=0
 [thp @ 0x8dd7d80] mjpeg: unsupported coding type (cb)
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 [thp @ 0x8dd7d80] only 8 bits/component accepted
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=3 x=0
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=1 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=5 x=0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=16 x=2
 [thp @ 0x8dd7d80] huffman table decode error
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=5 x=9
 [thp @ 0x8dd7d80] only 8 bits/component accepted
 Error while decoding stream #0:0
 [thp @ 0x8dd7d80] mjpeg_decode_dc: bad vlc: 0:0 (0x9120288)
 [thp @ 0x8dd7d80] error dc
 [thp @ 0x8dd7d80] error y=4 x=0
 Truncating packet of size 1312 to 1
 frame=   30 fps=  0 q=2.0 Lsize=     152kB time=00:00:01.80 bitrate=
 688.9kbits/s
 video:145kB audio:0kB global headers:0kB muxing overhead 4.715752%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/903#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list