Log in

View Full Version : unable to open pseudo avi in virtualdub


MarioGarcia
9th December 2004, 18:31
hello
I am trying to use cce for the first time.
I rip it,with dvd decryper, ok, demux it with dvd2avi, create a dvd2avi file which sometimes opens in tmpenc, sometimes doesn't.
I create a fake avi with vfapi readar, then try to load it in virtualdub and get an annoying error which says that cannot detect file type of file.avi.
i try to load it into tmpgenc, load the svcd profile, convert the tpr file to pseudo avi in vfapi and try to open with cce, it says it's not an avi. it seems there's a problem with vfapi,
oh I worked once, I could load it into virtualdub, I tried to frameserve it, I saved it onto avi and not vdr, but cce didn't open it, I tried to do it otherwise, not possible.
I could do everything in tmpenc, but I want to see the so called quality of cce.
thank you for listening.
Mario
ps= hope this isn't posted before, I slightly tried to look for it, but nothing of my likes was found.

killingspree
9th December 2004, 19:18
please, please use avisynth... the vfapi frameserving method is more than a bit outdated!

guides are more than enough on doom9!

kr
steVe

MarioGarcia
9th December 2004, 20:45
well; I did this because in the guide from doom9 told me so; in which section can I find guides for avisynth?
either way I thank you. I have been encodiing the easy way for years, without your guides I am no where.
will try avisynth either way.
thank you

killingspree
9th December 2004, 20:54
hi again
i was thinking about this guide in specific:
http://www.doom9.org/mpg/cce-advanced.htm

it still mentions vfapi, but also provides details on how to use avisynth.

some more details about avisynth frameserving can be found in this guide:

http://www.doom9.org/mpg/d2a-mpeg2dec.htm

hth
steVe

MarioGarcia
10th December 2004, 22:41
I have tried this script

LoadPlugin("C:\Program Files\GordianKnot\MPEG2Dec.dll")
mpeg2source("D:\THE_SONG_REMAINS_THE_SAME\test.d2v")
ResampleAudio(44100)


then save to avs try to open the avs with windows media player classic and I get in red letters the following message.

plugin c:\program files\gordianknot\MPEG2dec.dll is not an avisynth 2.5 plugin. (D:\THE_SO~1\THESON~1.avs, line 1)

I have installed avisynth, with the gordian knot rip pack latest version.

I have trying installing, uninstalling and trying again but doesn't seem to work out, and I don't find any mpeg2source in my computer.

if you can help or redirect me to some place I thank you.

killingspree
10th December 2004, 22:51
the plugin is named dgdecode.dll now... you can get it from neuron2's page right here: http://neuron2.net/fixd2v/decodefix.html

anyway, another hint: the mpeg2source() command only imports the video, no audio whatsoever. so your last line (ResampleAudio()) will most likely have no effect at all!

kr
steVe

MarioGarcia
10th December 2004, 23:18
I have this now:

LoadPlugin("F:\Downloads\Software\dgmpgdec1012\DGDecode.dll")
video=mpeg2source("D:\THE_SONG_REMAINS_THE_SAME\test.d2v")
audio=wavsource("D:\THE_song_REMAINS_THE_SAME\test.wav")
audiodub(video,audio)
BicubicResize(480,432)
AddBorders(0,72,0,72)

now I have read somewhere that in cce there's a problem with yuv12, it has to be converted somehow, do you know what I am talking about, because when I preview the avs with media player, the image is really weird.

killingspree
11th December 2004, 00:16
yes CCE has problems with YV12 - simply add a ConvertToYUV2() at the end of your script and see if that helps. if that doesn't, a screenshot would be really hopeful to see what this 'really weird' picture looks like!

kr
steVe