PDA

View Full Version : Exported footage has a rainbow effect in tight detail spots, removable?


Backwoods
4th December 2004, 07:43
I would show some screenshots, but it's only shows on my TV.

It seems to happen when I export footage from video games to my TV, I recieve almost a rainbow effect on some parts of the video. Mainly in the tiny detail parts. Such as on a metal grated floor or in wood grain.

This is my simple script, nothing out of the ordinary:

AVISource("HL2_DEMO.avi")
Lanczos4Resize(720,480)
AssumeFPS(29.976, sync_audio=true)

I encode the video from HUFFYUV to a MPG2 file through CCE then export to my TV through my DVCII capture card (only kept this thing around for this reason).

Should I add a "ConvertToxxx" or such to get rid of this effect or is there a filter for such? Is it possibly a result of my DVCII's MPG chip?

Mug Funky
4th December 2004, 15:38
it's an analog thing.

you're (i'm guessing here) using a composite cable? like a single RCA plug?

if you've got S-video output on that card, use it. the rainbows will go away :)

it's due to the fact that luma, and 2 chroma channels are sharing the same cable. you get crosstalk between them, hence tight luma detail will cause artefacts in the chroma channels. since chroma has far less bandwidth, it will come out blurry, and hence not be confined to the small details. so you'll get flickering rainbows.

same thing happens on capture, no doubt.

you could minimize these effects with a horizontal blur on your luma (and more on the chroma), but that's sub-optimal, considering all you need to do is use a component cable.

Backwoods
4th December 2004, 19:31
Ah, thank you. I am using RCA out, too bad my TV doesn't have a S-Video input, the capture card has S-Video out.

Well it's good to know that it's not an encoding problem or such.

Thanks again.