Results 1 to 2 of 2
I was wondering how i could dump the audio from all the FLV files in a directory without typing them in one by one and leaving the original file name ...
- 06-25-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 1
help! converting multiple FLVs to MP3s using Mplayer or ffmpeg
I was wondering how i could dump the audio from all the FLV files in a directory without typing them in one by one and leaving the original file name intact.
I download allot of music videos from youtube and its very time consuming doing them one by one in mplayer or ffmpeg.
I think something along the lines of this might save time by repeating it over and over again but it wont retain its filename
mplayer -dumpaudio *.flv -dumpfile *.mp3
rm *.flv
any help would be greatly appreciated
sorry im a complete noob
- 06-25-2008 #2
Hello,
not that I knew how to use mplayer but this looks like a typical task for a shell script in which you run a loop over multiply filenames.
Bash Shell Loop Over Set of Files
It can be combined with the basename command which filters out the name of the file without the ending. e.g
basename hello.vlf .vlf
would give "hello" as result which could in turn be used to compose the filename "hello.mp3"


Reply With Quote
