[FFmpeg-trac] #2092(undetermined:new): Remuxing odd width rawvideo in mov produces unplayable files

FFmpeg trac at avcodec.org
Tue Jan 1 16:37:36 CET 2013


#2092: Remuxing odd width rawvideo in mov produces unplayable files
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:  git-       |  undetermined
  master                             |               Keywords:  mov
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 With the sample from ticket #339:
 {{{
 $ ffmpeg -i YV12.mov -vcodec copy out.mov
 ffmpeg version N-48375-gc14f8a5 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan  1 2013 16:29:16 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 85.100 / 54. 85.100
   libavformat    54. 58.102 / 54. 58.102
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 30.102 /  3. 30.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'YV12.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2011-05-12 00:39:04
   Duration: 00:00:01.87, start: 0.000000, bitrate: 4370 kb/s
     Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p,
 190x126, 4366 kb/s, SAR 12033:12065 DAR 191:127, 15 fps, 15 tbr, 15 tbn,
 15 tbc
     Metadata:
       creation_time   : 2011-05-12 00:39:04
       handler_name    : Procedura obs�ugi skr�t�w danych Apple
 Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf54.58.102
     Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), yuv420p,
 190x126 [SAR 12033:12065 DAR 191:127], q=2-31, 4366 kb/s, 15 fps, 15360
 tbn, 15 tbc
     Metadata:
       creation_time   : 2011-05-12 00:39:04
       handler_name    : Procedura obs�ugi skr�t�w danych Apple
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 frame=   28 fps=0.0 q=-1.0 Lsize=     996kB time=00:00:01.86
 bitrate=4369.6kbits/s
 video:995kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 0.078525%
 }}}
 {{{
 $ ffmpeg -i out.mov out.avi
 ffmpeg version N-48375-gc14f8a5 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan  1 2013 16:29:16 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 85.100 / 54. 85.100
   libavformat    54. 58.102 / 54. 58.102
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 30.102 /  3. 30.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.58.102
   Duration: 00:00:01.87, start: 0.000000, bitrate: 4368 kb/s
     Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), rgb24, 190x126,
 4366 kb/s, SAR 12033:12065 DAR 191:127, 15 fps, 15 tbr, 15360 tbn, 15360
 tbc
     Metadata:
       handler_name    : DataHandler
 [mpeg4 @ 0x1f02500] Invalid pixel aspect ratio 12033/12065, limit is
 255/255 reducing
 [mpeg4 @ 0x1f02500] too many threads/slices (9), reducing to 8
 Output #0, avi, to 'out.avi':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     ISFT            : Lavf54.58.102
     Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 190x126
 [SAR 254:255 DAR 4826:3213], q=2-31, 200 kb/s, SAR 12033:12065 DAR
 191:127, 15 tbn, 15 tbc
     Metadata:
       handler_name    : DataHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
 Press [q] to stop, [?] for help
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 [rawvideo @ 0x1f08020] Invalid buffer size, packet size 36385 < expected
 length 71820
 Error while decoding stream #0:0: Invalid argument
 frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 }}}

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


More information about the FFmpeg-trac mailing list