[libav-tools] (wav to mp3) Can not downmix to stereo

Jacques Koorts jkoorts at gmail.com
Wed Feb 13 06:45:24 CET 2013


Ok so I downloaded the latest version. Read the INSTALL file. Did what I
was told and now I have avconv 9.1. But now avconv does not find libmp3lame
suddenly. Will this ever end?

avconv version 9.1, Copyright (c) 2000-2013 the Libav developers
  built on Feb 13 2013 07:23:15 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'iTunes_test1_AAC-LC_v4_Stereo_VBR_128kbps_44100Hz.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2008-11-13 11:53:16
    title           : Long0
    gapless_playback: 0
    encoder         : iTunes 8.0.0.35, QuickTime 7.5.5
  Duration: 00:05:07.52, start: 0.000000, bitrate: 130 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      creation_time   : 2008-11-13 11:53:16
Unknown encoder 'libmp3lame'



On Tue, Feb 12, 2013 at 5:58 PM, Justin Ruggles <justin.ruggles at gmail.com>wrote:

> On 02/12/2013 02:34 AM, Jacques Koorts wrote:
> > I have a 4 channel wav that cannot be converted to mp3 using the lame
> > encoder.
> >
> > The following command does not work.
> >
> > avconv -i drmapan.wav -ar 22050 -ac 2 test.mp3
> >
> > I get:
> >
> > avconv version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2000-2012
> > the Libav developers
> >   built on Jan 24 2013 14:49:20 with gcc 4.7.2
> > Input #0, wav, from 'drmapan.wav':
> >   Duration: 00:00:04.78, bitrate: 1411 kb/s
> >     Stream #0.0: Audio: pcm_s16le, 22050 Hz, quad, s16, 1411 kb/s
> > File 'test.mp3' already exists. Overwrite ? [y/N] y
> > [mp3 @ 0x855860] Unsupported sample rate.
> > Output #0, mp3, to 'test.mp3':
> >   Metadata:
> >     TSSE            : Lavf53.21.1
> >     Stream #0.0: Audio: libmp3lame, 22050 Hz, 2 channels, s16, 200 kb/s
> > Stream mapping:
> >   Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
> > Press ctrl-c to stop encoding
> > Resampling output channel count must be 1 or 2 for mono input; 1, 2 or 6
> > for stereo input; or N for N channel input.
> > Can not resample 4 channels @ 22050 Hz to 2 channels @ 22050 Hz
>
> You need a newer version. The conversion from quad to stereo is
> currently supported.
>
> -Justin
> _______________________________________________
> libav-tools mailing list
> libav-tools at libav.org
> https://lists.libav.org/mailman/listinfo/libav-tools
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-tools/attachments/20130213/7fbe6862/attachment.html>


More information about the libav-tools mailing list