PDA

View Full Version : Ripping sound from an AVI



Riffer
July 28th, 2008, 05:54 AM
Is there an app that I can rip music from an avi file?

vikramaditya
July 28th, 2008, 06:13 AM
If you like a GUI, I've done this using Avidemux. Been awhile, but it was fairly simple to use.

System > Administration > Synaptic Package Manager > Search "avidemux"

Bachstelze
July 28th, 2008, 06:58 AM
ffmpeg -i foo.avi -vn -acodec copy bar.mp3

Assuming the audio is MP3, of course..

Masoris
July 28th, 2008, 08:21 AM
Convert it to ogg audio file by 'Sound Converter'.

Bachstelze
July 28th, 2008, 08:28 AM
Convert it to ogg audio file by 'Sound Converter'.

No. Just... no. Converting from a lossy codec to another will sound horrible.

qazwsx
July 28th, 2008, 11:38 AM
mplayer file.avi -identify -vo null -ao null -frames 0 |grep ID_AUDIO_CODEC
gives you audio codec information.
you can use ffmpeg as above or harder way

mplayer -dumpaudio file.avi -dumpfile fileout
File is sometimes playable depending on audio format (but should be reusable with mencoder at least and might be even remuxable... with ffmpeg :lolflag:).