Opened 7 years ago

Closed 6 years ago

#7151 closed defect (fixed)

Incorrect duration and bitrate reported for mpegts stream

Reported by: Aman Owned by:
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: rcombs Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg -i https://s3.amazonaws.com/tmm1/hevc-1.ts
ffmpeg version N-90694-gbbe95ebdad Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
  configuration: --prefix=/tmp/ffmpeg-master --enable-libxml2 --enable-shared --disable-static --disable-stripping --disable-manpages
  libavutil      56. 13.100 / 56. 13.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 11.101 / 58. 11.101
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 15.100 /  7. 15.100
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
[hevc @ 0x7fb38180c000] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x7fb38180c000] Error parsing NAL unit #4.
[hevc @ 0x7fb38180c000] PPS id out of range: 1
    Last message repeated 1 times
[hevc @ 0x7fb38180c000] Error parsing NAL unit #4.
[hevc @ 0x7fb38180c000] PPS id out of range: 1
    Last message repeated 1 times
[hevc @ 0x7fb38180c000] Error parsing NAL unit #4.
[hevc @ 0x7fb38180c000] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x7fb38180c000] Error parsing NAL unit #4.
[hevc @ 0x7fb38180c000] PPS id out of range: 1
    Last message repeated 1 times
[hevc @ 0x7fb38180c000] Error parsing NAL unit #4.
[hevc @ 0x7fb38180c000] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x7fb38180c000] Error parsing NAL unit #4.
[mpegts @ 0x7fb37f009400] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0x7fb37f009400] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'https://s3.amazonaws.com/tmm1/hevc-1.ts':
  Duration: 25:07:20.28, start: 106088.486111, bitrate: 1 kb/s
  Program 16961
    Stream #0:0[0x561]: Video: hevc (Main) ([36][0][0][0] / 0x0024), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x562](deu): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 256 kb/s
    Stream #0:2[0x566](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0x567]: Unknown: none ([5][0][0][0] / 0x0005)
At least one output file must be specified

Some effort is already made by lavf to ignore outlier subtitle/data tracks (see 4c9c4fe8b21b22e83cde22b5fbaa947ebe5e66d9), but it seems not to be kicking in for this sample.

Change History (1)

comment:1 by Carl Eugen Hoyos, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.