[FFmpeg-trac] #4862(avformat:new): Transport stream not autodetected

FFmpeg trac at avcodec.org
Thu Sep 17 11:35:59 CEST 2015


#4862: Transport stream not autodetected
---------------------------------------+----------------------------------
               Reporter:  cehoyos      |                  Owner:
                   Type:  enhancement  |                 Status:  new
               Priority:  wish         |              Component:  avformat
                Version:  git-master   |               Keywords:  mpegts
             Blocked By:               |               Blocking:
Reproduced by developer:  0            |  Analyzed by developer:  0
---------------------------------------+----------------------------------
 (bug 893)
 A user provided a transport stream recorded with a cx88 grabber, the files
 are only auto-detected if the first 300k are cut away, decoding works fine
 if the format is forced.
 {{{
 $ ffmpeg -probesize 2G -analyzeduration 2G -i foo_cut.m2t
 ffmpeg version N-75392-g695ff5d Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55.  2.100 / 55.  2.100
   libavcodec     57.  2.100 / 57.  2.100
   libavformat    57.  2.100 / 57.  2.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6.  5.100 /  6.  5.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 foo_cut.m2t: Invalid data found when processing input
 }}}
 {{{
 $ ffmpeg -f mpegts -i foo_cut.m2t
 ffmpeg version N-75392-g695ff5d Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55.  2.100 / 55.  2.100
   libavcodec     57.  2.100 / 57.  2.100
   libavformat    57.  2.100 / 57.  2.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6.  5.100 /  6.  5.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 [mpeg2video @ 0x326bbe0] Invalid frame dimensions 0x0.
     Last message repeated 1 times
 [mpeg2video @ 0x3133180] Invalid frame dimensions 0x0.
 [mpeg2video @ 0x326bbe0] Invalid frame dimensions 0x0.
     Last message repeated 1 times
 [mpeg2video @ 0x3133180] Invalid frame dimensions 0x0.
     Last message repeated 2 times
 [mpeg2video @ 0x326bbe0] Invalid frame dimensions 0x0.
 [mpeg2video @ 0x3133180] Invalid frame dimensions 0x0.
     Last message repeated 9 times
 [mpegts @ 0x31112c0] PES packet size mismatch
 [mpegts @ 0x31112c0] Could not find codec parameters for stream 5
 (Unknown: none (BDC0 / 0x30434442)): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [mpegts @ 0x31112c0] Could not find codec parameters for stream 6
 (Unknown: none (ULI0 / 0x30494C55)): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from 'foo_cut.m2t':
   Duration: 00:00:04.63, start: 39743.297400, bitrate: 17701 kb/s
   Program 3
     Stream #0:4[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, max. 24000
 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
     Stream #0:7[0x34](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
 Hz, stereo, fltp, 384 kb/s
     Stream #0:3[0x35](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
 Hz, stereo, fltp, 96 kb/s (visual impaired)
   Program 4
     Stream #0:0[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv), 704x480 [SAR 40:33 DAR 16:9], Closed Captions, max. 15000
 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x44](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
 Hz, stereo, fltp, 192 kb/s
     Stream #0:2[0x45](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
 Hz, mono, fltp, 96 kb/s (visual impaired)
   Program 6
     Stream #0:5[0x6a]: Unknown: none (BDC0 / 0x30434442)
   Program 7
     Stream #0:6[0x7a]: Unknown: none (ULI0 / 0x30494C55)
 At least one output file must be specified
 }}}
 Not a regression afaict, maybe a bug in the grabber.

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


More information about the FFmpeg-trac mailing list