PDA

View Full Version : CCE craps out after first VBR pass ...


Pratticus
22nd February 2003, 08:55
Another quickie..

I can perform a multi-pass VBR encode on an avi using the following script:

LoadPlugin("h:\windows\system32\MPEG2DEC3.dll")
avisource("m:\CT.avi")
BiCubicResize(720,272)
AddBorders(0,104,0,104)
selectrangeevery(1200,12)
SwapUV()
ConvertToYUY2()

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.

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 :) .

auenf
24th February 2003, 12:15
no need to load the mpeg2dec3.dll plugin for an avisource.

Enf...

Ácaro
24th February 2003, 17:08
Why are you using selectrangeevery() instead of a bitrate calculator like "videocalc"?

I thought selectrangeevery() was only used for CCE One Pass VBR Qfinder.

Pratticus
25th February 2003, 00:35
@auenf:

Cripes. I have been using this on all my .avi files because I guess I assumed it was needed. Removing that line from my script bumped my encoding speed from ~1.8 to ~2.1. Thanks auenf!

@Acaro:

I use the selectrangeevery so I can perform a quick evaluation of the encode with a given average, maximum and minimum bitrate to determine the expected file size.

Ácaro
25th February 2003, 14:03
Yes, I understood that. But why don't you try a bitrate calculator like "videocalc" ? It gives all the info you need, max avg bitrate, resizing, cd space, audio space, etc. And it's very accurate.