PDA

View Full Version : black window with AVS


Olleman
22nd December 2002, 21:20
Hi!

I have tested more or less everything I can come up with now so I'm turning to the forum for some help...

I can't get avs files to work in tmpgenc. They work flawlessly in Media players VDub etc. But in TMPGEnc I only get a black window, tmpgenc reports the right length of the served video but everything is pitch black...

I have tested the most recent versions of tmpenc 2.58 > 2.59

I'm running W2k with SP3. And I'm frameserving from dvd2avi (the d2v file is loadable wothout any hazzle in tmpgenc).

Please if anyone knows what might cause this help me :)!

Best Regards, Olle

Wilbert
22nd December 2002, 21:24
1) Post your avs file!

2) Can you try it with an avi file instead of an d2v file (in avisynth)?

Olleman
22nd December 2002, 21:29
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec2.dll")
mpeg2source("E:\cappar\nyheter.d2v")
BicubicResize(352,288,0,0.5)

I tried with an avi file instead with the same result - black window. But also that one worked fine when loaded in VDub...

Regards, Olle

Wilbert
22nd December 2002, 21:51
What happens if you add
ConvertToRGB24
as the last line of your script?

Olleman
22nd December 2002, 22:08
hm....that line did the trick :)

But I thought the thing with AVS was to let it be YUV "the whole way" Don't I loose some speed doing it this way ?

Regards, Olle

Wilbert
22nd December 2002, 22:26
TMPGEnc wants RGB24. If you feed it with YUY2 then an external decoder decodes it for you. This is probably the problem": http://forum.doom9.org/showthread.php?s=&threadid=27932 (installing that zip-file should also work).

Olleman
22nd December 2002, 22:29
but this problem has arissen just recently I have never had problems with avs files without that line before...

and yes I did loose some speed before I got a little more than realtime encoding (VCD) and not I get like 0.9x realtime or so...

,Olle

sh0dan
23rd December 2002, 00:05
It can be caused by a codec installation - a DirectX update - many things. With this fix many things will just work out :)

ChristianHJW
30th December 2002, 00:00
Originally posted by Wilbert
What happens if you add
ConvertToRGB24
as the last line of your script?

You're a star .. i was about to get crazy !! Thanks mate ...