PDA

View Full Version : incorrectly display mp4 x264


byme
2nd March 2009, 14:56
let's forgive me for my English
I hope to make myself understand (is correctly :confused:)

I wonder why the player (Windows Media Player, Media Player Classic, etc..) videos encoded in x264, see how different are in fact

I had three caps in order to understand

1) uncompressed video as it is displayed in the player

http://f.imagehost.org/0705/nocompres.png


2) compressed video by Save Image with Media Player Classic

http://f.imagehost.org/0149/mp4_mpclassic.png


3) compressed video as it is displayed in the player

http://f.imagehost.org/0946/mp4.png


as you can see the caps n°1 and n°2 have the same contrast and the same saturation. while the cap N°3 is clearly more "off"

the only thing that comes to mind is to have different settings in the player, depending on the video that goes to show. but I wonder if there is another way to view the video encoded so

LoRd_MuldeR
2nd March 2009, 14:59
Read:
http://forum.doom9.org/showthread.php?t=143689

byme
2nd March 2009, 15:08
Read:
http://forum.doom9.org/showthread.php?t=143689

:thanks: I understand

byme
2nd March 2009, 15:29
I have tried with method 2 Method #2: Convert to RGB32 with ffdshow

and works

but I would like to learn the method 5 Method #5: Use AviSynth script in ffdshow video decoder

I know where to look for?

LoRd_MuldeR
2nd March 2009, 15:44
but I would like to learn the method 5 Method #5: Use AviSynth script in ffdshow video decoder

I know where to look for?

Read:
http://ffdshow-tryout.wiki.sourceforge.net/AviSynth

I think ConvertToRGB32(matrix="Rec601") would be the command to use. And make sure all the "Input colorspaces" are enabled.
But I don't think this has any benefit over ffdshow's internal (built-in) colorspace converter.

Blue_MiSfit
2nd March 2009, 18:54
I'd suggest using the Haali renderer. It's consistently the best option for me. Maybe it will be for you, too!

~MiSfit

Betsy25
2nd March 2009, 19:35
The 3 screens have 1 thing in common, the girls look like plastic dolls.:p

byme
2nd March 2009, 20:32
thanks for your replies, but..... one interested me in particular

The 3 screens have 1 thing in common, the girls look like plastic dolls.:p

how do you think can make the image more "realistic" while maintaining the same cleaning and the same detail?

I do not have yet

:script: :D


this is the source

http://f.imagehost.org/t/0680/v.jpg (http://f.imagehost.org/view/0680/v)



to cleaner I not use the Denoiser of AviSynth, but only Neat Video ..... I think it is that, along with BlindDeHalo3, to give a plastic look

I use a double Limitedsharpenfaster set like this:

LimitedSharpenFaster (ss_x = 1.2, ss_y = 1.2, immoderate = 2, strength = 120)
LimitedSharpenFaster (ss_x = 1.2, ss_y = 1.2, immoderate = 2, strength = 120)

I need a fairly powerful DeNoise to eliminate artifacts created by Limitedsharpenfaster ... For this I use the Neat Video (after Limitedsharpenfaster) to cleaner

audyovydeo
2nd March 2009, 23:59
... the girls look like plastic dolls.:p

... maybe they are !

I used to get that effect when I used to encode with --qp 26 (circa x264 r650).

cheers
a/v

LoRd_MuldeR
3rd March 2009, 00:02
Looks like Warpsharp to me ;)

poisondeathray
3rd March 2009, 00:06
When you denoise so much, then sharpen, there is no natural grain left, so they look like plastic dolls...but maybe the "girls" like that look ? plastic surgery :)

byme
3rd March 2009, 13:35
Looks like Warpsharp to me ;)

I use also AWarpSharpDering in the script

AWarpSharpDering(depth=16.0, diffthresh=64, lumathresh=0)


I thought that maybe adding AddGrain it may remove the plastic effect, but the grain does not create a good effect after compression

any ideas? :)

byme
3rd March 2009, 15:53
For example there is a filter that mimics somehow the "porosity" of the skin?

or ask too much? :p

byme
3rd March 2009, 17:16
maybe we should move the discussion in the section dedicated to AviSynth .....

I have a question:

there is a filter that attenuates the dark lines of an image (maintaining the level of sharp)?
something that is the opposite of ToonLite and VMToon

up to now I used VMToon, but I found that the amplification of the dark parts creates a "strange" effect in videos that do not have anime

LoRd_MuldeR
3rd March 2009, 17:55
any ideas? :)

Using very strong filtering first and trying to undo the effect afterwards may not be the best method ;)

The less filtering you need the better...

byme
3rd March 2009, 18:34
Using very strong filtering first and trying to undo the effect afterwards may not be the best method ;)

The less filtering you need the better...



with Neat VIdeo it seemed to me that the best effect is obtained after using the sharp ...... but try to do as you say and I will do more testing. thanks

byme
3rd March 2009, 18:35
for example ...

the contour lines of this picture is not black, but light brown, although the image a good sharp

this is the effect that I would get

http://g.imagehost.org/t/0099/41269_valBil06_122_1071lo.jpg (http://g.imagehost.org/view/0099/41269_valBil06_122_1071lo)

audyovydeo
3rd March 2009, 21:30
for example ...

the contour lines of this picture is not black, but light brown, although the image a good sharp

this is the effect that I would get


Ciao Byme.

personally, I need more image samples to decide. Can you rotate the camera 90° anticlockwise around the subject, and take more photos ?
Post as many pics as you can, I really want to detect the image artifacts you're complaining about.

cheers
audyovydeo

byme
4th March 2009, 01:17
ciao audyovydeo :)

you are right ... in other video the problem is not so obvious

