Opened 14 years ago
Closed 12 years ago
#319 closed defect (invalid)
FFplay: AAC 5.1 sounds distorted
Reported by: | Jose Santiago | Owned by: | Michael Niedermayer |
---|---|---|---|
Priority: | normal | Component: | ffplay |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
File is located at:
wget http://208.51.85.91/I_Am_Legend-Trailer.mp4 .
File plays fine on VLC v1.0.6.
Attachments (1)
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Reproduced by developer: | set |
---|---|
Status: | new → open |
Summary: | FFPLAY MP4 File No Audio AAC 5.1 → FFplay: AAC 5.1 sounds distorted |
Attached sample plays fine with ffmpeg -f alsa and mplayer -ac ffaac, but sounds heavily distorted with ffplay.
$ ffplay test.aac ffplay version N-31072-g4d08dfe, Copyright (c) 2003-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 [aac @ 0x12e4040] max_analyze_duration 5000000 reached at 5013333 [aac @ 0x12e4040] Estimating duration from bitrate, this may be inaccurate Input #0, aac, from 'test.aac': Duration: 00:12:51.36, bitrate: 21 kb/s Stream #0.0: Audio: aac, 48000 Hz, 5.1, s16, 21 kb/s 7.66 A-V: 0.000 s:0.0 aq= 319KB vq= 0KB sq= 0B f=0/0 $ ffmpeg -i test.aac -t 60 out.wav 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 [aac @ 0x1272400] max_analyze_duration 5000000 reached at 5013333 [aac @ 0x1272400] Estimating duration from bitrate, this may be inaccurate Input #0, aac, from 'test.aac': Duration: 00:12:51.36, bitrate: 21 kb/s Stream #0.0: Audio: aac, 48000 Hz, 5.1, s16, 21 kb/s Output #0, wav, to 'out.wav': Metadata: encoder : Lavf53.4.0 Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help size= 33756kB time=00:01:00.01 bitrate=4608.0kbits/s video:0kB audio:33756kB global headers:0kB muxing overhead 0.000197%
out.wav plays distorted with ffplay, plays fine with ffmpeg -f alsa and mplayer.
by , 14 years ago
comment:3 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | open → closed |
I strongly suspect that this problem depends on sdl (it apparently works fine for many developers).
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 ./I_Am_Legend-Trailer.mp4
ffplay version 0.7-VF, Copyright (c) 2003-2011 the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './I_Am_Legend-Trailer.mp4':