Log in

View Full Version : Problem with color (encoding anime by x264 r998)


Varies
18th October 2008, 17:26
Hello :)

When coding faced such a problem ... when playing in the AVS colored one, and after encoding are different.

AVS-Script
DirectShowSource("H:\Anime\Kurogane no Linebarrels\temp-0001-002.mkv",fps=23.976, convertfps=true, audio=true)
awarpsharp(cm=1)

x264 Settings
Writing library : x264 core 65 r998M 6768543
Encoding settings : cabac=1 / ref=3 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=240 / keyint_min=1 / scenecut=40(pre) / rc=2pass / bitrate=1800 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

AVS-Preview
http://img392.imageshack.us/img392/6250/15631733kx8.th.png (http://img392.imageshack.us/my.php?image=15631733kx8.png)
Encoded
http://img80.imageshack.us/img80/6071/11zo5.th.png (http://img80.imageshack.us/my.php?image=11zo5.png)

What do the colors that are the same?

Translated by Google ^ ^

poisondeathray
18th October 2008, 18:11
No they look different

What are you using to render? (e.g. vmr9, overlay mixer...)?

What decoder are you using? (e.g. ffdshow, coreavc,,,,)?

What are you using to take screenshots/what software player?

What is your source material? (it says .mkv, but what is inside?)

menlvd
18th October 2008, 20:40
avs not = to source
encode = source!

Varies
18th October 2008, 21:27
Media Player Classic, VMR9, ffdshow (i think)
All Screenshots by MPC.
the source is anime ^ ^ also colors same as result.
but i think for encode avs=source and if not why UY12 raw (whith same colors as AVS) after encode same as sreenshot 2 ?

sorry fo my Rassian :D

poisondeathray
18th October 2008, 21:39
VMR9 will cause fading of colors. Change to overlay mixer and you will see the difference. Or force RGB in ffdshow. You can also open it up in vdub, which displays as RGB

Subs won't work in MPC with overlay mixer. If you use SMPlayer, you can use overlay mixer and use subs

Sagekilla
18th October 2008, 21:43
This sounds like improper TV --> PC levels conversion for the video renderer. Almost all DVDs, Blu-rays, and most videos for that matter are stored in TV levels format, which has the data compressed to a range of [16,235] instead of the full [0,255] range. Your image isn't having the range stretched back to [0,255] properly, likely because your video renderer isn't doing proper YV12 --> RGB conversion.

Varies
18th October 2008, 23:50
poisondeathray
oh thanks ^ ^ i set VMR7 render, now colors same as in avs and with force RGB @VMR9 too :)

martino
19th October 2008, 02:39
VMR7 can be broken at times... just use overlay mixer or haali to be safe.