#341 closed defect (duplicate)
AAC ffplay invalid sample rate
| Reported by: | Marton Balint | Owned by: | Michael Niedermayer |
|---|---|---|---|
| Priority: | normal | Component: | ffplay |
| Version: | git | Keywords: | aac, sample rate |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Since commit
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=dafaef2fe1e1af7c40adc1855547fd4cba9862a9
ffplay thinks the sample rate is 0 and hence does not play the audio. This issue only affects ffmpeg, not libav. Outut of a slightly modified version of ffplay to dump the channels number and sample rate if any of these are invalid:
./ffplay 'http://samples.mplayerhq.hu/A-codecs/AAC/file.avi'
ffplay version N-31363-g5817429, Copyright (c) 2003-2011 the FFmpeg developers
built on Jul 10 2011 18:20:06 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --disable-vaapi
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 24. 4 / 2. 24. 4
libswscale 2. 0. 0 / 2. 0. 0
[http @ 0x12ba8c0] HTTP error 416 Requested Range Not Satisfiable
[wmv3 @ 0x12de100] WMV3 Complex Profile is not fully supported
Input #0, avi, from 'http://samples.mplayerhq.hu/A-codecs/AAC/file.avi':
Duration: 00:23:53.53, start: 0.000000, bitrate: N/A
Stream #0.0: Video: wmv3 (Complex), yuv420p, 640x480, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo, s16, 147 kb/s
Metadata:
title : gs1 AC3 T01 2_0ch 448Kbps DELAY 0ms
Invalid sample rate or channel Sample Rate: 0 Channels: 2
[wmv3 @ 0x12de100] WMV3 Complex Profile is not fully supported
2.77 A-V: 0.000 s:0.0 aq= 0KB vq= 20KB sq= 0B f=0/0 0/0
Note:
See TracTickets
for help on using tickets.



(Third) Duplicate of ticket #213 - I know this probably was originally another issue, but it was the first sample for which I discovered the problem.
(And so far, for all samples, it also failed for me with the fork, I informed the author of the patch before anybody else had reported the problem. If you have a sample that works with the fork, but fails with FFmpeg, please share.)