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. |
|
|
Thread Tools | Search this Thread | Display Modes |
20th October 2005, 23:16 | #1 | Link |
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? |
21st October 2005, 00:11 | #2 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
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.
|
21st October 2005, 14:22 | #4 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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. |
23rd October 2005, 21:48 | #5 | Link |
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. |
25th October 2005, 17:46 | #7 | Link |
Registered User
Join Date: Oct 2004
Location: India
Posts: 321
|
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 |
25th October 2005, 19:07 | #8 | Link | |
Registered User
Join Date: Jul 2002
Posts: 587
|
Quote:
go here http://fcchandler.home.comcast.net/ |
|
25th October 2005, 22:48 | #10 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
|
|
|
|