Quote:
Originally Posted by Four
I have mplayer, and preferably a solution using it (if it supports it)
Is it possible to convert a video file (mpg) to just audio (mp3) so I can put it on my mp3 player?
Thank you
|
What type of mpg file you have...I am not sure if this will work but the trick below is the one that I use to grab only mp3 file from the video file.
Code:
ffmpeg -i video-file.mpg -ar 44100 -ab 128 -f mp3 audio-track.mp3
Adjust
-ab option accordingly, this is actually the bitrate. If you don't set it it will take default value of 64kbps.
refer
man ffmpeg for more info and few examples.