'buntu 8.04 Program to Convert .wma to mp3

Nigel Ridley nigel at prayingforisrael.net
Fri Dec 11 16:48:51 GMT 2009


Alan Dacey Sr. wrote:
> On Tuesday 08 December 2009 10:33:04 am Tony Sivori wrote:. 
> . . .
>> Keep in mind I'm running 8.04. Here's what I get when I try to install
>> winff:
>>
>> tony at invalid:~$ sudo apt-get install winff
>> [sudo] password for tony:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Couldn't find package winff
>>
>> I do have the medibuntu repository in my sources.
>>

How about something real simple?

The following is a little text file that I keep just for when my children need me to do some 
converting:

To Convert .flv to .mp3 using ffmpeg:
ffmpeg -i name_of_video_clip.flv -vn name_of_file.mp3


examples:

ffmpeg -i Mary_Mary_-_I_Get_Joy.flv -vn Mary_Mary_-_I_Get_Joy.mp3

ffmpeg -i Mary_Mary_-_I_Get_Joy.flv -vn Mary_Mary_-_I_Get_Joy.mp3


Fill in the Blanks:

ffmpeg -i .flv -vn .mp3


Batch Converting:

for i in *.flv; do ffmpeg -i "$i" -vn "${i%flv}mp3"; done

then:
mv *mp3 ~/Music/Mp3s  [or which_ever_path_to_dir]


It is simple to change formats -- just substitute them for what you need - ffmpeg takes care of 
the rest.

So for .wma to .mp3 :
ffmpeg -i name_of_file.wma name_of_file.mp3

or batch processing:
for i in *.wma; do ffmpeg -i "$i" "${i%wma}mp3"; done

HTH,

Nigel



More information about the kubuntu-users mailing list