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.


Go Back   Doom9's Forum > General > Audio encoding

Thread Tools Search this Thread Display Modes
Old 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?
Zag is offline   Reply With Quote
Old 17th January 2007, 16:05   #2  |  Link
foobaring my ass off
Skelsgard's Avatar
Join Date: Nov 2005
Location: Argentina
Posts: 620
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.

"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 17th January 2007, 17:08   #3  |  Link
Registered User
Join Date: Feb 2006
Posts: 56
I'll give that a shot. Thanks for the info.
Zag is offline   Reply With Quote
Old 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


save the following as espn.bat
for %%a in (*.tsp) do ffmpeg -i "%%a" -vn -acodec mp3 -ac 2 -ab 128 -ar 44100 -y "%%~na.mp3"
Put everything in the same folder as your espn feeds - it should look like this:


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.
Pookie is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 15:47.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.