how to convert video files in .flv format into MP3 format for listening only

Asked by koushik

I have some music videos downloaded from net /or collected from friends in .flv format. now I want to convert those videos in MP3 format so that I would be able to listen the music on my i-pod.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-media Edit question
Assignee:
No assignee Edit question
Solved by:
Dooitze de Jong
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
koushik (koushikchatto) said :
#2

thank you for the reply.
but where and how to write those commands?
would the original video remain unaffected?
isn't there any programme that would make the job when it would be asked to[like the 'download helper']?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Yes the file you make is untouhed as it is only being read. The commands are to be ran in the terminal. Just change the filenames used to your actual file you want to read, and the output filename you desire.

Revision history for this message
Dooitze de Jong (dooitze) said :
#4

Hello koushik,

You can do it by Sound Converter, install it by the following command:
sudo apt-get install soundconverter

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

You could even be double clever and run:

gksudo gedit /usr/bin/ripmp3; sudo chmod +x /usr/bin/ripmp3

and paste this code:

#!/bin/bash
mplayer -dumpaudio "$1" -dumpfile ~/Desktop/result.mp3

Save the file and close gedit

You can now run:

ripmp3 inputfilename.flv

And the MP3 will be output on the desktop.

Simples

Revision history for this message
Best Dooitze de Jong (dooitze) said :
#6

When you start Sound Converter, the first thing you have to do is changing the export format and if you want the export dir.

=> Edit => Preferences

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

A well formed script will be far easier, especially due to the nature of the forum (text)

Revision history for this message
koushik (koushikchatto) said :
#8

Thank you Mr. Jong,
By application of Sound Converter I've been able to convert one video file in .flv to MP3 format. Thank you once again.
Koushik