[TAG] Converting video files to mp3

Suramya Tomar suramya at suramya.com
Sat Sep 18 09:28:13 MSD 2004


Hi,
 A really usefull program for video manipulation is ffmpeg, available at
http://ffmpeg.sourceforge.net/. It allows you to strip out video or
audio components of a particular file and save it. 

To convert a video to an mp3 file we would use the following command:

ffmpeg -i inputfile.avi -vn -ab 256 output.mp3

Where -vn tells ffmpeg to disable the video and -ab specifies the
bitrate of the output mp3 file. lame has to be installed on the system
to allow ffmpeg to encode in the mp3 format.

To save a video without any sound we would use the following command:

ffmpeg -i inputfile.avi -an -b 1000 output.avi

Where -an tells ffmpeg to disable the audio and -b specifies the viseo
bitrate of the output file. 

More details/examples are available at the project website. 

Hope you find this useful.

- Suramya

-- 
--------------------------------------------------
Email     : suramya at suramya.com
My Website: http://www.suramya.com
--------------------------------------------------

*************************************************
Disclaimer:
Any errors in spelling, tact, or fact are transmission errors.
*************************************************





More information about the TAG mailing list