Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd March 2009, 14:56   #1  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
incorrectly display mp4 x264

let's forgive me for my English
I hope to make myself understand (is correctly )

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




2) compressed video by Save Image with Media Player Classic




3) compressed video as it is displayed in the player




as you can see the caps n1 and n2 have the same contrast and the same saturation. while the cap N3 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
byme is offline   Reply With Quote
Old 2nd March 2009, 14:59   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,933
Read:
http://forum.doom9.org/showthread.php?t=143689
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR is offline   Reply With Quote
Old 2nd March 2009, 15:08   #3  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
Quote:
Originally Posted by LoRd_MuldeR View Post
I understand
byme is offline   Reply With Quote
Old 2nd March 2009, 15:29   #4  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
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?
byme is offline   Reply With Quote
Old 2nd March 2009, 15:44   #5  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,933
Quote:
Originally Posted by byme View Post
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.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 2nd March 2009 at 15:50.
LoRd_MuldeR is offline   Reply With Quote
Old 2nd March 2009, 18:54   #6  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,415
I'd suggest using the Haali renderer. It's consistently the best option for me. Maybe it will be for you, too!

~MiSfit
Blue_MiSfit is offline   Reply With Quote
Old 2nd March 2009, 19:35   #7  |  Link
Betsy25
Registered User
 
Join Date: Sep 2008
Location: Holland, Belgium
Posts: 330
The 3 screens have 1 thing in common, the girls look like plastic dolls.
Betsy25 is offline   Reply With Quote
Old 2nd March 2009, 20:32   #8  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
thanks for your replies, but..... one interested me in particular

Quote:
Originally Posted by Betsy25 View Post
The 3 screens have 1 thing in common, the girls look like plastic dolls.
how do you think can make the image more "realistic" while maintaining the same cleaning and the same detail?

I do not have yet




this is the source





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

Last edited by byme; 2nd March 2009 at 21:10.
byme is offline   Reply With Quote
Old 2nd March 2009, 23:59   #9  |  Link
audyovydeo
Registered User
 
audyovydeo's Avatar
 
Join Date: Apr 2007
Posts: 464
Quote:
Originally Posted by Betsy25 View Post
... the girls look like plastic dolls.
... maybe they are !

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

cheers
a/v
audyovydeo is offline   Reply With Quote
Old 3rd March 2009, 00:02   #10  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,933
Looks like Warpsharp to me
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR is offline   Reply With Quote
Old 3rd March 2009, 00:06   #11  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,581
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
poisondeathray is offline   Reply With Quote
Old 3rd March 2009, 13:35   #12  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
Quote:
Originally Posted by LoRd_MuldeR View Post
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 is offline   Reply With Quote
Old 3rd March 2009, 15:53   #13  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
For example there is a filter that mimics somehow the "porosity" of the skin?

or ask too much?
byme is offline   Reply With Quote
Old 3rd March 2009, 17:16   #14  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
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

Last edited by byme; 3rd March 2009 at 17:50.
byme is offline   Reply With Quote
Old 3rd March 2009, 17:55   #15  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,933
Quote:
Originally Posted by byme View Post
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...
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 3rd March 2009 at 18:07.
LoRd_MuldeR is offline   Reply With Quote
Old 3rd March 2009, 18:34   #16  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
Quote:
Originally Posted by LoRd_MuldeR View Post
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 is offline   Reply With Quote
Old 3rd March 2009, 18:35   #17  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
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

byme is offline   Reply With Quote
Old 3rd March 2009, 21:30   #18  |  Link
audyovydeo
Registered User
 
audyovydeo's Avatar
 
Join Date: Apr 2007
Posts: 464
Quote:
Originally Posted by byme View Post
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
audyovydeo is offline   Reply With Quote
Old 4th March 2009, 01:17   #19  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
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

Code:
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)

Code:
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)

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

source video 1




video 1 after the first pass




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


Ringing effect


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



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

source video 2




video 2 after the first pass




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




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


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)


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)



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

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?

Last edited by byme; 4th March 2009 at 02:19.
byme is offline   Reply With Quote
Old 4th March 2009, 17:06   #20  |  Link
Astrophizz
Registered User
 
Join Date: Jul 2008
Posts: 184
Interesting discussion but should this maybe be over in the avisynth section?
Astrophizz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.