Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th January 2007, 18:56 | #1 | Link |
Registered User
Join Date: Feb 2006
Posts: 56
|
Automate audio demuxing and conversion to mp3
For my morning commute drive, I like to listen to espn sports radio which is no longer available in my area. I have been recording the show from espn2 in the morning, demuxing the audio using DGIndex and converting the .mpa to mp3 using River Past Audio converter. Although it only takes a few minutes to do each morning I would like to see if I could automate these few steps. Maybe create a batch file that can be scheduled to run after the recording. What command line tools could I run?
|
17th January 2007, 16:05 | #2 | Link |
foobaring my ass off
Join Date: Nov 2005
Location: Argentina
Posts: 618
|
Why don't you just record directly to MP3 instead of video with MP2 audio to have to transcode later?
The are several MP3 recorders outthere, some of them free like the MP3MyMP3 2 Recorder, others are paid like TotalRecorder (which has scheduling features). Itīll save the hassle of transcoding and the loss of quality that implies. Cheers
__________________
"Damn, respect my authoritay!!" - E. Cartman |
18th January 2007, 11:51 | #4 | Link |
Registered User
Join Date: Apr 2005
Posts: 1,339
|
what is the extension of the source files - .TSP ? If it isn't, change the script below to whatever it is...
Download this http://tirnanog.fate.jp/mirror/ffmpeg/ffmpeg.rev7375.7z http://sourceware.mirrors.tds.net/pu...pthreadGC2.dll save the following as espn.bat Code:
for %%a in (*.tsp) do ffmpeg -i "%%a" -vn -acodec mp3 -ac 2 -ab 128 -ar 44100 -y "%%~na.mp3" file1.tsp file2.tsp ffmpeg.exe ffplay.exe espn.bat pthreadGC2.dll Doubleclick on Espn.bat and it should do the job.... But, as Skelsgard said, easier to record directly to mp3 if you can.... Last edited by Pookie; 18th January 2007 at 12:28. |
Thread Tools | Search this Thread |
Display Modes | |
|
|