these are my concerns:

let's put my script

pass 1

AviSource("D:\Edit Video\source_video.avi").ConvertToYUY2()
Deblock()
BlindPP(cpu=4)
source=last
backward_vec1 = MVAnalyse(isb=true, truemotion=true, chroma=true, delta=1, pel=2, blksize=8, overlap=2, sharp=1, idx=1)
backward_vec2 = MVAnalyse(isb=true, truemotion=true, chroma=true, delta=2, pel=2, blksize=8, overlap=2, sharp=1, idx=1)
backward_vec3 = MVAnalyse(isb=true, truemotion=true, chroma=true, delta=3, pel=2, blksize=8, overlap=2, sharp=1, idx=1)
forward_vec1 = MVAnalyse(isb=false, truemotion=true, chroma=true, delta=1, pel=2, blksize=8, overlap=2, sharp=1, idx=1)
forward_vec2 = MVAnalyse(isb=false, truemotion=true, chroma=true, delta=2, pel=2, blksize=8, overlap=2, sharp=1, idx=1)
forward_vec3 = MVAnalyse(isb=false, truemotion=true, chroma=true, delta=3, pel=2, blksize=8, overlap=2, sharp=1, idx=1)
source.MVDegrain3(backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3,thSAD=300, idx=2)
LimitedSharpenFaster(ss_x=1.2,ss_y=1.2,Smode=2,strength=120)
LimitedSharpenFaster(ss_x=1.2,ss_y=1.2,Smode=2,strength=120)
ConvertToYV12()
AWarpSharpDering(depth=16.0, diffthresh=64, lumathresh=0)
###VMToon()
BlindDeHalo3( rx=3.0, ry=3.0, strength=95, lodamp=0.0, hidamp=0.0, sharpness=0.0, tweaker=0.0, PPmode=3, PPlimit=4, interlaced=false)
GradFunkMirror()
ConvertToRGB()


+ Neat Video


pass 2 (with LimitedSharpenFaster)

AviSource("D:\Edit Video\video.avi").ConvertToYUY2()
LimitedSharpenFaster(ss_x=1.2,ss_y=1.2,Smode=2,strength=120)
ConvertToYV12()
HQDering()
AAASimple()
GradFunkMirror()
ConvertToRGB()

or

pass 2 (with MSharpen)

AviSource("D:\Edit Video\video.avi").ConvertToYUY2()
MSharpen(15,100)
ConvertToYV12()
HQDering()
AAASimple()
GradFunkMirror()
ConvertToRGB()

...................................................................................

source video 1

http://f.imagehost.org/t/0150/source_veline.jpg (http://f.imagehost.org/view/0150/source_veline)


video 1 after the first pass

http://f.imagehost.org/t/0937/16-64.jpg (http://f.imagehost.org/view/0937/16-64)


video 1 after the second pass (with LimitedSharpenFaster)
and AWarpSharpDering(depth=16.0, diffthresh=64, lumathresh=0)

http://g.imagehost.org/t/0266/16-64_LSF_copia.jpg (http://g.imagehost.org/view/0266/16-64_LSF_copia)
Ringing effect


video 1 after the second pass (with MSharpen)
and AWarpSharpDering(depth=16.0, diffthresh=64, lumathresh=0)

http://f.imagehost.org/t/0720/16-64_MSharpen.jpg (http://f.imagehost.org/view/0720/16-64_MSharpen)

...................................................................................

source video 2

http://g.imagehost.org/t/0539/source_palmas.jpg (http://g.imagehost.org/view/0539/source_palmas)


video 2 after the first pass

http://f.imagehost.org/t/0798/16-64_palmas.jpg (http://f.imagehost.org/view/0798/16-64_palmas)


video 2 after the second pass (with LimitedSharpenFaster)
and AWarpSharpDering(depth=16.0, diffthresh=64, lumathresh=0)

http://f.imagehost.org/t/0205/16-64_palmas_LSF.jpg (http://f.imagehost.org/view/0205/16-64_palmas_LSF)


video 2 after the second pass (with MSharpen)
and AWarpSharpDering(depth=16.0, diffthresh=64, lumathresh=0)

http://g.imagehost.org/t/0284/16-64_palmas_MSharpen_copia.jpg (http://g.imagehost.org/view/0284/16-64_palmas_MSharpen_copia)
the video, compared to the one with the LimitedSharpenFaster, is less sharp in some areas (es. eyes), but more darker in other areas (like the line that demarcates the legs)


video 2 after the second pass (with LimitedSharpenFaster)
and AWarpSharpDering(depth=32.0, diffthresh=64, lumathresh=0)

http://f.imagehost.org/t/0947/32-64_palmas_LSF_copia.jpg (http://f.imagehost.org/view/0947/32-64_palmas_LSF_copia)
with depth to 32.0 the lines shows further refined (and this interests me), but the figure is too squared


video 2 after the second pass (with MSharpen)
and AWarpSharpDering(depth=32.0, diffthresh=64, lumathresh=0)

http://f.imagehost.org/t/0565/32-64_palmas_MSharpen.jpg (http://f.imagehost.org/view/0565/32-64_palmas_MSharpen)

...................................................................................

the effect that I get after the second pass does not satisfy me
how can I get a good level of sharp, having a more realistic result?

Astrophizz
4th March 2009, 17:06
Interesting discussion but should this maybe be over in the avisynth section?

byme
4th March 2009, 18:41
you're right, I went off topic

I have already asked the kinds moderators to move it

byme
4th March 2009, 21:05
a fantastic filter would be that cleans the big grain (the dirt) and maintaining the finest grain (as for example the porosity of the skin)..... the opposite of than that Neat Video

believe that there?