Joining files with Avisynth in VirtualDubMod

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Joining files with Avisynth in VirtualDubMod

Postby SrgtWilco » Sun Mar 18, 2007 7:30 pm

Just as a heads up, I am completely inexperienced with Avisynth.

Here's the script I'm trying to use to join two .VOB files:
DirectShowSource("F:\Film - Anime\Last Exile\01.1_First Move.VOB")+DirectShowSource("F:\Film - Anime\Last Exile\01.2_First Move.VOB")


And when I try to load it into VirtualDubMod, here's the error message I get:
Avisynth Open Failure: DirectShowSource: I can't determine the frame rate of the video; you must use the "fps" parameter


Please let me know what script I should use, how I can figure out the frame rate of the clip, or just some general advice on loading my files with Avisynth.
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby Pwolf » Sun Mar 18, 2007 7:45 pm

you should be using dgindex to process the vobs and they you would use mpeg2source instead of directshow

Pwolf
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Postby SrgtWilco » Sun Mar 18, 2007 10:05 pm

Pwolf wrote:you should be using dgindex to process the vobs and they you would use mpeg2source instead of directshow

Pwolf


So, what's dgindex? Where do I get it?
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby Willen » Mon Mar 19, 2007 7:31 am

SrgtWilco wrote:
Pwolf wrote:you should be using dgindex to process the vobs and they you would use mpeg2source instead of directshow

Pwolf


So, what's dgindex? Where do I get it?

http://neuron2.net/dgmpgdec/dgmpgdec.html

It's part of DGMPGDec (the other component is DGDecode). It's an update/replacement for DVD2AVI/MPEG2DEC.

I'd recommend getting the newest non-beta release. AND if you ever update it, be warned that D2V files made with the previous version won't work anymore so you'll have to create them again (a minor inconvenience).

Directions for use here: http://www.animemusicvideos.org/guides/ ... getb2.html
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Postby Willen » Mon Mar 19, 2007 7:36 am

Oh, and for future reference, this is how you apply the fps parameter:

DirectShowSource("F:\Film - Anime\Last Exile\01.1_First Move.VOB",fps=29.97)+DirectShowSource("F:\Film - Anime\Last Exile\01.2_First Move.VOB",fps=29.97)


This does require finding out what the correct fps of the video is first. :|
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Postby SrgtWilco » Mon Mar 19, 2007 8:53 pm

Willen wrote:Oh, and for future reference, this is how you apply the fps parameter:

DirectShowSource("F:\Film - Anime\Last Exile\01.1_First Move.VOB",fps=29.97)+DirectShowSource("F:\Film - Anime\Last Exile\01.2_First Move.VOB",fps=29.97)


This does require finding out what the correct fps of the video is first. :|


Thanks, this helps a lot - could you tell me how I can find the fps, though?
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby Scintilla » Mon Mar 19, 2007 9:00 pm

SrgtWilco wrote:
Willen wrote:Oh, and for future reference, this is how you apply the fps parameter:

DirectShowSource("F:\Film - Anime\Last Exile\01.1_First Move.VOB",fps=29.97)+DirectShowSource("F:\Film - Anime\Last Exile\01.2_First Move.VOB",fps=29.97)


This does require finding out what the correct fps of the video is first. :|

Thanks, this helps a lot - could you tell me how I can find the fps, though?

If you open the VOB directly in VirtualDubMod (without AVISynth), then go to File --> File Information..., it should tell you.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby x_rex30 » Tue Mar 20, 2007 1:13 am

Scintilla wrote:
SrgtWilco wrote:
Willen wrote:Oh, and for future reference, this is how you apply the fps parameter:

DirectShowSource("F:\Film - Anime\Last Exile\01.1_First Move.VOB",fps=29.97)+DirectShowSource("F:\Film - Anime\Last Exile\01.2_First Move.VOB",fps=29.97)


This does require finding out what the correct fps of the video is first. :|

Thanks, this helps a lot - could you tell me how I can find the fps, though?

If you open the VOB directly in VirtualDubMod (without AVISynth), then go to File --> File Information..., it should tell you.
haha, that's how I always do it.
User avatar
x_rex30
 
