Hello,
I need to batch-demux AC3 audio from MPEG files. I looked at the command-line for DGMPGDec's DGIndex.exe program, and I can't find the option to ONLY demux the audio from an MPEG file (not saving a d2v project). Is there any way to do this from the command-line (the same thing as going to File --> Demux Audio Only)? On the side, is there any way to change the filename format of the demuxed audio (e.g. from "myfile.mpg" to "myfile.ac3" instead of something like "myfile T01 2_0ch 256Kbps.ac3")?
Thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
Originally Posted by Soopafresh
If I have a mpglist.txt (or voblist.txt) that contains:
SC S1E01.mpg
SC S1E02.mpg
SC S1E03.mpg
I would like to get .d2v and .ac3 of the same name (or ac3 files with all of the format info tacked on if that cannot be dropped). The batch file that soopafresh posted above names that files 'x'. Is there a way with a single batch file (or multiple if needed) to take the first line of the mpglist.txt file as an argument like %1 (and then the next line, etc) and use that to create the output names?
Also, what does the last line (for %%aa in...) do? -
Found a thread over on Doom9 to help me figure this out.
Here is the bat file that I ended up with:
Code:FOR /F "usebackq" %%A IN (`dir /b /on *.mpg`) DO dgindex -IF=[%%A] -FO=0 -AT=[template.avs] -OF=[%%~nA] -HIDE -EXIT
Similar Threads
-
ffmpeg generate audio/add to video help please, command line
By surfmonkee in forum LinuxReplies: 3Last Post: 11th Sep 2011, 16:17 -
Cannot open file for audio demux output in DGindex
By andy_blah in forum DVD RippingReplies: 5Last Post: 31st Jan 2009, 16:53 -
Command Line Tool that will output Re-Encoded Audio
By Maikeru-sama in forum Video ConversionReplies: 11Last Post: 13th Jan 2008, 00:56 -
put few audio files on a video ( by command line tool )
By zoha520 in forum Newbie / General discussionsReplies: 0Last Post: 10th Sep 2007, 04:21 -
command line fix for audio out of sync
By czhower in forum DVD RippingReplies: 14Last Post: 14th May 2007, 09:43