[FFmpeg-user] ac3 to mp3 converting bug

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jul 2 11:53:06 CEST 2012


Ingo Brückl <ib <at> wupperonline.de> writes:

> It fails with all ac3 samples, 5.1, 2.1, 2.0 (monsters_inc_2.0_192.ac3,
> all samples from http://samples.mplayerhq.hu/A-codecs/AC3/).

The following works fine here (output sounds fine):
$ ffmpeg -i monsters_inc_2.0_192.ac3 -ab 128k -ac 2 out.mp3
ffmpeg version N-42108-gc4e0e74 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul  2 2012 11:30:54 with gcc 4.2.1 (SUSE Linux)
  configuration: --enable-libmp3lame
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 31.100 / 54. 31.100
  libavformat    54. 14.100 / 54. 14.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[ac3 @ 0x8ea03c0] max_analyze_duration 5000000 reached at 5024000
[ac3 @ 0x8ea03c0] Estimating duration from bitrate, this may be inaccurate
Input #0, ac3, from 'monsters_inc_2.0_192.ac3':
  Duration: 00:00:30.01, start: 0.000000, bitrate: 192 kb/s
    Stream #0:0: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
[graph 0 input from stream 0:0 @ 0x8ee0300] tb:1/90000 samplefmt:s16
samplerate:48000 chlayout:0x3
Output #0, mp3, to 'out.mp3':
  Metadata:
    TSSE            : Lavf54.14.100
    Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (ac3 -> libmp3lame)
Press [q] to stop, [?] for help
size=     470kB time=00:00:30.02 bitrate= 128.2kbits/s
video:0kB audio:470kB subtitle:0 global headers:0kB muxing overhead 0.087152%

Carl Eugen



More information about the ffmpeg-user mailing list