Log in

View Full Version : Yv12


Ac3Dc3
7th January 2004, 22:38
Hi-

I'm trying to encode a frameserved video in CCE. This is the AviSynth code:
DirectShowSource("C:\Documents and Settings\User1.Home-PC\Desktop\trail.avi", fps=25).LanczosResize(720,576)
But when i tried this in CCD-SP 2.66 i got an error message saying "could not find appropriate YV12 decoder". So, after searching around the forum, i found this (http://forum.doom9.org/showthread.php?s=&threadid=68162&highlight=YV12), and i followed Mug Funky's insrtuctions. I couldn't install the .reg, because it's not in binary, so i manually went to the registry place indicated, and vidc.yv12 wasn't even on the list, so i entered it manually. I have tried DivX.dll and xivd.dll and get the same results for both - i can now encode the file with CCE but everything is in err.. slow motion ? The video is the same but "going" much slower than it should - i can't tell if its the framerate that is slower or if there are just many more frames (BSPlayer says its playing at 25fps, but i can't trust it).

Can any1 shed some light on what's happening here ? (please)

Ac3Dc3.

DDogg
8th January 2004, 03:14
Just add a converttoyuy2(interlaced=true[false]) and you should not need all of that reg stuff. All this reg trick does is allow divx to convert the yv12 to yuy anyway as CCE will only take yuy or rgb. The converttoyuy2() statement in avisynth is considered a better, and slightly faster way to do that.

Ac3Dc3
8th January 2004, 18:14
thanks DDog for the code (i should have found it before :rolleyes: ), now i can open the video in cce. what i meant by
everything is in err.. slow motion is that the .mpv file it creates playsback in jerky slow motion. I am using Nero Media Player and BSPlayer and WMP to test the files. Files i create without frameserving don't have this problem. Is there anything im doing with avisynth that causes this slow jerky output from CCE ?

Ac3Dc3.

<edit>This works with AviSource instead of DirectShow (i.e. no jerkyness but doesnt DirectShowSource give higher quality results (with post-processing of DivX, Xivd, etc.) ?</edit>