Log in

View Full Version : comman line software/utilities


hoitantan
3rd December 2009, 19:49
Hello..

I am fairly new at this and would like some pointers on which command line softwares to use to:

1. demux a .vob file into it streams. "The .vob file contains 2 audio tracks. 90% of the audio tracks in the .vob file are .ac3..and the rest are .mp2."

2. Normalize the demuxed audio tracks (.ac3 or .mp2).

3. mux the video stream and audio tracks back into a .vob file.

I need it in command line b/c I am planning to write a little C# app to do all of this because I have a lot of .vob files to process.

Please list the sofware name and example command line to the software would be greatly appreciated!!!

P.S. I've heard of .ac3 files have delays in them? If I just want to demux the .vob file and normalize the ac3 file...and them mux it back..would the audio have a chance to be out of sync??

Thanks,
HTT

osgZach
3rd December 2009, 20:14
If I understand correctly, I don't think the actual AC3 file has a delay in it, but that when muxed into the VOB container, there is probably a tag which specifies an audio delay (like when you mux an MKV). I am guessing this is why a lot of demuxing apps attach the delay time to the filename of AC3's.

Or I could be totally wrong, so now I'm interested in knowing too.

stax76
3rd December 2009, 20:50
ProjectX maybe but I would rather convert it to H.264 + AAC + MKV

hoitantan
3rd December 2009, 21:02
If I understand correctly, I don't think the actual AC3 file has a delay in it, but that when muxed into the VOB container, there is probably a tag which specifies an audio delay (like when you mux an MKV). I am guessing this is why a lot of demuxing apps attach the delay time to the filename of AC3's.

Or I could be totally wrong, so now I'm interested in knowing too.

Yes, I think you're right..because when I used to demux using DVD2AVI..the ac3 file name has the delay time in it. I guess that's good to consider when I mux the back the ac3 to vob after I normalize it.

But I am still looking around for some help on what software that does the demux, normalize, mux in command line mode.

Thanks

Inspector.Gadget
3rd December 2009, 21:10
DGIndex (modern version of the DVD2AVI tool) can be run in command line mode and even batched. From there, you'll have to call a muxer of your choice; I don't know what the tool to use these days is.

Also, I think you can't normalize AC3 without re-encoding but you may be able to manipulate the DRC tags, etc.

hoitantan
3rd December 2009, 21:41
DGIndex (modern version of the DVD2AVI tool) can be run in command line mode and even batched. From there, you'll have to call a muxer of your choice; I don't know what the tool to use these days is.

Also, I think you can't normalize AC3 without re-encoding but you may be able to manipulate the DRC tags, etc.

Great..I'll take a look at DGIndex to demux the vob...But I heard that Besweet/Ac3Machine can normalize ac3 files..is that true?
And Mecoder can mux streams into vob. But can it handle multiple audio tracks..??

Thank,
HTT