Log in

View Full Version : Insipid color / Good solution now :)


hpman
26th June 2003, 15:11
Hi all,

I test GKnot 0.28.5 / DivX 5.0.5 and i'am surprised by the color.
I take screenshot :
* Before
http://thehpman.free.fr/dvd/firstone.jpg

* After
http://thehpman.free.fr/dvd/ripped.jpg

Is it normal to have insipid coor ?

len0x
26th June 2003, 15:37
colors are washed out indeed...

Did you check avs file (by opening in it vdubmod) ? Coz it might be some filters doing that even before codec (if this is R2 of Friends, then if I recall correctly you have to do at least deintrelacing on that source).

hpman
27th June 2003, 09:59
That's Friends (R2 too :) )

So this my avs :
#
# Créé avec Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
SetWorkingDir("C:\Program Files\Gordian Knot\")
LoadPlugin("mpeg2dec3.dll")
#LoadPlugin("decomb.dll")
#LoadPlugin("dgbob.dll")
#LoadPlugin("Convolution3d.dll")
#LoadPlugin("FluxSmooth.dll")
#LoadPlugin("TomsMoComp.dll")
#LoadPlugin("VSFilter.dll")
#LoadPlugin("SimpleResize.dll")
#
# SOURCE
mpeg2source("E:\DVD\Projects\FRIENDS_01_VTS_01_PGC1_VTS_01_PGC1\FRIENDS_01_VTS_01_PGC1.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide(guide=1).Decimate(5)
# ou utiliser
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DESENTRELACEMENT (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)
#
# ROGNAGE
crop(4,8,714,560)
#
# DESENTRELACEMENT (2)
#SeparateFields().SelectEven()
# ou peut-être
#DGBob(order=0,single=true)
# DESENTRELACEMENT (3) - requêtes spéciales
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
#
#
# SOUS-TITRES
#VobSub("FileName")
#
# REDIMENSIONNEMENT
BicubicResize(512,368,0,0.5)
#
# DEBRUITAGE: choisissez une combinaison (ou aucunne)
# 1) faible bruit
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmooth(5,7)
#
# 2) bruit moyen
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmooth(7,7)
#
# 3) bruit important
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmooth(10,15)
#
# BORDURES
#AjouterBordures(gauche,haut,droit,haut)
#
# TEST DE COMPRESSIBILITE
# !!!!Désormais la taille du Snip doit être de 14 pour l'utiliser dans GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)


So how i can activate the better deintrelacing in my case ?
Thanks lenOx

len0x
27th June 2003, 10:32
Originally posted by hpman

So how i can activate the better deintrelacing in my case ?


Let me check and get back to you later. (I was about to rip Friends myself actually). But looking at your script I don't see you using any filters, so colors should be the same I guess. Just to be sure on what is being passed to the codec - can you open that avs in VdubMod and see which colors are there ?

hpman
27th June 2003, 10:48
I opened it with vdubmod
Decompression and Output is made in 24bit

I hope you will have the same problem, so you can find the solution more quickly :)

len0x
27th June 2003, 11:01
Originally posted by hpman
I opened it with vdubmod
Decompression and Output is made in 24bit


I mean - if you do preview of output - how are the colors ?

hpman
27th June 2003, 11:44
Sorry :/

So i did the preview and the problem is the same...

Colors are washed out :(

PS: I didn't take screenshot but i can do one if you want :)

len0x
27th June 2003, 11:56
Originally posted by hpman
So i did the preview and the problem is the same...
Colors are washed out :(


OK, so it's mpeg2dec3.dll which does that.
You can try substituting it with just mpeg2dec.dll and see preview again...

Btw, how did you took original snapshot? From DVD player? Coz it might be that software does that (I know that PowerDVD for instance by deafult uses "Vivid" color scheme, i.e. enhancing colors). If you open vob file directly from VDubMod you could see what it's really look like...

hpman
27th June 2003, 12:16
Originally posted by len0x
OK, so it's mpeg2dec3.dll which does that.
You can try substituting it with just mpeg2dec.dll and see preview again...

If i do that, i have an error :
Avisynth open failure
Plugin mpeg2dec.dll is not an AviSynth 2.5 Plugin

Originally posted by len0x
Btw, how did you took original snapshot? From DVD player? Coz it might be that software does that (I know that PowerDVD for instance by deafult uses "Vivid" color scheme, i.e. enhancing colors). If you open vob file directly from VDubMod you could see what it's really look like...

Yes, It was PowerDVD. I use the screenshot available in this software. So i open the vob with vdubmod, and i take a screenshot :
http://thehpman.free.fr/dvd/vobwithvdubmod.jpg

So the inspid color are in vob too :( I prefer the color in PowerDVD, it is more natural. :(

len0x
27th June 2003, 12:23
Originally posted by hpman
So the inspid color are in vob too :( I prefer the color in PowerDVD, it is more natural. :(

See, so in fact - those are real colors! :)
But PowerDVD enhance them a bit (if you go to the powerdvd options you will find an option on the Video tab, where you can select normal color scheme and see the difference).
I'm sure there are some filters which can do the same in AVS scripts, but my knowledge is limited about that...
(You can try searching or asking in the Avisynth forum...)

hpman
27th June 2003, 12:25
Thanks for your help lenOx.
Gordiant Knot are really a good software !

Edit : I test the option in PowerDVD, and you have right ! :) :cool:

hpman
27th June 2003, 14:34
I have tried lots of combinations with the plugin tweak:

I think tweak(-5,1.6,3,1.1) is a possible solution.

Here the two screenshots :

* With PowerDVD and the sharp color :
http://thehpman.free.fr/dvd/firstone.jpg

* With AviSynth and the plugin tweak :
http://thehpman.free.fr/dvd/afteravisynth.jpg

What do you think about the comparaison ? (After one hour, i always see same images :D)

len0x
27th June 2003, 14:39
Originally posted by hpman
What do you think about the comparaison ? (After one hour, i
always see same images :D)

I think AVS one is even better than powerdvd one ...

len0x
28th June 2003, 16:59
Btw, just checked and indeed it requires deintrelacing (if you go for resolution 384x288 or below, just do fast deinterlacing, for resolution above that do field deinterlace (no blend)).

hpman
28th June 2003, 17:14
I use 512*384 for 'friends' so i am above

How can i do field deinterlace ?

And what is really Btw ? :o

len0x
28th June 2003, 17:24
Originally posted by hpman
How can i do field deinterlace ?


On save avs windows select "Field Deinterlace (no blend)" in Field Operation group box.

Originally posted by hpman

And what is really Btw ? :o

By the way :)

hpman
28th June 2003, 19:56
Originally posted by len0x
On save avs windows select "Field Deinterlace (no blend)" in Field Operation group box.
I am testing your parameter curently.

I would like the diffrence, in what you see, between "Field Deinterlace (no blend)" and "Field Deinterlace" ?

I am testing tweak(0,1.6,3,1.1) too.

In the section AviSynth, in this forum, an user tell me that. He think, the video is a little "green" and it's normal (Before i use -5 for hue). I try 0 but i think it's a little "red" so that why i use a hue under 0.

What's your opinion ?

hpman
29th June 2003, 18:12
So i made new tests with screenshots :)

I test your "Field Deinterlace (no blend)" and it is perfect. Thanks for your council.
I test hue at 0 (in tweak) too.

* : Hue = -5 and there is no deinterlace :
http://thehpman.free.fr/dvd/hue_at_-5_and_no_denterlace.jpg

* : Hue = 0 and there is deinterlace :
http://thehpman.free.fr/dvd/hue_at_0_and_with_denterlace.jpg

I think the hue = 0, it's a to much "red", isn't it ? I will try -1.5 (Thanks Wilbert)

And i have an other question. I am inserting "tweak(0,1.6,3,1.1)" in my avs with wordpad but it could be an idea if gordiant knot have an area to insert personnal commands :confused:

jggimi
29th June 2003, 21:28
It does. Try the "Edit" button on the Save & Encode window.

hpman
29th June 2003, 22:15
Originally posted by jggimi
It does. Try the "Edit" button on the Save & Encode window.
Thanks, it is the parameter like i think :D

hpman
29th June 2003, 23:10
I made a new test with hue at -1.5.

http://thehpman.free.fr/dvd/huge_at_-1.5.jpg

What's your opinion ? :)

len0x
30th June 2003, 10:47
You were asking what was the difference with "no blend" option - it looks much less blurry than just with Field Deintrelace...

Btw, hpman, what bitrate are you trying to encode this stuff with?
(coz it's definitely looks like it needs much more bps...)

hpman
30th June 2003, 12:10
I made BivX with two audios (French and English)
I would have all the episode (24/25) in one DVD-R. My final video is about 180MB.
So bitrate is about 900 (895~899).

Not Enough, you think ?

len0x
30th June 2003, 13:43
Originally posted by hpman

Not Enough, you think ?

I think not, what compr test value do you get ?

hpman
3rd July 2003, 11:58
I don't know what you want exactly so i take a screenshot :

http://thehpman.free.fr/dvd/testcompr.jpg

:)

len0x
3rd July 2003, 12:07
If it was performed correctly I see comp test value 46.4% which is indeed too low - should be at least 60%...

hpman
3rd July 2003, 21:08
Originally posted by len0x
If it was performed correctly I see comp test value 46.4% which is indeed too low - should be at least 60%...

What parameters have you ?
Compr test ?
What size ? 512*384 ?

len0x
4th July 2003, 10:24
Originally posted by hpman
What parameters have you ?
Compr test ?
What size ? 512*384 ?

I was solely looking at your screenshot...
Did you do compressability test ?

hpman
4th July 2003, 13:30
Originally posted by len0x
I was solely looking at your screenshot...
Did you do compressability test ?

The screenshot was made after the compressability test :)

len0x
4th July 2003, 13:34
Originally posted by hpman
The screenshot was made after the compressability test :)

so, you either have to increase file size so that percentage will go up to 60% at least or decrease resolution...