Joined: 10 Apr 2001

Postby SrgtWilco » Tue Mar 20, 2007 6:32 pm

*tents hands Monty Burns style*

Eeexcellent...
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby SrgtWilco » Wed Mar 21, 2007 4:48 pm

Pwolf wrote:you should be using dgindex to process the vobs and they you would use mpeg2source instead of directshow

Pwolf


...one more problem though: I've downloaded dgindex, and taken a look at it, and looked at the guides, and I'm not sure exactly what it's supposed to do and where I'm supposed to use it. Help?
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby quadir » Wed Mar 21, 2007 7:16 pm

Lesson #2 of Zarxrax's Video Tutorials is what you want to watch to know exactly how to use DGIndex.
User avatar
quadir
I Know Drama
 
Joined: 28 Oct 2001
Location: Ottawa, Canada

Postby SrgtWilco » Wed Mar 21, 2007 8:52 pm

quadir wrote:Lesson #2 of Zarxrax's Video Tutorials is what you want to watch to know exactly how to use DGIndex.


Excellent! That's exactly the kind of guide I need - one question though: when I ripped my DVD files (using AnyDVD and CloneDVD, not DVDDecrypter), I got rid of the .IFO files - is that going to screw me up?
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby Scintilla » Wed Mar 21, 2007 9:05 pm

SrgtWilco wrote:
quadir wrote:Lesson #2 of Zarxrax's Video Tutorials is what you want to watch to know exactly how to use DGIndex.

Excellent! That's exactly the kind of guide I need - one question though: when I ripped my DVD files (using AnyDVD and CloneDVD, not DVDDecrypter), I got rid of the .IFO files - is that going to screw me up?

No. The only files you need are the .VOBs.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby SrgtWilco » Thu Mar 22, 2007 3:28 pm

Well, this sucks - I followed the video guides up to the point where you load the avisynth file into VirtualDubMod, but it's coming up with this message:

Avisynth open failure: couldn't open source file, or obsolete d2v file


Now, I know it mentions the "obsolete d2v file" problem on the written guide, but the solution there is to remake old DVD2AVI-created files using DGIndex...the program I used to make the files in the first place. Just as background info, I have the .vob files saved on a different drive than the program files for virtualdubmod...don't know if that helps at all, but I'd appreciate some advice on what to do here.

The avisynth script, by the way, is this:
MPEG2Source("F:\Film - Anime\Last Exile\Project Files\01_First Move.d2v", cpu=6)
Murphy's Constant: If outcome may = A or B, where A=Good and B=FUBAR, anticipate B as most probable result.
User avatar
SrgtWilco
 
Joined: 16 Oct 2006
Location: Northeast Illinois

Postby Willen » Fri Mar 23, 2007 1:22 am

SrgtWilco wrote:Well, this sucks - I followed the video guides up to the point where you load the avisynth file into VirtualDubMod, but it's coming up with this message:

Avisynth open failure: couldn't open source file, or obsolete d2v file


Now, I know it mentions the "obsolete d2v file" problem on the written guide, but the solution there is to remake old DVD2AVI-created files using DGIndex...the program I used to make the files in the first place. Just as background info, I have the .vob files saved on a different drive than the program files for virtualdubmod...don't know if that helps at all, but I'd appreciate some advice on what to do here.

The avisynth script, by the way, is this:
MPEG2Source("F:\Film - Anime\Last Exile\Project Files\01_First Move.d2v", cpu=6)

Did you move the VOBs since you made the D2V file(s)?

Also, make sure that the DGIndex.dll and DGDecode.dll files correspond to one another. Find your DGMPGDec folder (mine is located at C:\Program Files\AMVapp\DGMPEGDec) and check the version of DGIndex.exe (hover over the file with the mouse pointer or right-click and select Properties > Version). Then do the same for the DGDecode.dll file in your AviSynth plugins folder (C:\Program Files\AviSynth 2.5\plugins). If they don't match, then copy the correct DGDecode.dll file over to your AviSynth plugins folder. If they do happen to match, well... remake the D2V files again? :|
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 2 guests