View Full Version : Extracting audio segment from VOB
asarian
31st October 2011, 07:19
I'm trying to cut a video clip out of an old VOB. For the video itself, it was easy:
Trim(110773, 117522)
How do I get avisynth to extract that same segment from the audio track, though? (so I can mux the two later on) It's an ac3 track. The video output is going to x264, but how do I save the audio to file?
Thanks.
yup
31st October 2011, 09:18
asarian!
Use old good DGIndex.
yup.
asarian
31st October 2011, 10:16
asarian!
Use old good DGIndex.
yup.
Ah yes, forgot about that one. :) Thanks.
I got it to work using a makeshift solution with Adobe Premiere 5, creating a subclip (I used Adobe Premiere to determine the frame boundaries for Trim to begin with); then I was able to have Adobe Premiere export the audio of the subclip to Adobe Soundbooth, in which I could save it as a file.
vampiredom
1st November 2011, 00:54
You might find my MpegAutoIndexSource() function handy:
http://forum.doom9.org/showthread.php?t=162930
It automates the indexing and sourcing via DGIndex handles dubbing of the AC3 nicely (with options for downmixing to stereo, etc.)
Example:
MpegAutoIndexSource("foo.VOB", Downmix=true)
Trim(110773, 117522)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.