Opened 8 years ago

Closed 8 years ago

#5305 closed defect (fixed)

No codec parameters for h264 transport stream

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mpegts h264 regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The sample attached in ticket #5304 cannot be decoded with FFmpeg since c7cfd4cce98a858c08e880ac7075737c78f98be8

$ ffmpeg -i tenhd.ts
ffmpeg version N-78952-gb872b98 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 28.100 / 57. 28.100
  libavformat    57. 28.100 / 57. 28.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.101 /  6. 39.101
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0x3d4e840] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3d4e840] decode_slice_header error
[h264 @ 0x3d4e840] no frame!

...

[h264 @ 0x3d4e840] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3d4e840] decode_slice_header error
[h264 @ 0x3d4e840] no frame!
[mpegts @ 0x3d4a280] decoding for stream 0 failed
[mpegts @ 0x3d4a280] Could not find codec parameters for stream 0 (Video: h264 (High) ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'tenhd.ts':
  Duration: 00:00:16.70, start: 86.328000, bitrate: 998 kb/s
  Program 1
    Metadata:
      service_name    : Ten Sports HD
      service_provider: v-play
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 180k tbc
    Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 88 kb/s
At least one output file must be specified

Works fine with increased analyzeduration.

Change History (1)

comment:1 by Carl Eugen Hoyos, 8 years ago

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