Hi there,

Installed avconv and libavcodec-extra-*, and followed this example as set
out in the documentation:

avconv -i /tmp/a.wav -ar 22050 /tmp/a.mp2

mine was: avconv -i drmapan.wav -ar 22050 test.mp3

I got this error:

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
Output #0, mp3, to 'test.mp3':
    Stream #0.0: Audio: libmp3lame, 22050 Hz, quad, s16, 200 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
*Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height*

Why did this simple example not work?
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to