Skip navigation.

video editing

Extract audio from .avi file on Kubuntu and finding which package a file in

To extract the audio from an .avi video file, use the command:

mplayer video.avi -vc dummy -vo null -af resample=44100 -ao pcm:file=ripped-audio.wav

Make sure that the program oggenc is installed. I didn't know which package this program was, so I searched and found this nifty tool for Ubuntu: apt-file

Install it and update its internal database:

# apt-get install apt-file
# apt-file update

Then using this tool to search for oggenc told me I could find it in the vorbis-tools package:

$ apt-file search oggenc

Syndicate content