Log in

View Full Version : Megui: the output picture is always too bright!


Pringles
28th August 2012, 11:55
Hi,

I'm having a problem with MeGui, each time I'm encoding something, the output image is always brighter than the original. I'm only using standard settings in MeGui, like:

LoadPlugin("C:\Program Files (x86)\MeGUI_1989_x86\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("I:\DVD\RIP\Citesdor\DVD1\VTS_02_1.d2v")
#deinterlace
crop(10, 0, -8, 0)
Spline36Resize(720,544) # Spline36 (Neutral)
LoadPlugin("C:\Program Files (x86)\MeGUI_1989_x86\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

And for the encoder:
program --preset slow --crf 20 --output "output" "input"

DVD:
http://img528.imageshack.us/img528/9007/2vts021vobsnapshot01463.jpg

MeGui:
http://img339.imageshack.us/img339/7483/2vts021colourcorrection.jpg

I'm having this problem with other DVDs:
http://forum.doom9.org/showthread.php?t=165143

How is it possible to correct this?
Thanks

Atak_Snajpera
28th August 2012, 12:12
Do you have enabled DYNAMIC CONTRAST in graphic driver?
http://i.imgur.com/v5kHT.png

Pringles
28th August 2012, 16:19
I couldn't find this setting. I have an ATI card, so I'm using the Catalyst Center.

http://img268.imageshack.us/img268/2711/capturekgmo.png

mastrboy
28th August 2012, 16:54
Have you checked the luminance or the PC/TV scale settings in DGindex?
http://desmond.imageshack.us/Himg641/scaled.php?server=641&filename=mehkd.png&res=landing

Pringles
29th August 2012, 11:01
I couldn't find DGindex in MeGui or is it another program?

StainlessS
29th August 2012, 11:37
That YUV->RGB setting is not used by Avisynth or MeGUI.
Think was mainly used by eg TmpGenc when reading RGB.

Pringles
29th August 2012, 16:02
Any idea for the brighter render?

Atak_Snajpera
29th August 2012, 16:59
disable everything regarding video (color vibrance and so on)

Pringles
30th August 2012, 15:26
That's what I did, did some captures and the x264 picture vs the DVD pic appears still too bright.

Here is a 30 sec sample of my DVD:
https://www.box.com/s/5663d0d8920979633013

And the result encoded by MeGui:
https://www.box.com/s/211e7328a05612ec4fd0

Settings:
LoadPlugin("C:\Program Files (x86)\MeGUI_1989_x86\tools\ffms\ffms2.dll")
FFVideoSource("I:\DVD\RIP\Citesdor\DVD2\SAMPLE\VTS_02_1_cut-012.vob", threads=1)
#deinterlace
crop(10, 0, -8, 0)
Spline36Resize(720,544) # Spline36 (Neutral)
#denoise


program --crf 18 --output "output" "input"

The picture is still too bright:
DVD:
http://img703.imageshack.us/img703/7078/8vts021cut012vobsnapsho.jpg

MeGui:
http://img32.imageshack.us/img32/9397/8vts021cut012vobmkvsnap.jpg

fantasmanegro
30th August 2012, 16:48
maybe its the decoder ?

tebasuna51
30th August 2012, 21:39
Your first file isn't a vob, is a mkv with MPEG2 video.

When MeGUI File Indexer open a VOB (or m2v) with DGIndex add some color correction with ColorMatrix.
Try with:

LoadPlugin("C:\Program Files (x86)\MeGUI_1989_x86\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("I:\DVD\RIP\Citesdor\DVD1\VTS_02_1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI_1989_x86\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop(10, 0, -8, 0)
Spline36Resize(720,544) # Spline36 (Neutral)
LoadPlugin("C:\Program Files (x86)\MeGUI_1989_x86\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

Atak_Snajpera
31st August 2012, 12:53
Here is a 30 sec sample of my DVD:
https://www.box.com/s/5663d0d8920979633013

And the result encoded by MeGui:
https://www.box.com/s/211e7328a05612ec4fd0

on my pc both look like this (NV12)
http://img32.imageshack.us/img32/9397/8vts021cut012vobmkvsnap.jpg

However if I force RGB32 in ffdshow both look like this
http://img703.imageshack.us/img703/7078/8vts021cut012vobsnapsho.jpg

Pringles
31st August 2012, 17:29
Thanks guys. tebasuna51, I'll check the script you suggested.

So Atak_Snajpera you confirm that this is only a playback matter, thanks.

vdcrim
31st August 2012, 18:11
on my pc both look like this [brightest capture]
On mine it's the opposite (Catalyst 12.8 with all 'improve' options off, mpc-hc with different renderers and decoders, also tried mplayer2 and ffms on AvsP).

Turning on the Catalyst options alters the result a bit, but it's still nowhere as bright as that capture.