I can perform a multi-pass VBR encode on an .avi using the following script:
However, upon commenting the "selectrangeevery" filter out, at the end of the first pass (not the end of the .vaf file creation), CCE just aborts the encode and leaves me with an .m2v file of 0 bytes.Code:LoadPlugin("h:\windows\system32\MPEG2DEC3.dll") avisource("m:\CT.avi") BiCubicResize(720,272) AddBorders(0,104,0,104) selectrangeevery(1200,12) SwapUV() ConvertToYUY2()
I am assuming it has something to do with file size or number of frames served because other than that, I am drawing a blank.
Any suggestions greatly appreciated.
+ Reply to Thread
Results 1 to 6 of 6
-
Software: Windows XP Pro (SP1 Slipstreamed), DirectX 9.0, AVISynth 2.5, VDubMod 1.4.15, BeSweet 1.5b16, CCESP 2.64.01.09, DVD Maestro 2.9, RecordNow MAX 4.50
-
See if keeping a webpage open in the foreground (CCE minimized) helps it finish the other passes. This works for me.
-
I cannot minimize CCE, the only windows accessible during an encode is the status window.
In regard to keeping a browser open, ironically I have tried it both while surfing simultaneously and with CCE as the only running application. -
CCE will do that if there is no audio present in the stream, but since it works with the line in the script this probably is not the problem.
CCE will also fail in this way if an existing VAF file is re-used with a different video as input. Are you changing the file name when processing the second time? -
No audio, interesting point. However, like you said, if it works on a sample 1% file with no audio, then it should, theoretically, also work on the complete file. Incidentally, I always do my encodes without audio and remux during authoring.
Hmm, it seems to me that I tried using a .vaf file generated previously. I was using it on the same source but with minor changes to the options. I am going to doubt that this is the problem, but I am willing to give it a shot.
I will reply with my findings. -
Yes, you should definitely deleted the VAF if it has crashed. Don't risk reusing it.
Also, CCE 2.50 is not entirely stable or XP compatible as it can't load AVI files greater than 4GB without frameserving or it would stop at encoding the AVI when reading at the 4 GB mark.
I've had CCE crash on me with and without audio in the AVI, with and without the "audio downsampling" line in the AVISynth script (audio script line for AthlonXP compatibility), and while webbrowsing during the CCE encoding process.
The greatest success I've had with CCE is when I start the CCE encode and save the file *.m2v file with a short name and without spaces in the file name (e.g., use file1.m2v instead of file 1.m2v). Also, once CCE starts encoding, open a webpage and go to a page (one without java, javascript, activex, just a plain web page) and keep this page in the foreground (hiding CCE in the back). Now, don't do anything and let it finish encoding with the webpage in the front. After the VAF or each pass, CCE window may pop into the foreground but don't worry. Don't touch anything. Let it finish.
Hopefully, this might help you out.
Similar Threads
-
Does powerdirector have 2 pass VBR?
By perfection in forum Newbie / General discussionsReplies: 1Last Post: 24th Jul 2009, 23:49 -
question about vbr v/s cbr and 2 pass vbr
By perfection in forum Newbie / General discussionsReplies: 4Last Post: 14th Dec 2008, 03:55 -
CBR vs 2-pass VBR comparison (really 3)
By Quantum in forum Video ConversionReplies: 28Last Post: 2nd Oct 2008, 15:20 -
DVDA 4 can do 2-pass VBR?
By itsme1 in forum Authoring (DVD)Replies: 4Last Post: 14th Jul 2007, 23:24 -
Need help with ffmpeg 2-pass VBR encoding
By SliderVF14 in forum Video ConversionReplies: 8Last Post: 14th May 2007, 18:03