You are not logged in.

#1 2008-09-24 12:10:38

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Ripping audio from avi

Hi,

Can someone tell me if this creares a stereo mp3 file ?

 ffmpeg -i file.flv -vn -ar 44100 -ac 2 -ab 192 -f mp3 sound.mp3

MrG


Mr Green

Offline

#2 2008-09-24 12:12:08

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Ripping audio from avi

Oh got it from here might be useful to some......

http://www.catswhocode.com/blog/os/19-f … -needs-824

MrG


Mr Green

Offline

#3 2008-09-24 13:41:50

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Ripping audio from avi

Yes. You don't need the -f switch either. Just use -acodec mp3 if your version of FFmpeg is new enough or -acodec libmp3lame if it's not.

By the way, most .flv files are already mp3. You can check by running ffmpeg -i <yourfile> with no arguments. It will tell you in to output. If that's the case, just run:

ffmpeg -i <yourfile>.flv -vn -acodec copy <output>.mp3

Another good guide is here. It may be slightly outdated, but it's still an awesome reference tool:

http://howto-pages.org/ffmpeg/

Last edited by skottish (2008-09-24 15:01:20)

Offline

#4 2008-09-24 15:55:47

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Ripping audio from avi

thanks very much ;-)


Mr Green

Offline

#5 2008-09-25 14:10:56

drewbug01
Member
From: chicago
Registered: 2007-04-06
Posts: 85
Website

Re: Ripping audio from avi

Thank you -- I was actually just wondering how to do this last night!

Offline

#6 2008-09-25 14:16:14

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Ripping audio from avi

avidemux -> audio -> save .

Last edited by DonVla (2008-09-25 14:21:03)

Offline

Board footer

Powered by FluxBB