[Icecast] extracting audio data

Geoff Shang geoff at QuiteLikely.com
Tue Feb 4 13:10:22 UTC 2014


On Tue, 4 Feb 2014, Guido Budack wrote:

> does anybody know if there is a (fast shell-) program that extracts audio out of a video file?
> Lets say a MPEG4-Format...

I use avconv from libav (http://libav.org), a fork of ffmpeg.

avconv -i <infile>  -vn -acodec copy <outfile>

You can run 'avconv -i <infile>' to get codec info, so you know what 
filename to use for the output filename.

Simply replace avconv with ffmpeg if you're using ffmpeg.

HTH,
Geoff.




More information about the Icecast mailing list