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 [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
