avconv
Extract audio from a video To see the audio streams in the file: avconv -i video_in.webm To extract stream 1: avconv -i video_in.webm -map 0:1 -acodec copy -vn audio_out.ogg or avconv -i orig.webm -c:a libvorbis -b:a 128k -vn target.ogg Convert an flv of wmv video to webm (vorbis) avconv -i ./input_file.flv -y -c:v libvpx -b:v 450k -c:a libvorbis -b:a 128k ./output_file.webm Convert an mp3 audio to ogg (libvorbis) avconv -i in.mp3 -map 0:0 -codec libvorbis -format ogg out.ogg Convert .avi to .webm, And select only video track 0, audio track 2, bitrate 800 and framerate 24: ...