LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2010, 01:50 AM   #1
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Converting to .flv to .mp3


How to convert a .flv file to .mp3 file?
(Extracting only the sound)
 
Old 03-12-2010, 01:55 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
You'll need 3rd party softwares in order to do so. Google "mp3/audio converter for linux".
 
Old 03-12-2010, 03:04 AM   #3
dsmyth
LQ Newbie
 
Registered: Mar 2010
Location: Glasgow, Scotland
Distribution: Fedora 12
Posts: 26
Blog Entries: 6

Rep: Reputation: 17
Hi, get a copy of... ffmpeg.

This will do all sorts of video to audio convertions. You need to drop to the terminal but the command is straightforward.

ffmpeg -i inputFile.flv -sameq output.mp3


It looks at the file extensions and works out what conversions need to be done.
 
Old 03-12-2010, 03:08 AM   #4
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Try this Multimedia converter for linux

Requirements:
· FFmpeg
· Kommander
· Mplayer
· Win32 Codec
· libogg / libvorbis / vorbis-tools
 
Old 03-12-2010, 03:34 AM   #5
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by dsmyth View Post
Hi, get a copy of... ffmpeg.

This will do all sorts of video to audio convertions. You need to drop to the terminal but the command is straightforward.

ffmpeg -i inputFile.flv -sameq output.mp3


It looks at the file extensions and works out what conversions need to be done.
Tried with mplayer.It doesn't work.
Code:
-rwxrwxr-x 1 user users        0 2010-03-12 15:32 output.mp3*
mplayer output.mp3
Code:
MPlayer r29390-4.3.3 (C) 2000-2009 MPlayer Team

Playing output.mp3.
Seek failed


Exiting... (End of file)
 
Old 03-12-2010, 04:09 AM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
You can do this online:

http://www.flv2mp3.com/
 
Old 07-24-2010, 09:08 AM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
ffmpeg + lame

$ ffmpeg -vn -sn -i movie.flv -ac 2 -ar 44100 -acodec pcm_s16le -y audio.wav
$ lame -q 0 -b 320 audio.wav audio.mp3

Although in theory you can simplify that.

$ ffmpeg -i movie.flv -y audio.mp3

Since it looks like your distro stripped out mp3 support, or you didn't install it. You might need to grab a snapshot, and/or compile from source. --enable-libmp3lame

There's also toolame and twolame, but IME they output mpeg 1 layer 2. Where your MP3 player might only play mpeg 1 layer 3. And other possible limits like stereo only with toolame or twolame, where lame can create a MONO mp3 file. Or I could be wrong.
 
Old 02-21-2011, 02:00 AM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by aHisoft View Post
Deleted post
This is a windows only program. Reported as spam.

Last edited by colucix; 02-21-2011 at 02:56 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert flv to mp3? rokitscintist Linux - Newbie 24 12-25-2014 08:01 PM
Converting flash video (FLV) to AVI, MOV, others? daihard Linux - Software 12 05-06-2009 11:44 AM
converting multiple flv to avi.. mia_tech Linux - General 2 10-15-2008 01:52 PM
converting all kind of videos to flash ( FLV zafar466 Linux - General 1 07-25-2008 05:17 AM
Converting flv to Mpg with Audio and ffmpeg btbx Linux - Software 7 06-12-2008 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration