Log in

View Full Version : Gamma changes after x264 encode


nekostephan
15th November 2006, 14:34
Hello there everyone.

The problem is:
After I rip an anime DVD, index it and demux and finally encode it overall gamma somehow gets boosted.

This seems pretty strange since I didn't specify anything about it anywhere. I checked my ffdshow decode settings - any postprocessing was switched off.
When I launch my VOB it looks just fine.

Anyone can tell how to get rid of it? I personally would like to tune gamma a little, but not overlighten it that much.

The software I used is:
DVDDecryper for ripping
DGIndex for indexing and demuxing
Notepad to write the script
meGUI for encoding to x264
Media Player Classic for playback

Maybe this 'll be of some help, so here is my AVS. Though I believe it to be irrelevant.
# Script for SKU
LoadPlugin("D:\PROGRA~1\coding\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\PROGRA~1\coding\GORDIA~1\AviSynthPlugins\decomb.dll")
LoadPlugin("D:\PROGRA~1\coding\GORDIA~1\AviSynthPlugins\UnDot.dll")

mpeg2source("D:\21_23_DARKNESS_B\VIDEO_TS\21.d2v")
Telecide(order=1,guide=1)
crop(10,0,700,476)
LanczosResize(640,480)
Undot()

Any help appreciated.

check
15th November 2006, 15:02
what video renderer are you using on playback?

nekostephan
15th November 2006, 15:04
CoreAVC

check
15th November 2006, 15:10
sorry, i mean the output renderer, not the decoder. in MPC, you can check by looking in options -> playback -> output -> directshow video. in zoomplayer: options -> advanced -> filter control -> standard playback. If you don't use one of these players look aorund for a setting that has either overlay or VMR/7/9 options.

nekostephan
15th November 2006, 15:12
Ahw, sorry, I misunderstood you. I use VMR9 renderless.

check
15th November 2006, 15:25
that will be the cause then - it is scaling your output colour levels to 16,235 instead of keeping them at 0,255. The solution is to use a video render designed for output onto a monitor, which is Overlay or Haali's.

nekostephan
15th November 2006, 15:33
Thank you, it worked well with overlay mode ^_^