VirtualDub Second Pass Error

If you have questions about compression/encoding/converting look here.
Locked
User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

VirtualDub Second Pass Error

Post by Kero777 » Wed Jul 18, 2007 5:09 pm

Hello! :) Before I begin, please bare with me. This is my first time doing this. I am pretty new to Avisynth and VirtualDub. :D
I am trying to help my friend compress their video into a reasonable file size so they can put it up on the this website. They exported from Vegas 6.0 using MPEG-2 (I know: Gasp! :p) and that's the only thing I have to work with. Obviously they don't want any further quality loss, so I used avisynth using the directshow filters and cut off any black borders, resized, etc. I imported the .avis file into Virtual dub and followed the guide here: http://www.animemusicvideos.org/guides/ ... /xvid.html. The first pass was flawless: no errors, great video quality, and so on. It got reduced from 150MB to 119MB and for a second pass I was aiming for the "70% rule" which was a little over 83MB. I entered in all the information, calculated the kb, put it into the main XVID box and still followed the guide exactly. I began saving and the only thing working was the "Time elapsed" box. The rest of the boxes all had things like "Unknown" and many zero's showed up and the XVID status box wasn't moving at all. I waited a long time and eventually aborted it, and thank goodness the project was still in there so I could try again. I re-checked my calculation and it was correct. So I clicked the calc box next to the target size number and I noticed all the information was wrong: It said his video was over an hour long, etc. (The guide said you never have to change these settings if you follow the 70% rule, but I did it anyway to give it a try) I fixed everything and then noticed that the number on the main XVID setting box had changed a little. I went back and made sure they were both the same. When I tried saving again, the same thing happened. I tried many different things and finally the program came up with two different errors saying: "Thread deadlock detected attempting to abort - killing process" and then "The instruction at 0x018497a8 referenced memory at 0x01875d00. The memory could not be 'read.' Click OK to terminate the Program." I clicked OK because that's the only thing I could do and Oh noes! It shut off. Now I'll have to do this all over again from first pass (I think). :cry: Does anyone know what's causing this? If I do it all over again and take screenshots do you think anyone could more clearly understand what's going on and help me? Any help would be greatly appreciated. I really want to be able to do this for him and convert my own videos in the future.
Thanks for taking the time to read this!

User avatar
JaddziaDax
Crazy Cat Lady!
Joined: Tue Mar 16, 2004 6:25 am
Status: I live?
Location: Somewhere I think O.o
Contact:
Org Profile

Post by JaddziaDax » Wed Jul 18, 2007 5:17 pm

it could just be a random error...

id try it one more time and if it does it again then come back to the forums for help...

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Hmmm...

Post by Kero777 » Wed Jul 18, 2007 5:49 pm

JaddziaDax wrote:it could just be a random error...

id try it one more time and if it does it again then come back to the forums for help...
I really hope that's the case. I will try it again and take some screenshots and notes along the way. Maybe I'm doing the calculations wrong if it's not a random error. If the same happens I will post my information. So, yesh, thank you! *Crosses fingers*

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Well, if this isn't a dumb question...

Post by Kero777 » Wed Jul 18, 2007 8:52 pm

So, I had everything all typed out in here because my problem had happened again, but then I put a different calculation in and it started working but it only worked after I had gotten that error and VirtualDubMod closed out. I then erased all I had written and I tried it numerous times. I realized that if I close V-Dub out after the first pass and then I re-open the program, the second pass works, but if I don't it comes up with those errors. Now for the dumbest of all dumb questions (:P): Will the second pass still technically work correctly if V-Dub closes out before the second pass? I know the first pass is so the program can better read the data the next time around, but does it store the data somewhere so it knows or does the program have to stay open throughout each pass for it to work correctly? *Hits self in head* :sweat:

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Well, if this isn't a dumb question...

Post by Scintilla » Wed Jul 18, 2007 9:11 pm

Kero777 wrote:Will the second pass still technically work correctly if V-Dub closes out before the second pass? I know the first pass is so the program can better read the data the next time around, but does it store the data somewhere so it knows or does the program have to stay open throughout each pass for it to work correctly? *Hits self in head* :sweat:
It will work as long as you don't move or delete the stats file that XviD creates. (You can find this from the "stats filename" in the extended options for "encoding type".)
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Re: Well, if this isn't a dumb question...

Post by Kero777 » Thu Jul 19, 2007 10:25 am

Scintilla wrote: It will work as long as you don't move or delete the stats file that XviD creates. (You can find this from the "stats filename" in the extended options for "encoding type".)
That's very good news! Thank you! :) I hope you don't mind me asking another question, but I was wondering: is it possible to change where the "\video.pass" files are saved? Mine was saved just under C:/ and I'd like to create a folder named something like "Pass files" just so they will be safer (Or maybe it's best just to leave them where they are). :D

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Well, if this isn't a dumb question...

Post by Scintilla » Thu Jul 19, 2007 2:16 pm

Kero777 wrote:
Scintilla wrote:It will work as long as you don't move or delete the stats file that XviD creates. (You can find this from the "stats filename" in the extended options for "encoding type".)
That's very good news! Thank you! :) I hope you don't mind me asking another question, but I was wondering: is it possible to change where the "\video.pass" files are saved? Mine was saved just under C:/ and I'd like to create a folder named something like "Pass files" just so they will be safer (Or maybe it's best just to leave them where they are). :D
Yes, just specify a different filename in the options.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Re: Well, if this isn't a dumb question...

Post by Kero777 » Thu Jul 19, 2007 4:54 pm

Scintilla wrote:Yes, just specify a different filename in the options.
Aha! I see it now. Thanks, Scintilla. :D

Locked

Return to “Conversion / Encoding Help”