Log in

View Full Version : I can only frameserve to tmpgenc with convert to rgb


McQuaid
23rd October 2002, 12:34
I capture with pic video in YUY2. When frameserving to vdub from an avisynth script its always fine, but with TMPGENC, I need to convertToRGB or the video appears as if its in 8 bit colour.

It's not critical, but I'd prefer to avoid this conversion if possible.

sh0dan
24th October 2002, 07:48
TMPGenc does not support the YUY2 colorspace :(

You can install the DirectX 8.1 fix by koepi, then it will automatically convert your video. I've put it at the bottom of the CVS page (see sig.)

SansGrip
24th October 2002, 18:46
]TMPGenc does not support the YUY2 colorspace :(

Are you absolutely sure? I've not installed any DirectX fix and I'm able to frameserve YUY2 into TMPGEnc with the AVS reader plugin. In fact with only that plugin checked in the VFAPI Plugins dialog I can't frameserve RGB into it...

It's possible that a DirectShow filter is being invoked to convert it, but Microsoft yet again decided to overwrite my registry settings and use its own buggy DLL to do the deed, so I now have the old 8-bit-colour problem viewing YUY2 until I get round to reversing MS's helpful changes.

This colour problem does occur when I use the regular AVI-compatible VFAPI plugin to load the Avisynth script, but does not occur when I use the AVS reader plugin (again, as the only thing checked in the VFAPI Plugins dialog). Hence I think -- or thought, anyway -- that TMPGEnc is reading the YUY2 directly...

Anyway, just thought it was strange as I figured a while ago that I'd cracked the whole RGB/YUY2 problem I was having ;).

WarpEnterprises
24th October 2002, 20:16
But isn't an AVS opened with the AVI VfW compatibility reader?
And using convertToRGB with TMPG should make no difference at all since TMPG deals internally with RGB, it would be the save way to frameserve to (maybe a _little_ slower)

SansGrip
24th October 2002, 21:28
But isn't an AVS opened with the AVI VfW compatibility reader?

It can be. But if you use the AVS Reader VFAPI plugin you can uncheck all the others and feed it YUY2. Whether this still gets converted to RGB is another question. Everyone seems to think it does :/

sh0dan
25th October 2002, 13:39
The DirectX fix is not always necessary, as other codec's may kick in and do the YUY2 -> RGB conversion without ever telling you.

TMPGEnc doesn't _seem_ to work in YUV - or at least, it has many problems doing so.