#320(FFplay:new): FFPLAY No Audio TS File with AAC Audio Stream
#320: FFPLAY No Audio TS File with AAC Audio Stream --------------------------+--------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Keywords: Blocked By: | Blocking: Reproduced: 0 | Analyzed: 0 --------------------------+--------------------- 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. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/320> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: FFPLAY No Audio TS File with AAC Audio Stream ------------------------+---------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ------------------------+---------------------- Comment (by jlsantiago0): 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 built on Jun 28 2011 09:58:53 with gcc 4.3.3 configuration: --extra-version=VF --prefix=/mnt/centshare/ffmpeg/trunk/build/build-linux/stage --extra- cflags='-I/mnt/centshare/ffmpeg/trunk/build/../src/libavformat -I/mnt/centshare/ffmpeg/trunk/build/../src/libavcodec -DCONFIG_AUDIO_FLOAT=0' --extra- ldflags='-L/mnt/centshare/ffmpeg/trunk/build/build-linux/stage/lib -Wl,-rpath -Wl,/mnt/centshare/ffmpeg/trunk/build/build-linux/stage/lib' --enable-static --enable-shared --enable-avfilter --enable-pthreads --enable-zlib --enable-bzlib --enable-runtime-cpudetect --enable- hardcoded-tables 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 @ 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': Duration: 00:01:23.32, start: 93375.767233, bitrate: 5953 kb/s Program 1 Stream #0.0[0x21]: Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 35.16 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0.1[0x24]: Audio: aac_latm, 0 channels, s16 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 Last message repeated 1 times -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/320#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+---------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | ------------------------+---------------------- Changes (by cehoyos): * keywords: => aac * status: new => open * component: FFplay => avcodec * reproduced: 0 => 1 Comment: 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 }}} -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/320#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+----------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | ------------------------+----------------------- Changes (by cehoyos): * component: avcodec => avformat Comment: 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. -- Ticket URL: <http://www.avcodec.org/trac/ffmpeg/ticket/320#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+----------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | ------------------------+----------------------- Comment (by cehoyos): How was this sample produced? -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/320#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+----------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | ------------------------+----------------------- Comment (by jlsantiago0): Replying to [comment:4 cehoyos]:
How was this sample produced?
Makito H.264 encoder appliance from http://www.haivision.com/products/makito . -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/320#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+----------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 1 | ------------------------+----------------------- Changes (by cehoyos): * analyzed: 0 => 1 Comment: Patch attached. -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/320#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+----------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 1 | ------------------------+----------------------- Comment (by jlsantiago0): Replying to [comment:6 cehoyos]:
Patch attached.
The patch works great for me. Thank You. -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/320#comment:7> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#320: 0 channels in latm stream ------------------------+----------------------- Reporter: jlsantiago0 | Owner: michael Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: aac | Blocked By: Blocking: | Reproduced: 1 Analyzed: 1 | ------------------------+----------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: Fixed in current git master. The patch will be reverted if it breaks any valid transport streams (and the problem cannot be fixed differently). -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/320#comment:8> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg