Log in

View Full Version : VHS-x264 encode: better colours possible?


Weirdo
16th April 2011, 17:09
I'm trying to encode a Huffyuv/avi VHS capture. I'm new to this and couldn't possibly handle the massive amount of useful info on all filters etc. available here. I'm relatively satisfied with my simple script, motion seems ok. Only the colours seem a bit faded/washed out. Is there a simple way I can fix this? A small bit of both source-encode is here (https://rapidshare.com/files/457716540/Source-Encode.rar), avs script too.
Also, there seems to be no difference between using avisource/directshowsource, since in both cases ffdshow is used if I am correct. Thanks.

Dark Shikari
16th April 2011, 18:46
Sounds like a PC/TV luma levels mismatch yet again.

poisondeathray
16th April 2011, 19:14
This is a source issue, not AVC/h.264 encoding issue . You will find better help in avisynth forum

For your script I would use ConvertToYV12(interlaced=true) , and use Srestore(frate=25) instead of selecteven() . You will find Srestore will choose fewer blended frames

For the blue color, start with coloryuv(autowhite=true) , you can tweak the other parameters from there

If you want more specific suggestions, maybe a mod can move to avisynth forum

Weirdo
19th April 2011, 20:25
This is a source issue, not AVC/h.264 encoding issue . You will find better help in avisynth forum

For your script I would use ConvertToYV12(interlaced=true) , and use Srestore(frate=25) instead of selecteven() . You will find Srestore will choose fewer blended frames

For the blue color, start with coloryuv(autowhite=true) , you can tweak the other parameters from there

If you want more specific suggestions, maybe a mod can move to avisynth forumThanks, I added these 2 and it looks very different. Better (https://rapidshare.com/files/458230545/Preview_.mkv) I think. I'm probably unable (=unknowledgeable) to tweak avisynth any further so I'll leave it as is. Maybe set deblock to -2 -2 and increase bitrate a bit. (already changed deblock & bitrate for this new preview)

demistate
21st April 2011, 19:37
Not just luma levels will be incorrect, but your color space will be wrong too, You'll need to convert your SD footage from Rec.601 to Rec.709 (assuming your source is NTSC)

Even if you set the rec.601 flag on the video stream, it will still play back at rec.709 levels ("washed out") on most software players since they don't know how to do a color space conversion.

Weirdo
22nd April 2011, 16:38
Not just luma levels will be incorrect, but your color space will be wrong too, You'll need to convert your SD footage from Rec.601 to Rec.709 (assuming your source is NTSC)

Even if you set the rec.601 flag on the video stream, it will still play back at rec.709 levels ("washed out") on most software players since they don't know how to do a color space conversion.The source is PAL and I'm confused. Should I use "ConvertToYV12(interlaced=true)" adding one of the four 'matrix' options mentioned here (http://avisynth.org.ru/docs/english/corefilters/convert.htm)? Thanks...