G33kman
New member
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... 
First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg.
Here's the code that I'm using:
ffmpeg -i folder\video.mp4 -f mp3 -ab 160000 -vn "\different folder\music.mp3"
what I would like to do is add to this so that I don't have to write out this code for every file I have... :/
I have the mp4 files in one folder and than the mp3 files are saving to another folder.
So here's an example of what the code will do if it isn't clear yet.
Folder 1:
video1.mp4
video2.mp4
video3.mp4
what it should do is grab video1.mp4 and convert it.
ffmpeg -i folder\video1.mp4 -f mp3 -ab 160000 -vn "\different folder\music1.mp3"
and than move onto the next one
ffmpeg -i folder\video2.mp4 -f mp3 -ab 160000 -vn "\different folder\music2.mp3"
and than the next one
ffmpeg -i folder\video3.mp4 -f mp3 -ab 160000 -vn "\different folder\music3.mp3"
It's going to have to grab the name from the mp4 file and insert it for the mp3 file.
I can get around pretty good in cmd if it's basic commands but when it comes to something like this I'm a little confused...
Thanks for the help in advance!
I'll see what i can do about searching some more on what I would have to do and if I find the solution I'll post it here if it isn't already answered.
First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg.
Here's the code that I'm using:
ffmpeg -i folder\video.mp4 -f mp3 -ab 160000 -vn "\different folder\music.mp3"
what I would like to do is add to this so that I don't have to write out this code for every file I have... :/
I have the mp4 files in one folder and than the mp3 files are saving to another folder.
So here's an example of what the code will do if it isn't clear yet.
Folder 1:
video1.mp4
video2.mp4
video3.mp4
what it should do is grab video1.mp4 and convert it.
ffmpeg -i folder\video1.mp4 -f mp3 -ab 160000 -vn "\different folder\music1.mp3"
and than move onto the next one
ffmpeg -i folder\video2.mp4 -f mp3 -ab 160000 -vn "\different folder\music2.mp3"
and than the next one
ffmpeg -i folder\video3.mp4 -f mp3 -ab 160000 -vn "\different folder\music3.mp3"
It's going to have to grab the name from the mp4 file and insert it for the mp3 file.
I can get around pretty good in cmd if it's basic commands but when it comes to something like this I'm a little confused...
Thanks for the help in advance!
I'll see what i can do about searching some more on what I would have to do and if I find the solution I'll post it here if it isn't already answered.
My Computer
- Computer Manufacturer/Model Number
- Toshiba Satellite (L505-S5988)
- OS
- Windows 7 (6.1.7600.16385)
- CPU
- Intel Core 2 Duo T6500 @2.10GHz Socket P (478) 2MB 800MHz
- Motherboard
- OEM - Chipset: Intel GM45/GM47 Southbridge: 82801IM (ICH9-M)
- Memory
- (2) Samsung M471B5673EH1-CF8 PC3-8500F (533MHz) Total 4096MB
- Graphics Card(s)
- Intel Mobile GMA4500MHD
- Sound Card
- Realtek HD Audio
- Monitor(s) Displays
- 16" TruBrite TFT LCD 1366x768 720p
- Hard Drives
- Toshiba MK3263GSX 320GB 5400rpm SATA
- PSU
- 65w (19V x 3.42A) AC Adapter
- Case
- NA
- Cooling
- Standard
- Keyboard
- Standard
- Mouse
- Synaptics TouchPad
- Internet Speed
- Charter Communications Cable Internet - 20m Down 3m Up