Log in

View Full Version : DGIndex extracted audio filename


txporter
6th January 2010, 21:43
I have been searching for an answer to this but haven't found one. Is there a way to tell DGIndex not to append all of the stream information to the name of the extracted audio file?

I have a few batch scripts that I use for conversion/muxing and it is much easier to work with audio filenames that are the same as the video filename (video.m2v and audio.ac3). I can simply rename the files afterwards or post process with a renamer utility, but if I could simply output the audio file without the extra info, I could combine some of my batch files.

Guest
6th January 2010, 21:49
Nope, there's no way to do that.

txporter
6th January 2010, 21:54
Well, at least I know the answer to that now...even if it isn't the one I was hoping for. :thanks:

henryho_hk
12th January 2010, 06:50
What if there are multiple audio tracks and u opt to demux all?

If you are sure that you will have one audio file only, the corresponding batch codes are easy:

for %%F in (video*.ac3) do ren "%%~snxF" "video.ac3"

txporter
12th January 2010, 18:44
Thanks for this. The files that I am working with are all merged .mpg from DVD rips. I pull only the audio file that I want, so there is only one to deal with. I found a solution using eac3to or ffmpeg to do the audio extraction, so all is well. I am using this for a batch file that encodes all videos in a folder, so I can't really hardcode 'video.ac3' into the rename string. No worries though, I have it doing what I need to now.