[FFmpeg-trac] #319(FFplay:open): FFplay: AAC 5.1 sounds distorted (was: FFPLAY MP4 File No Audio AAC 5.1)

FFmpeg trac at avcodec.org
Wed Jun 29 18:13:08 CEST 2011


#319: FFplay: AAC 5.1 sounds distorted
------------------------+----------------------
Reporter:  jlsantiago0  |       Owner:  michael
    Type:  defect       |      Status:  open
Priority:  normal       |   Component:  FFplay
 Version:  git-master   |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  1
Analyzed:  0            |
------------------------+----------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 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.

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/319#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list