[FFmpeg-trac] #1225(undetermined:new): Remuxing MPEG-4 ASP into MPEG-TS

FFmpeg trac at avcodec.org
Tue Apr 17 11:37:02 CEST 2012


#1225: Remuxing MPEG-4 ASP into MPEG-TS
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:  git-       |  undetermined
  master                             |               Keywords:  asp mpegts
             Blocked By:             |               Blocking:
Reproduced by developer:  1          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 (issue 2459)
 Remuxing MPEG-4 ASP into MPEG-TS is possible, but the resulting file is
 unplayable.
 {{{
 $ make fate-vsynth1-mpeg4
 ...
 $ ./ffmpeg -i tests/data/vsynth1/odivx.mp4 -vcodec copy out.ts
 ffmpeg version N-39902-g788a60d Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Apr 17 2012 11:27:30 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --extra-ldflags=-lm --enable-libmp3lame
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 70.100 /  2. 70.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tests/data/vsynth1/odivx.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
   Duration: 00:00:02.00, start: 0.000000, bitrate: 2159 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2156 kb/s, 25 fps, 25 tbr, 25 tbn, 25
 tbc
     Metadata:
       handler_name    : VideoHandler
 [mpegts @ 0x8eefae0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'out.ts':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.3.100
     Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 352x288
 [SAR 1:1 DAR 11:9], q=2-31, 2156 kb/s, 25 fps, 90k tbn, 25 tbc
     Metadata:
       handler_name    : VideoHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 frame=   50 fps=0.0 q=-1.0 Lsize=     574kB time=00:00:02.00
 bitrate=2351.5kbits/s
 video:526kB audio:0kB global headers:0kB muxing overhead 9.061024%
 $ ./ffmpeg -i out.ts
 ffmpeg version N-39902-g788a60d Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Apr 17 2012 11:27:30 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --extra-ldflags=-lm --enable-libmp3lame
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 70.100 /  2. 70.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc    52.  0.100 / 52.  0.100
 [mpeg4 @ 0x8eec1e0] hmm, seems the headers are not complete, trying to
 guess time_increment_bits
 [mpeg4 @ 0x8eec1e0] my guess is 5 bits ;)
 [mpeg4 @ 0x8eec1e0] hmm, seems the headers are not complete, trying to
 guess time_increment_bits
 [mpeg4 @ 0x8eec1e0] my guess is 5 bits ;)
 [mpeg4 @ 0x8eec1e0] looks like this file was encoded with
 (divx4/(old)xvid/opendivx) -> forcing low_delay flag
 [mpeg4 @ 0x8eec1e0] [IMGUTILS @ 0xbfcd6fa8] Picture size 0x0 is invalid
 [mpeg4 @ 0x8eec1e0] get_buffer() failed (-1 0 (nil))
 [mpeg4 @ 0x8eec1e0] [IMGUTILS @ 0xbfcd6fa8] Picture size 0x0 is invalid
 [mpeg4 @ 0x8eec1e0] get_buffer() failed (-1 0 (nil))

 ...

 [mpeg4 @ 0x8eec1e0] [IMGUTILS @ 0xbfcd6fa8] Picture size 0x0 is invalid
 [mpeg4 @ 0x8eec1e0] get_buffer() failed (-1 0 (nil))
 [mpeg4 @ 0x8eec1e0] [IMGUTILS @ 0xbfcd6fa8] Picture size 0x0 is invalid
 [mpeg4 @ 0x8eec1e0] get_buffer() failed (-1 0 (nil))
 [mpegts @ 0x8ee8380] decoding for stream 0 failed
 [mpegts @ 0x8ee8380] Could not find codec parameters (Video: mpeg4
 ([16][0][0][0] / 0x0010), yuv420p)
 out.ts: could not find codec parameters
 }}}

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


More information about the FFmpeg-trac mailing list