Log in

View Full Version : Avs file and only 240 frames


Joe Satriani
23rd April 2005, 18:49
Hi, I'm trying to compress The Godfather 2 using CCE 2.66.01.07 but whenever I load the .avs file, CCE only reads a movie (.d2v file) whose duration is 10 sec and frames ONLY 240.
This happens with every movie I try to backup!!

Everything is fine if I use DVD-RB, instead!

Any suggestion ??

Thanks in advance
Joe

fccHandler
23rd April 2005, 19:14
Try opening the .avs in VirtualDub, it may reveal an Avisynth error message.

Joe Satriani
23rd April 2005, 20:10
Originally posted by fccHandler
Try opening the .avs in VirtualDub, it may reveal an Avisynth error message. That's what I have done....(my experience comes from divx...I know these tricks as well :-) ) and got an error, so I downloaded the DGDecode.dll file again!
Now CCE loads the .avs file fine, but I get another error message: "Couldn't find appropriate video codec for YV12"...
Can anyone tell me why ??

Thanks!
Joe

buzzqw
23rd April 2005, 20:36
install xvid !

BHH

Joe Satriani
24th April 2005, 01:32
Originally posted by buzzqw
install xvid !

BHH ?????????????????????????????????????????????????

Axed
24th April 2005, 06:52
The reason that person posted to install XviD is because it includes a YV12 decoder. Alternatively, you could also install the Helix YV12 (http://forum.doom9.org/showthread.php?s=&threadid=56972&highlight=helix+yv12) decoder if you dont want to install XviD.

Boulder
24th April 2005, 09:19
Use ConverttoYUY2() as the last item in your script. No need to let any codec do the colorspace conversion.

Joe Satriani
24th April 2005, 11:10
Thanks to everybody: that was the problem!!!
I only added "ConverttoYUY2()" to the .avs script to fix everything!

Thanks again
Joe

ohhowhappy
28th April 2005, 18:14
I'm having the same problem, but with a twist:

I first CCE'd the file and when I played the mpv -- I had no problems -- I realized that I needed to resize it. I generated an .avs with FitCD

AVISource("abcd.avi",audio=false)
LanczosResize(592,480,0,0,432,320)
AddBorders(64,48,64,48)
#Trim(0,39339).FadeOut(150)
ConvertToYUY2() # For VirtualDub or CCE

Now I'm getting the 240 frames error. When I load the avs into Vdub I get an error, can't decompress frame 0.

I've been able to use FitCD before with some success, and I haven't seen this before.

Thanks for your help.

buzzqw
28th April 2005, 19:21
may be the B frames lag...
try someting like trim(1,0)

BHH

Boulder
28th April 2005, 20:13
The error message means that you don't have the required codec.

ohhowhappy
28th April 2005, 20:18
thanks for responding.

Changing to Trim(1,0) didn't work.

If I don't have the required codec, wouldn't that have made it impossible for me to do the first encoding which I tried to improve on? Gspot tells me the codecs are installed, too.

LanczosResize(592,480,0,0,432,320)
AddBorders(64,48,64,48)
Trim(1,0)
ConvertToYUY2() # For VirtualDub or CCE

Joe Satriani
28th April 2005, 21:19
Originally posted by Boulder
The error message means that you don't have the required codec. Boulder is right!!!!! From my personal experience, the codec you have to use not to get the "240 frames error" is the SAME ONE you used with "DgIndex" to create the .d2v file: in other words, the .dll file you findhere (http://www.doom9.org/Soft21/Decoders/dgmpgdec121.zip)


Joe

ohhowhappy
28th April 2005, 22:53
the codec you have to use not to get the "240 frames error" is the SAME ONE you used with "DgIndex" to create the .d2v file

Thanks. Sorry if I'm being dense. I downloaded that file, and it contains the same files that I already have installed as part of my Avisynth setup. But are you suggesting that they are not being used? Again, what throws me is that I've never seen this error before when using .avs files in cce.

Here's the Gspot video info (it's a very low quality TV rip)

ideo Codec Type(e.g. "DIV3"): DIVX
Video Codec Name(e.g. "DivX 3, Low-Motion"): DivX 4 (OpenDivX)
Video Codec Status(e.g. "Codec Is Installed"): Codec(s) are Installed
Duration (hh:mm:ss): 00:26:14
Frame Count: 39340
Frame Width (pixels): 432
Frame Height (pixels): 320
Frame Aspect Ratio (e.g "1.3333"):
Frame Aspect Ratio (e.g. "4:3"):
Pixel Aspect Ratio ("SAR"):
Display Aspect Ratio ("DAR"): 1.350
Frames Per Second: 25fps
Video Bitrate (kbps): 2
MPEG-4 ("MPEG-4" or ""): MPEG-4

Boulder
29th April 2005, 06:02
If you feed the file directly to CCE, it uses DirectShow to decode it. If you open a file with Avisynth, you need a VfW-capable decoder. You don't have one installed and that's why you get the error.

If you can open the file (not the script) in WMP but not in VirtualDub, that's exactly the case. GSpot deals only with DirectShow.

Install DivX 5.2.1 and you should be ok.

aiataga
6th May 2005, 19:10
DirectShowSource("abcd.avi", 25, true, false, true)

can open your source with DirectShow w/o installing the right (divx3) codec

Boulder
7th May 2005, 06:58
DirectShowSource often gives more problems than it solves so AVISource is the best bet. You don't need to install the crappy hacked DivX3, DivX5 can decode all DivX content.