Opened 5 years ago

Closed 5 years ago

Last modified 2 years ago

#580 closed defect (fixed)

mpegts autodetection

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

Description

Attached sample (first 2,5MB of a 1GB sample) is correctly autodetected as mpeg-ts by MPlayer's native demuxer, FFmpeg's mpegts probe function does not return a positive value.

$ ffmpeg -loglevel 99 -i dump.ts
ffmpeg version N-33932-g415f3ce, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 22 2011 02:35:58 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 23. 0 / 53. 23. 0
  libavformat  53. 17. 0 / 53. 17. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 44. 1 /  2. 44. 1
  libswscale    2.  1. 0 /  2.  1. 0
[mpeg @ 0x1379780] Format mpeg probed with size=524288 and score=52
[mp1 @ 0x137fc80] Header missing
    Last message repeated 23 times
[mpeg @ 0x1379780] pes_ext 4B is invalid
[mp1 @ 0x137fc80] Header missing
    Last message repeated 26 times
[mpeg @ 0x1379780] pes_ext FF is invalid
[mp1 @ 0x137fc80] Header missing
    Last message repeated 76 times
[mpeg @ 0x1379780] Invalid timestamps stream=0, pts=5751558783, dts=8589934591, size=5809
[mp1 @ 0x137fc80] Header missing
    Last message repeated 49 times

...

[mpeg @ 0x1379780] pes_ext FD is invalid
[mpeg @ 0x1379780] Invalid timestamps stream=0, pts=6130997887, dts=8589934591, size=5809
[mpeg @ 0x1379780] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'dump.ts':
  Duration: N/A, start: 47721.858833, bitrate: N/A
    Stream #0:0[0x1d3], 3340, 1/90000: Audio: mp1, 48000 Hz, stereo, s16, 128 kb/s
At least one output file must be specified
$ ffmpeg -loglevel 99 -f mpegts -i dump.ts
ffmpeg version N-33932-g415f3ce, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 22 2011 02:35:58 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 23. 0 / 53. 23. 0
  libavformat  53. 17. 0 / 53. 17. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 44. 1 /  2. 44. 1
  libswscale    2.  1. 0 /  2.  1. 0
[mpegts @ 0x13797c0] stream=0 stream_type=1b pid=6e prog_reg_desc=CUEI
[mpegts @ 0x13797c0] stream=1 stream_type=86 pid=8c prog_reg_desc=CUEI
[mpegts @ 0x13797c0] stream=2 stream_type=81 pid=64 prog_reg_desc=CUEI
[ac3 @ 0x13a7d80] Unsupported bit depth: 0
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] non-existing PPS referenced
[h264 @ 0x139b3c0] non-existing PPS 0 referenced
[h264 @ 0x139b3c0] decode_slice_header error
[h264 @ 0x139b3c0] no frame!
[h264 @ 0x139b3c0] Frame num gap 2 0
[mpegts @ 0x13797c0] max_analyze_duration 5000000 reached at 5024000
rfps: 59.940060 0.000000
[NULL @ 0x13a18a0] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'dump.ts':
  Duration: 00:00:52.20, start: 72733.803344, bitrate: 49034 kb/s
  Program 1
    Metadata:
      service_name    : Reelz Channel
      service_provider:
    Stream #0:0[0x6e], 309, 1/90000: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1001/120000, 61.56 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0:1[0x8c], 0, 1/90000: Unknown: none ([134][0][0][0] / 0x0086)
    Stream #0:2[0x64], 159, 1/90000: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified

Attachments (1)

dump_cut.ts (2.4 MB) - added by cehoyos 5 years ago.

Change History (4)

Changed 5 years ago by cehoyos

comment:1 Changed 5 years ago by cehoyos

  • Keywords ts added

comment:2 Changed 5 years ago by michael

  • Keywords probe added
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 2 years ago by cehoyos

  • Keywords mpegts added; ts removed
Note: See TracTickets for help on using tickets.