[FFmpeg-trac] #5105(undetermined:new): colorspace change

FFmpeg trac at avcodec.org
Wed Dec 23 23:54:00 CET 2015


#5105: colorspace change
-------------------------------------+-------------------------------------
             Reporter:  doublemax    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 `mplayer`/`ffplay` plays the down below video - but I can `ffmpeg` the
 video to a valid video.

 How to reproduce:
 Transcoding to anything (wmv/h264/...) produces a corrupt result.

 {{{
 wget http://doppelbauer.name/3LaSaletteLeSecret.mp4
 /usr/local/bin/ffmpeg -i 3LaSaletteLeSecret.mp4 -r 0.1 -c:v mjpeg
 /tmp/images/%d.jpg
 }}}

 The first error is not an issue. The problem is the second one - which
 permantly repeats and produces corrupt pictures.
 Full output has about ~30 MB, so it is cuted.
 Maybe the problem is a color change in the middle of the video.

 {{{
 ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/usr/local --enable-gpl --enable-version3
 --enable-nonfree --enable-bzlib --enable-zlib --enable-openssl --enable-
 libx264 --enable-libfdk-aac --enable-libmp3lame --enable-libvpx --enable-
 libopus
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3497440] stream 0, timescale not set
 [mjpeg @ 0x349d620] ignoring invalid SAR: 64/45
 [mjpeg @ 0x349d620] Changeing bps to 8
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'queue-nu3yMP8yxFK-1.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     track           : 1
     comment         : www.dvdvideosoft.com
     date            : 2014
     encoder         : Lavf54.59.107
   Duration: 01:16:12.08, start: 0.023022, bitrate: 1696 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 800x600 [SAR 4:3 DAR 16:9], 1500 kb/s, 24 fps, 24 tbr, 12288 tbn,
 24 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16p, 192 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
     Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
 720x576, 90k tbr, 90k tbn, 90k tbc
 [swscaler @ 0x34c5b80] deprecated pixel format used, make sure you did set
 range correctly
 Output #0, image2, to '/tmp/images/%d.jpg':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     track           : 1
     comment         : www.dvdvideosoft.com
     date            : 2014
     encoder         : Lavf56.40.101
     Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 800x600 [SAR 4:3 DAR
 16:9], q=2-31, 200 kb/s, 0.10 fps, 0.10 tbn, 0.10 tbc (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc56.60.100 mjpeg
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 (native) -> mjpeg (native))
 Press [q] to stop, [?] for help
 [mpeg4 @ 0x3517640] Error at MB: 833ime=00:02:50.00 bitrate=N/A dup=0
 drop=3620
 [mpeg4 @ 0x3517640] marker does not match f_code
     Last message repeated 7 times
 [mpeg4 @ 0x3517640] I cbpc damaged at 19 15
 [mpeg4 @ 0x3517640] Error at MB: 784
 [mpeg4 @ 0x3517640] marker does not match f_code
     Last message repeated 1 times
 [mpeg4 @ 0x3517640] I cbpc damaged at 37 30
 [mpeg4 @ 0x3517640] Error at MB: 1567
 Marker bit missing at 266309 of 372200 before time_increment in video
 packed header
 Marker bit missing at 266315 of 372200 before vop_coding_type in video
 packed header
 [mpeg4 @ 0x3517640] I cbpy damaged at 42 35
 [mpeg4 @ 0x3517640] Error at MB: 1827
 [mpeg4 @ 0x3517640] marker does not match f_code
     Last message repeated 10 times
 [mpeg4 @ 0x3517640] illegal mb_num in video packet (2019 1900)
 [mpeg4 @ 0x3517640] marker does not match f_code
 Marker bit missing at 333128 of 372200 before time_increment in video
 packed header
 Marker bit missing at 333134 of 372200 before vop_coding_type in video
 packed header
 [mpeg4 @ 0x3517640] 1. marker bit missing in 3. esc
 [mpeg4 @ 0x3517640] Error at MB: 89
 [mpeg4 @ 0x3517640] marker does not match f_code
     Last message repeated 12 times
 Marker bit missing at 360667 of 372200 before time_increment in video
 packed header
 [mpeg4 @ 0x3517640] ac-tex damaged at 24 27
 [mpeg4 @ 0x3517640] Error at MB: 1401
 [mpeg4 @ 0x3517640] concealing 1900 DC, 1900 AC, 1900 MV errors in I frame
 [mpeg4 @ 0x351a860] header damaged
 [mpeg4 @ 0x351da60] header damaged
 [mpeg4 @ 0x3520d80] header damaged
 Error while decoding stream #0:0: Operation not permitted
     Last message repeated 2 times
 [mpeg4 @ 0x3520d80] illegal chroma format0:22:00.00 bitrate=N/A dup=0
 drop=31052
 [mpeg4 @ 0x3520d80] only rectangular vol supported
 Marker bit missing at 5044 of 20120 before time_increment_resolution
 [mpeg4 @ 0x3520d80] 18 sprite_warping_points
 [mpeg4 @ 0x3520d80] header damaged
 [mpeg4 @ 0x3516ea0] header damaged
 [mpeg4 @ 0x3517640] header damaged
 [mpeg4 @ 0x351a860] header damaged
 Error while decoding stream #0:0: Invalid data found when processing input
 [mpeg4 @ 0x351da60] header damaged
 Error while decoding stream #0:0: Operation not permitted
 [mpeg4 @ 0x3520d80] only rectangular vol supported
 Marker bit missing at 26825 of 28280 before fixed_vop_rate
 [mpeg4 @ 0x3520d80] N-bit not supported
 [mpeg4 @ 0x3520d80] quant precision 1
 Marker bit missing at 26865 of 28280 in complexity estimation part 1
 [mpeg4 @ 0x3520d80] reduced resolution VOP not supported
 [mpeg4 @ 0x3520d80] header damaged
 Error while decoding stream #0:0: Operation not permitted
 [mpeg4 @ 0x3516ea0] only rectangular vol supported
 Marker bit missing at 1762 of 554696 before fixed_vop_rate
 Marker bit missing at 9858 of 554696 before fixed_vop_rate
 Marker bit missing at 9873 of 554696 before width
 Marker bit missing at 9901 of 554696 after height
 [mpeg4 @ 0x3516ea0] Static Sprites not supported
 Marker bit missing at 9918 of 554696 after sprite_width
 Marker bit missing at 9932 of 554696 after sprite_height
 Marker bit missing at 9946 of 554696 after sprite_left
 Marker bit missing at 9960 of 554696 after sprite_top
 [mpeg4 @ 0x3516ea0] 57 sprite_warping_points
 [mpeg4 @ 0x3516ea0] Reverting picture dimensions change due to header
 decoding failure
 [mpeg4 @ 0x3516ea0] header damaged
 Error while decoding stream #0:0: Operation not permitted
     Last message repeated 1 times
 [mpeg4 @ 0x3517640] Error at MB: 348
 [mpeg4 @ 0x3517640] marker does not match f_code
     Last message repeated 1 times
 [mpeg4 @ 0x3517640] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
 Error while decoding stream #0:0: Operation not permitted
 Error while decoding stream #0:0: Invalid data found when processing input
 [mpeg4 @ 0x3520d80] marker missing after first P partition at 0 38
 [mpeg4 @ 0x3520d80] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
 [mpeg4 @ 0x349bd20] has_b_frames is larger in decoder than demuxer 1 > 0.
 If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)ac-tex damaged at 43 8
 [mpeg4 @ 0x351a860] Error at MB: 451
 [mpeg4 @ 0x351a860] marker does not match f_code
     Last message repeated 1 times
 [mpeg4 @ 0x351a860] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
 [mpeg4 @ 0x351da60] ac-tex damaged at 37 7
 [mpeg4 @ 0x351da60] Error at MB: 394
 [mpeg4 @ 0x351da60] marker does not match f_code
     Last message repeated 1 times
 [mpeg4 @ 0x351da60] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
 [mpeg4 @ 0x349bd20] has_b_frames is larger in decoder than demuxer 1 > 0.
 If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)has_b_frames is larger in decoder than
 demuxer 1 > 0.
 If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)ac-tex damaged at 13 3
 }}}

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


More information about the FFmpeg-trac mailing list