Log in

View Full Version : CCE Error: Frame size 860x56 is not supported


LakersFan
31st December 2005, 02:51
I get this error when trying to encode a PAL interlaced (verified w/ Virtual Dub Mod) movie. As some as I enter the avs script in CCE, I get this error and it won't load. The source is 720x576 per DVD2AVIdg, not 860x56. I'm trying to convert an adult movie (PAL source) into NTSC with CCE - (just for the heck of it - I know about PAL/NTSC players!!)

Here's the avs script I am using:
LoadPlugin("C:Program Files\AviSynth 2.5\plugins\MPEG2Dec3dg.dll")
Mpeg2Source("post-dvdtoavi.d2v")
ConvertToYUY2()
BicubicResize(720,480)
AssumeFPS(23.976)

Any ideas?

neo squidward
31st December 2005, 04:00
i'm not sure but I think ConvertToYUY2() has to be at very end

Fishman0919
31st December 2005, 05:02
Should look something like this...

LoadPlugin("C:\Test\DGIndex\DGDecode.dll")
mpeg2source("C:\Test\test.D2V")
AssumeFPS(23.976)
BicubicResize(720,480)
ConvertToYUY2()

LakersFan
31st December 2005, 05:24
Thanks for the suggestions, but I am still getting the same error.
Here's the info from Bitrate viewer if that helps at all:
Num. of picture read: 26
Stream type: MPEG-2 MP@ML CBR
Resolution: 720*576
Aspect ratio: 4:3 Generic
Framerate: 25.00
Nom. bitrate: 6000000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 8
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Interlaced
Notes:

The new avs file looks like this:
LoadPlugin("C:Program Files\AviSynth 2.5\plugins\MPEG2Dec3dg.dll")
Mpeg2Source("post-dvdtoavi.d2v")
AssumeFPS(23.976)
BicubicResize(720,480)
ConvertToYUY2()
Thanks again for helping.

Pookie
31st December 2005, 05:48
And your script loads OK in VdubMod ? Hmmm...

Just some random thoughts (probably wrong, but if you're out of ideas...)

Rerun DGIndex on the source and parse the .d2v for any weirdness.

Try a different resizer -

Spline36Resize(720,480)

Change the numbers and see if CCE complains with a new message:

BicubicResize(480,352)

What happens if you crop(8,8,-8,-8), then resize ?


Good luck, we're rooting for you. Don't give up. NEVER give up ! :)

LakersFan
31st December 2005, 06:00
Well,
I'm using DVD2AVIdg. So I reran it and ended up getting the same error.
I tried changing BicubicResize to Spline36Resize & got the same error.
I changed the numbers to 480,352 & got the same error.
I added Crop(8,8,-8,-8) before the bicubic resize and got the same error.

Argh! :(
Oh well, at least figuring this out will give me something to do tonight.

Edit- and I opened the avs file in Virtual Dub Mod and it open and played just fine.

neo squidward
31st December 2005, 06:16
Did some reading around on the net and everything I've read suggests improper avisynth installation. Try reinstalling avisynth 2.56. Or try using dgdecode.dll instead of MPEG2Dec3dg.dll

Axed
31st December 2005, 06:27
What version of CCE are you using?

LakersFan
31st December 2005, 06:35
Woah! Some success. I uninstalled avisynth and reinstalled it ... no change.

Then I changed to dgdecode.dll and it worked! So I guess it had something to do with my MPEG2Dec3dg.dll...

Next question - does it really matter which dll I use?

ps- using CCE 2.67.0.27

LakersFan
31st December 2005, 06:55
Update: Using the "working" avs file with the dgdecode.dll, I loaded the avs in BatchCCEWS 0.9.1.5 and it gives me a resolution of 620x56 and 240 frames. I re-did all four VOBS in DVD2AVIdg and still get the same. It also says length is 00.00.10.00...

Weird! Maybe it's just encoded funky to begin with??

neo squidward
31st December 2005, 07:43
i never used MPEG2Dec3dg.dll, always DGdecode.dll for my mpeg2 sources. Is there a special reason to use MPEG2Dec3dg rather than dgdecode?

LakersFan
31st December 2005, 08:04
Nope. That's just what the tutorial I was following recommended...

manono
31st December 2005, 13:58
That's probably your problem. You can't mix and match the different DGIndex and DGDecode.dll versions. First, get the current DGMPGDec package here:

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

Make a new D2V project file using the new DGIndex it contains, and also use the DGDecode.dll that comes in that package, and make sure the LoadPlugin line for DGDecode.dll points to it correctly in your AviSynth script file (the .avs).

LakersFan
31st December 2005, 19:26
That's the problem! I did what manono said and everything seems to be working just fine as I encode. Thanks everyone for your help.

:)