Opened 4 years ago

Closed 3 years ago

#4862 closed enhancement (fixed)

Transport stream not autodetected

Reported by: cehoyos Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mpegts
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(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.

Change History (2)

comment:2 Changed 3 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.