[libav-tools] Strange avconv audio ripping.

Luca Barbato lu_zero at gentoo.org
Thu Oct 15 01:43:18 CEST 2015

On 13/10/15 21:34, Mario Mey wrote:
> Hi, there. I noted that converting a mp4 (from YouTube) to mp3, just to
> rip the audio from it, avconv makes a strange job.
> I'll call it "case A". As you can see here...
> $ avconv -i test.mp4 -b:a 192k test.mp3
> ...
>   Stream #0:0 -> #0:0 (h264 -> png)
>   Stream #0:1 -> #0:1 (aac -> libmp3lame)
> ...

The format supports a cover art so looks like it is picking the first
frame from the video stream for it but then keeps processing the other
frames, I suggest you to be explicit in what you want meanwhile:

avconv -i test.mp4 -vn -b:a 192k test.mp3


More information about the libav-tools mailing list