LinuxQuestions.org
Register a domain and help support LQ
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, 02:50 AM   #1
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

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


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

Rep: Reputation: 64
You'll need 3rd party softwares in order to do so. Google "mp3/audio converter for linux".
 
Old 03-12-2010, 04: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, 04: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, 04:34 AM   #5
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Original Poster
Rep: Reputation: 63
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, 05:09 AM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,351

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

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

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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, 03:00 AM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,606

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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 03:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:01 PM
Converting flash video (FLV) to AVI, MOV, others? daihard Linux - Software 12 05-06-2009 12:44 PM
converting multiple flv to avi.. mia_tech Linux - General 2 10-15-2008 02:52 PM
converting all kind of videos to flash ( FLV zafar466 Linux - General 1 07-25-2008 06:17 AM
Converting flv to Mpg with Audio and ffmpeg btbx Linux - Software 7 06-12-2008 03:41 PM


All times are GMT -5. The time now is 08:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration