VirtualDub Issue - Happy Error Fun Time!

The old Video Software Help forum, left visible as an archive.

VirtualDub Issue - Happy Error Fun Time!

Postby scxcr » Sat Sep 02, 2006 6:47 pm

I am admittedly extremely new to the AMV world, so I'll try and give as much information as possible.

I've been following one of the guides to setup my current computer, specifically "VicBond007's Guide to Working with DVD Footage". Everything was going fine until I hit 'Checking Your Footage' on Page12:

Open up VirtualDub and using file/open, load up the .avs script we've been writing. Our video should load fine.

Well... not so much. The video came out looking like it had been run through a cheese grater once or five hundred times and, after skipping through a couple frames, I'd get these errors, in order:

"Avisynth read error:
CAVIStreamSynth: System Exception - Access Violation"
http://img.photobucket.com/albums/v283/ ... thmess.gif

"Runtime Error!

Program C:\... VirtualDub.exe

R6025
-pure virtual function call"
http://img.photobucket.com/albums/v283/ ... hmess2.gif

After that, the program immediately closed.

If it helps at all, this is what I'm using for the script:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
MPEG2Source("F:\HELLSING01\Video_TS\hellvid.d2v", idct=5, CPU=4, iPP=true)


Any and all help would/will be appreciated in the form of interpretive dance.
scxcr
 
Joined: 20 Aug 2005

Postby Gepetto » Sat Sep 02, 2006 8:07 pm

I'm not completely sure, but those might be memory warnings. Shut down all other programs to free up your RAM. The second one (Runtime Error) I get sporadically when opening my scripts in vdub. Restarting the computer, it goes away. But judging by the way your video looks on the screenshots, there's probably a problem with your d2v files or the .vobs. Try ripping the DVDs again.
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile
User avatar
Gepetto
Mr. Poopy Pants
 
Joined: 10 Jun 2004
Location: The Tokyo Settlement
Status: Bored to tears

Postby Kariudo » Sat Sep 02, 2006 9:00 pm

access violations are memory errors (unless I'm very mistaken)
you can try adding the line: SetMemoryMax(int) to your script. try 16 first, then 32 if 16 doesn't work.

d2v files can be very tempermental, if you move them they have a tendency to not work. If you let d2v files sit...they sometimes turn out like the examples you gave.
try re-transcoding your vob files to d2v files and see if that helps
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby scxcr » Sat Sep 02, 2006 10:05 pm

I tried a restart and reripping the DVDs four times, re-transcoding the vobs to d2vs, as well as closing down other programs to free up memory and the same thing still happens. I also tried the SetMemoryMax line, but that also returns an error saying it's not recognized as a video.

I've received another error, this time after trying to open the vob in DVD2AVI:

"You video card cannot handle YUV display. Coversion will work, but you will not get any display in YUV mode."

(Note: 'You' is not a typo)
scxcr
 
Joined: 20 Aug 2005

Postby Gepetto » Sun Sep 03, 2006 8:35 am

Maybe that's it. Try adding either one of these lines (not both) at the end of your script:

ConvertToRGB24()
ConvertToYV12()
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile
User avatar
Gepetto
Mr. Poopy Pants
 
Joined: 10 Jun 2004
Location: The Tokyo Settlement
Status: Bored to tears

Postby Kariudo » Sun Sep 03, 2006 9:42 am

just a note
some people have found compresssing in rgba (rgb32) goes faster than rgb (rgb24)...plus you get an alpha value which might come in handy...somewhere
so convertToRgb32() is also an option
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby scxcr » Sun Sep 03, 2006 2:02 pm

Well, I tried adding each of those separately and every time, this is what I got: the Runtime Error doesn't occur anymore, but the Access Violation still happens after playing the still-blotchy video.
scxcr
 
Joined: 20 Aug 2005

Postby Kariudo » Sun Sep 03, 2006 2:45 pm

how much ram do you have?
you might also want to try to just try to import the footage (get rid of cpu, idct and ipp).

if you're still open, perhaps you should try to re-retranscode your vobs to a different location (one folder/directory up) and see if that helps.

other than that...I can't suggest much more
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby scxcr » Sun Sep 03, 2006 5:19 pm

And the saga continues...

After getting rid of the suggested pieces of code and just importing the footage, the video came out as it should appear, though I continue getting the same two errors from the first post after about 12-15 frames of play:

http://img.photobucket.com/albums/v283/ ... hmess3.gif

Also, I'm currently operating on 512MB of RAM. (Assuming the Control Panel > System window isn't lying to me.)
scxcr
 
Joined: 20 Aug 2005

Postby BasharOfTheAges » Sun Sep 03, 2006 5:57 pm

If you're getting a pure virtual function call error that suggests your scripts aren't loaded properly. Something's missing in the underlying code that should be there.
Another Anime Convention AMV Contest Coordinator 2008-2014 & Head of the AAC Fan-works Theater - follow us on Twitter: https://twitter.com/#!/AACFanTheater
:sorcerer: :sorcerer: |RD: "Oh, Action!" (side-by-side) | |
User avatar
BasharOfTheAges
Just zis guy, you know?
 
Joined: 14 Sep 2004
Location: Merrimack, NH
Status: Extreeeeeeeeeme

Postby scxcr » Mon Sep 04, 2006 1:39 am

BasharOfTheAges wrote:If you're getting a pure virtual function call error that suggests your scripts aren't loaded properly. Something's missing in the underlying code that should be there.


The addition of the "ConvertTo" line has taken care of the pure virtual function call error, though the System Exception still occurs after 12-15 frames of play.
scxcr
 
Joined: 20 Aug 2005

Postby Gepetto » Mon Sep 04, 2006 7:35 am

How much RAM do ou have, again?
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile
User avatar
Gepetto
Mr. Poopy Pants
 
Joined: 10 Jun 2004
Location: The Tokyo Settlement
Status: Bored to tears

Postby scxcr » Mon Sep 04, 2006 11:23 pm

Also, I'm currently operating on 512MB of RAM. (Assuming the Control Panel > System window isn't lying to me.)
scxcr
 
Joined: 20 Aug 2005

Postby Gepetto » Tue Sep 05, 2006 10:36 am

Odd. I did fine with 512, except for a few crashes when exporting something more complicated. What about your virtual memory?
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile
User avatar
Gepetto
Mr. Poopy Pants
 
Joined: 10 Jun 2004
Location: The Tokyo Settlement
Status: Bored to tears

Postby scxcr » Tue Sep 05, 2006 6:50 pm

It currently sits at around 774 MB. It was lower, as I'm slowly transferring several files and folders to another drive.
scxcr
 
Joined: 20 Aug 2005


Return to Video Software Help Archive

Who is online

Users browsing this forum: No registered users and 1 guest