View Full Version : Problems with avisynth and CCE
rhayman
4th August 2003, 23:28
I am using cce 2.64 and avisynth 2.5
I tried using these two before but cce wouldent encode the file.
I did however find a way around this by simply adding ConvertToYUY2()
at the end of the script.
I am backing up a pal dvd and am using avisynth, mpeg2dec3 (i couldent get mpeg2dec to work, is there a better mepg2dec that i could use) and dvd2avi 1.76.
anyway im not sure but the quality seems to be coming out worse than it usually does when im encoding.
My avisynth scrips looks like this:
LoadPlugin("C:\mpeg2dec3\MPEG2DEC3.dll")
mpeg2source("G:\test.d2v")
ConvertToYUY2()
A couple of questions:
1) why do i have to use the ConvertToYUY2() for cce to encode the file
2) is there a better mpeg2dec vesrion to use (i tried searching for a comparison but could not find anything)
3) Does The ConvertToYUY2() affect video quality, in dvd2avi i have YUV 4:2:2 selected under colour space.
could anyone help out please
NeonEva
5th August 2003, 03:36
well you have to use the convert because CCE only allows certain video formats to be inputed into it, can't remember exactly what ones it does accept but I always have to use the convert when I am encoding SVCDs via CCE also ^_~
hopefully somebody else can elaborate on this more :D
Wilbert
5th August 2003, 11:36
1) mpeg2dec3 (newest is v1.10) outputs YV12. Since CCE processes YUY2, you have to convert it somewhere in your script.
2) You can also try mpeg2dec for AviSynth v2.5 (see the filter collection sticky). This one outputs YUY2, so no color conversions is necessary.
3) Hardly noticable. At the end, there is always a YV12->YUY2 conversion somewhere since the dvd uses YV12.
rhayman
5th August 2003, 14:26
Okay thanks.
One more thing i have a pentium 4 2.4ghz and 512mb ram and i get encoding speeds of 1.1, i hear people getting much faster speeds. is there any way to speed up the encoding.
r6d2
5th August 2003, 23:30
Originally posted by rhayman
One more thing i have a pentium 4 2.4ghz and 512mb ram and i get encoding speeds of 1.1, i hear people getting much faster speeds. is there any way to speed up the encoding. [/B]
I guess you should be getting more. I get more speed with a humble Celeron 1.7 and same amount of RAM (when not using heavy filtering).
This worked for me: I was having speed problems and applying la_NCe01s's dmafix.exe utility they went away. Background here:
http://forum.doom9.org/showthread.php?s=&threadid=43758&highlight=dmafix.exe
It has to do with ripping speed but it fixed my hard drive too.
Hope this helps.
rhayman
6th August 2003, 02:11
Thanks but im a bit cautios about installing it, i have a dvd-writer and am scared it might mess it up?
how did it speed up your encoding speed?
Can anyone tell me if ive got crap hardware or something as ive just been reading this thread http://forum.doom9.org/showthread.php?s=&threadid=5777&perpage=20&highlight=CCE%20AND%20encoding%20AND%20speed%20AND%20pentium&pagenumber=4
And it seems i should be getting much faster speeds.
I use dvd2avi 1.76 cce 2.64 and avisynth 2.5
Script: LoadPlugin("C:\mpeg2dec3\MPEG2DEC3.dll")
mpeg2source("G:\test.d2v")
ConvertToYUY2()
PC specs: Windows XP
Pentium 4 2.40 Ghz
512MB RAM
digitalman
6th August 2003, 12:52
One way to speed up your encode is to have the ripped DVD on one hard drive and encode to another. Also, under the Quality button, uncheck all the boxes so CCE is not applying any of its own filters.
Open your .d2v file with wordpad and changed the idct line to 5. Save the file. Then change the line in CCE to this.
mpeg2source("G:\test.d2v", idct=5)
Your encode will definitely be faster now.
You will never get the speeds people get directly encoding AVI files. Avisynth slows it down drastically. Try dragging a DivX avi file directly into CCE and then encoding it. You will probably see encode speeds around 2 times.
rhayman
6th August 2003, 13:58
I done what you said and i still got speeds of 1.1 :(
However when i added a xvid file and encoded i got speeds of 2.8
When i use avisynth to encode the same xvid file with the script
avisource("F:\test.avi")
BicubicResize(720,576)
ConvertToYUY2()
I got encoding speeds of 0.952
What the hell. surely avisynth doesent slow it down that much, I used to use avisynth 2.08 instead of 2.5 and i was getting the same speed.
is this normal?
digitalman
6th August 2003, 14:32
I get around the same speeds you do but I use a noise filter so its a little slower. I have a 2.4/533Mhz bus and only 256MB. So it is probably not an issue with your system.
r6d2
6th August 2003, 14:54
Originally posted by rhayman
[B]Thanks but im a bit cautios about installing it, i have a dvd-writer and am scared it might mess it up?
how did it speed up your encoding speed?
For some reason XP had set drives to work in PIO mode. This utility fixed the registry settings to DMA mode. Check if the same is happening to you before applying the patch.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.