Ticket #320 (closed defect: fixed)
0 channels in latm stream
| Reported by: | jlsantiago0 | Owned by: | michael |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | aac |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | yes |
Description
File is located at:
wget http://208.51.85.91/ffplay-noaudio-002-aac-full.ts .
wget http://208.51.85.91/ffplay-noaudio-002-aac-10mb.ts .
File plays fine with VLC v1.0.6.
Attachments
Change History
comment:2 Changed 23 months ago by cehoyos
- Keywords aac added
- Status changed from new to open
- Component changed from FFplay to avcodec
- Reproduced by developer set
- Summary changed from FFPLAY No Audio TS File with AAC Audio Stream to 0 channels in latm stream
Reproducible, possibly related to ticket #262.
$ ffmpeg -i test.ts
ffmpeg version N-31072-g4d08dfe, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 29 2011 18:04:07 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 10. 0 / 51. 10. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 24. 0 / 2. 24. 0
libswscale 2. 0. 0 / 2. 0. 0
[h264 @ 0x1277a60] non-existing PPS referenced
[h264 @ 0x1277a60] non-existing PPS 0 referenced
[h264 @ 0x1277a60] decode_slice_header error
[h264 @ 0x1277a60] no frame!
[h264 @ 0x1277a60] non-existing PPS referenced
[h264 @ 0x1277a60] non-existing PPS 0 referenced
[h264 @ 0x1277a60] decode_slice_header error
[h264 @ 0x1277a60] no frame!
...
[h264 @ 0x1277a60] non-existing PPS referenced
[h264 @ 0x1277a60] non-existing PPS 0 referenced
[h264 @ 0x1277a60] decode_slice_header error
[h264 @ 0x1277a60] no frame!
[h264 @ 0x1277a60] non-existing PPS referenced
[h264 @ 0x1277a60] non-existing PPS 0 referenced
[h264 @ 0x1277a60] decode_slice_header error
[h264 @ 0x1277a60] no frame!
[mpegts @ 0x1272400] Could not find codec parameters (Audio: aac_latm, 0 channels, s16)
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001)
Input #0, mpegts, from 'test.ts':
Duration: 00:00:02.82, start: 93375.767233, bitrate: 5939 kb/s
Program 1
Stream #0.0[0x21]: Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 35.66 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x24]: Audio: aac_latm, 0 channels, s16
At least one output file must be specified
comment:3 Changed 22 months ago by cehoyos
- Component changed from avcodec to avformat
Audio is not LATM, but AAC, therefore old FFmpeg versions correctly (auto-) detect AAC, but stream_type is set to 0x11, therefore LATM gets wrongly detected.
comment:5 in reply to: ↑ 4 Changed 22 months ago by jlsantiago0
Replying to cehoyos:
How was this sample produced?
Makito H.264 encoder appliance from http://www.haivision.com/products/makito .
Note: See
TracTickets for help on using
tickets.




jsantiago@josepc:/mnt/centshare/ffmpeg/trunk/build/build-linux$ SDL_DSP_NOSELECT=1 SDL_AUDIODRIVER=alsa stage/bin/ffplay ./ffplay-noaudio-002-aac-full.ts
ffplay version 0.7-VF, Copyright (c) 2003-2011 the FFmpeg developers
[h264 @ 0x99c2e00] non-existing PPS referenced
[h264 @ 0x99c2e00] non-existing PPS 0 referenced
[h264 @ 0x99c2e00] decode_slice_header error
[h264 @ 0x99c2e00] no frame!
...
[h264 @ 0x99c2e00] non-existing PPS referenced
[h264 @ 0x99c2e00] non-existing PPS 0 referenced
[h264 @ 0x99c2e00] decode_slice_header error
[h264 @ 0x99c2e00] no frame!
[mpegts @ 0x99be1e0] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from './ffplay-noaudio-002-aac-full.ts':
Invalid sample rate or channel count
[h264 @ 0x99c2e00] mmco: unref short failureq= 65KB sq= 0B f=0/0
93381.95 A-V: 0.000 s:0.0 aq= 0KB vq= 66KB sq= 0B f=0/0 /0