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 > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th October 2005, 23:16   #1  |  Link
bryanc
Registered User
 
Join Date: Dec 2004
Posts: 4
Any way to link audio to video in m2v file using DGIndex?

I'm using DGIndex to encode a VOB file into a m2v, but when i do, it saves the audio as a separate file. is there anyway to set it to save the audio in the m2v file? or is that not possible?

ultimately all i really want is an AVI file from the VOB file that i can re-encode and compress, should i be doing this a different way?
bryanc is offline   Reply With Quote
Old 21st October 2005, 00:11   #2  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,174
m2v is a video stream only and cannot contain audio; if you want one file you have to use the vob (or convert the vob to mpg via another tool). You might try dvd2avi (older version of dgindex) if that's all you need, or a short avisynth script that points to the vob instead of the m2v (ie, don't demux anything); since an avi can't hold the vob data directly it'd have to be recompressed one way or another.
foxyshadis is offline   Reply With Quote
Old 21st October 2005, 02:58   #3  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,274
Hi!

Quote:
all i really want is an AVI file from the VOB file that i can re-encode and compress
Two of many possibilities - Load the .VOB into either VirtualDubMod or MPEGMediator...
setarip_old is offline   Reply With Quote
Old 21st October 2005, 14:22   #4  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Just read the Quick Start guide that comes with DGMPGDec. It explains how to serve the video and audio together to VirtualDub.

Here's the basic Avisynth script you'd need (this one assumes you have AC3 audio):

video=MPEG2Source("myvob.d2v")
audio=AC3Source("myvob.ac3")
AudioDub(video,audio)

VirtualDub can open that script and have the video and audio.

Last edited by Guest; 21st October 2005 at 14:25.
Guest is offline   Reply With Quote
Old 23rd October 2005, 21:48   #5  |  Link
bryanc
Registered User
 
Join Date: Dec 2004
Posts: 4
virtual dub mod won't open up mpeg 2 streams. i tried mpeg mediator, but it wouldn't allow me to configure an AVI plugin, the drop down box was just empty. maybe because i'm running xp64, and when i tried to do a 5min vob file to mpeg using mpeg mediator, it told me it was going to take 27hours.

any other program reccommendations? like i said, all i really want to do is open the vob file and re-encode it to a different codec, i.e. avi, wmv, and quicktime.
bryanc is offline   Reply With Quote
Old 25th October 2005, 07:19   #6  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,291
Donald just pointed you to the Quick Start guide, did you take a look at it?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 25th October 2005, 17:46   #7  |  Link
mgh
Registered User
 
Join Date: Oct 2004
Location: India
Posts: 322
Copy following in notepad and save as template.avs in the same folder as DGIndex

setmemorymax=64
loadplugin("C:\Program Files\dgindex\DGDecode.dll")
mpeg2source("__vid__",cpu=6).removedirt(athreshold=400)
aud="__aud__"
a=rightstr(aud,3)
b=rightstr(aud,10)
c=leftstr(b,4)
d=value(c)
e=d/1000
#My rips are either mpa or ac3
a=="ac3" ?audiodub(last,nicac3source(aud,2)).delayaudio(e):NOP
a=="mpa" ?audiodub(last,nicmpasource(aud)).delayaudio(e):NOP
return last

Suppose the video you have loaded into DGIndex is xxx.yyy from the folder C:\video, DGIndex will save a file called xxx.avs in C:\video.
Load it in virtualdub, it will load correctly with audio and video in sync.
__________________
A shut mouth gathers no foot
mgh is offline   Reply With Quote
Old 25th October 2005, 19:07   #8  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally Posted by bryanc
virtual dub mod won't open up mpeg 2 streams. .
Maybe he meant fcchandlers version of VDub which does open MPEG2 just fine.

go here


http://fcchandler.home.comcast.net/
Zep is offline   Reply With Quote
Old 25th October 2005, 22:42   #9  |  Link
bryanc
Registered User
 
Join Date: Dec 2004
Posts: 4
rad, fcchandlers vdub worked well.

as for the other posts, yes, i read the readme file after someone pointed it out. however, i need an actual avi file, not an avs.
bryanc is offline   Reply With Quote
Old 25th October 2005, 22:48   #10  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Quote:
Originally Posted by bryanc
as for the other posts, yes, i read the readme file after someone pointed it out. however, i need an actual avi file, not an avs.
LOL. That's why VirtualDub has the "Save as AVI..." function.
Guest is offline   Reply With Quote
Old 26th October 2005, 02:01   #11  |  Link
bryanc
Registered User
 
Join Date: Dec 2004
Posts: 4
right, but the original VirtualDub doesn't open mp2.....

but now i'm running fcchandler's version. which does.
bryanc is offline   Reply With Quote
Reply

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 01:05.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.