Opened 10 years ago

Closed 10 years ago

#3821 closed defect (fixed)

aac_latm in a transport stream not detected

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

Description

One of two latm streams in a sample from ticket #3768 is not correctly detected since 9f6f4962

$ ffmpeg -i sample_cut.ts
ffmpeg version N-65141-g62baf5b Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  1 2014 00:25:17 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 94.100 / 52. 94.100
  libavcodec     55. 71.100 / 55. 71.100
  libavformat    55. 50.100 / 55. 50.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[mp3 @ 0x33f23a0] Header missing
    Last message repeated 3 times
[h264 @ 0x33f18c0] reference picture missing during reorder
[h264 @ 0x33f18c0] Missing reference picture, default is 65522
[h264 @ 0x33f18c0] mmco: unref short failure
[mp3 @ 0x33f23a0] Header missing
    Last message repeated 16 times
[mpegts @ 0x33edb20] PES packet size mismatch
Input #0, mpegts, from 'sample_cut.ts':
  Duration: 00:00:06.07, start: 0.085178, bitrate: 3376 kb/s
  Program 1
    Stream #0:0[0x907]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x911](dan): Audio: mp3 ([17][0][0][0] / 0x0011), 44100 Hz, stereo, s16p, 384 kb/s
    Stream #0:2[0x915](dan): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, 5.1, fltp
    Stream #0:3[0x7ef](dan): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4[0x91f](dan): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:5[0x920](dan): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
At least one output file must be specified

Attachments (1)

sample_cut.ts (2.4 MB ) - added by Carl Eugen Hoyos 10 years ago.

Change History (3)

by Carl Eugen Hoyos, 10 years ago

Attachment: sample_cut.ts added

comment:1 by Carl Eugen Hoyos, 10 years ago

$ ffmpeg -loglevel 99 -i sample_cut.ts
ffmpeg version N-65348-g5836fe2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  6 2014 20:40:02 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 98.100 / 52. 98.100
  libavcodec     55. 72.102 / 55. 72.102
  libavformat    55. 51.101 / 55. 51.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'sample_cut.ts'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file sample_cut.ts.
Successfully parsed a group of options.
Opening an input file: sample_cut.ts.
[mpegts @ 0x1d38b20] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x1d38b20] stream=0 stream_type=1b pid=907 prog_reg_desc=
[mpegts @ 0x1d38b20] stream=1 stream_type=11 pid=911 prog_reg_desc=
[mpegts @ 0x1d38b20] stream=2 stream_type=11 pid=915 prog_reg_desc=
[mpegts @ 0x1d38b20] stream=3 stream_type=6 pid=7ef prog_reg_desc=
[mpegts @ 0x1d38b20] stream=4 stream_type=6 pid=91f prog_reg_desc=
[mpegts @ 0x1d38b20] stream=5 stream_type=6 pid=920 prog_reg_desc=
[mpegts @ 0x1d38b20] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[mpegts @ 0x1d38b20] parser not found for codec none, packets or times may be invalid.
    Last message repeated 1 times
[mpegts @ 0x1d38b20] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpegts @ 0x1d38b20] All programs have pmt, headers found
[mpegts @ 0x1d38b20] probing stream 1 pp:2500
[mpegts @ 0x1d38b20] Probe with size=476, packets=1 detected mp3 with score=1
[mpegts @ 0x1d38b20] probing stream 1 pp:2499
[mpegts @ 0x1d38b20] Probe with size=980, packets=2 detected h263 with score=25
[mpegts @ 0x1d38b20] probed stream 1
[mp3 @ 0x1d3d3a0] Header missing
[mpegts @ 0x1d38b20] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpegts @ 0x1d38b20] probing stream 2 pp:2500
[mpegts @ 0x1d38b20] probing stream 2 pp:2499
[mpegts @ 0x1d38b20] Probe with size=2750, packets=2 detected mp3 with score=1
[mpegts @ 0x1d38b20] probing stream 2 pp:2498
[mpegts @ 0x1d38b20] Probe with size=4126, packets=3 detected loas with score=51
[mpegts @ 0x1d38b20] probed stream 2
[aac_latm @ 0x1d3de80] no decoder config found
[mp3 @ 0x1d3d3a0] Header missing
[aac_latm @ 0x1d3de80] no decoder config found
[mp3 @ 0x1d3d3a0] Header missing
[aac_latm @ 0x1d3de80] no decoder config found
    Last message repeated 1 times
[mp3 @ 0x1d3d3a0] Header missing
[aac_latm @ 0x1d3de80] no decoder config found
[aac_latm @ 0x1d3de80] initializing latmctx
[h264 @ 0x1d3c8c0] Frame num gap 3 -1
[h264 @ 0x1d3c8c0] Frame num gap 3 0
[h264 @ 0x1d3c8c0] Frame num gap 3 1
[h264 @ 0x1d3c8c0] Frame num gap 11 5
[h264 @ 0x1d3c8c0] Frame num gap 11 6
[h264 @ 0x1d3c8c0] Frame num gap 11 7
[h264 @ 0x1d3c8c0] Frame num gap 11 8
[h264 @ 0x1d3c8c0] Frame num gap 11 9
[h264 @ 0x1d3c8c0] reference picture missing during reorder
[h264 @ 0x1d3c8c0] Missing reference picture, default is 65522
[h264 @ 0x1d3c8c0] no picture ooo
[h264 @ 0x1d3c8c0] Increasing reorder buffer to 2
[h264 @ 0x1d3c8c0] no picture ooo
[h264 @ 0x1d3c8c0] Increasing reorder buffer to 3
[h264 @ 0x1d3c8c0] no picture ooo
[h264 @ 0x1d3c8c0] Increasing reorder buffer to 4
[h264 @ 0x1d3c8c0] no picture ooo
    Last message repeated 2 times
[h264 @ 0x1d3c8c0] mmco: unref short failure
[h264 @ 0x1d3c8c0] no picture ooo
    Last message repeated 8 times
[h264 @ 0x1d3c8c0] no picture
    Last message repeated 3 times
[mp3 @ 0x1d3d3a0] Header missing
    Last message repeated 16 times
[mpegts @ 0x1d38b20] All info found
[mpegts @ 0x1d38b20] PES packet size mismatch
[mpegts @ 0x1d38b20] After avformat_find_stream_info() pos: 0 bytes read:1298576 seeks:2 frames:204
Input #0, mpegts, from 'sample_cut.ts':
  Duration: 00:00:06.07, start: 0.085178, bitrate: 3376 kb/s
  Program 1
    Stream #0:0[0x907], 99, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1/100, 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x911](dan), 22, 1/90000: Audio: mp3 ([17][0][0][0] / 0x0011), 44100 Hz, stereo, s16p, 384 kb/s
    Stream #0:2[0x915](dan), 38, 1/90000: Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, 5.1, fltp
    Stream #0:3[0x7ef](dan), 42, 1/90000: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4[0x91f](dan), 1, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:5[0x920](dan), 2, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x1d37be0] Statistics: 1298576 bytes read, 2 seeks

comment:2 by Carl Eugen Hoyos, 10 years ago

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