Hello all,
I've got quite an issue with my vob to x264 encode, what I'm doing is simple
x264.exe --crf 19 sample.mpg -o sample.mkv
and I'm experiencing a "ghosting" or some sort of artifacts in the dark areas of my encode.
I've googled for quite some time on this but couldn't find anything relevant to my case.
Could anyone please help me on this?
I've attached sample.mpg and sample.mkv after conversion.
https://docs.google.com/uc?id=0BzaksiVeixjiXzJ5NXROQjdhVGM&export=download&hl=sk
https://docs.google.com/uc?id=0BzaksiVeixjicGYyNHRvUk9FRk0&export=download&hl=sk
Thank you in advance
+ Reply to Thread
Results 1 to 13 of 13
-
-
Original MPEG2 is encoded interlaced NTSC (59.94i) , and contains interlaced content - but you didn't specify interlaced encoding in x264 commandline , nor did you mention applying any deinterlacing filter.
-
Hello,
thanks for the reply, the thing is I used this avs:
LoadPlugin("DGDecode.dll")
DGDecode_mpeg2source("E:\!\!enc\encode\Seventh Heaven\VTS_01_1.d2v", info=3)
LoadPlugin("ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
LoadPlugin("SmoothDeinterlacer.dll")
SmoothDeinterlace(doublerate=true)
crop( 0, 60, 0, -60)
BicubicResize(720,400,0.333,0.333)
I thought some of it might cause the artifacts so I kept on removing stuff, until I was left with just the source line, with the same artifacts.
Thanks -
I'm experiencing a "ghosting" or some sort of artifacts in the dark areas of my encode.
Are you referring to interlace/aliasing issues or noise in the flat dark areas ?
Note smoothdeinterlace is very old filter and causes artifacts (aliasing edge artifacts)
Better modern deinterlacers apply temporal/spatial interpolation algorithms to fill in the missing lines
Normally you either encode it interlaced (like the original), and let your playback device do the deinterlacing on the playback , or you use a better deinterlacer.Last edited by poisondeathray; 25th Apr 2012 at 08:37.
-
When playing the file in MPC HC there's a sort of an "overlay" when the angle of the camera changes (there's some "remnants" of the previous scene which disappears after a second or two, this happens around 7th second )
what kind of deinterlacer would you recommend if I may ask?
When playing my avs directly I can't see the noise in the dark areas and everything looks ok.
I reckon you've noticed I'm quite a noob so any advice is appreciated. -
This crossfade is in the original source . Unless you were referring to something else?
what kind of deinterlacer would you recommend if I may ask? -
Also you don't need colormatrix for a sd=>sd encode .
When using a deinterlacer you should specify the field order by examining the separated fields. If you don't know how look at this miniguide
http://neuron2.net/faq.html#analysis
Here is an image quality example comparing smoothdeinterlace vs. QTGMC - you can see the jaggie aliasing artifacts produced by smoothdeinterlace
Code:AssumeTFF SmoothDeinterlace(doublerate=true)
Code:AssumeTFF QTGMC(preset="faster", sharpness=0.75)
-
wow that's definitely better....thanks a lot!
however my main issue still remains, let me post another clip where you can see it properly
this is what I see when playing avs:
this is what I see when playing encode in MPC HC (however windows media player does a better job on covering it up)
it's all over the image, but best noticed about the area with the light. And it just disappears at 5th sec
same source, encode below
https://docs.google.com/uc?id=0BzaksiVeixjiaG1Lc0kzaVViNjA&export=download&hl=skLast edited by honelnik; 25th Apr 2012 at 10:20.
-
It's not apparent in your encode.
This is from your encode , same frame 189, sample1.mkv
Perhaps it's a playback configuration issue,? What renderer and decoder are you using? Do you have graphics card and monitor calibrated ?
For example if you are using VMR9 or 7 renderless, the levels will be elevated and you will see noise that you shouldn't normally see -
Turn off the graphics card's noise reduction. And the sharpness, edge enhancements, and all other enhancements too. All they do is screw up the image.
Yadif() is good alternative if you find QTGMC() to be too slow.
Code:Mpeg2Source("sample.d2v") AssumeTFF() Yadif(order=1, mode=1)
Code:Mpeg2Source("sample.d2v") AssumeTFF() QTGMC()
Code:x264.exe --preset=slow --aq-mode=2 --aq-strength=2.0 --crf=18 --sar=8:9 --output %1.mkv %1
Last edited by jagabo; 25th Apr 2012 at 11:24.
-
Can you describe, "does a better job of covering it up"? Are the black levels (contrast/brightness) the same? If not, one player is playing back using the wrong levels.
Edit 1: Yes jagabo's screenshot of the same video seems to indicate MPC-HC is using the wrong levels which is why the banding/blocking in his screenshot is far less obvious.
Edit 2: Nah, I'm wrong about the levels I think. I just tried changing them using your sample and it still didn't look that bad but was much lighter than your screenshot so I don't think that's it. Maybe jagabo is correct about other video card settings though.
I think you've also got one of those hard to compress videos. CRF19 may not be good enough. You may have to use at least CRF 16, although I'd try encoding using a slower x264 speed preset first ("--preset slower", or "--preset veryslow" etc) then if the result still isn't good enough try CRF 18, then CRF 17 etc.Last edited by hello_hello; 25th Apr 2012 at 11:32.
-
I replicated what something close to what you are seeing in MPCHC by choosing "skip deblocking always" in ffdshow (configuring ffdshow to be the h264/avc decoder) . (The other difference might be you took screenshot in jpg, I took it in png (lossless) ) . I believe it's a playback configuration issue, either decoder or renderer
-
hello all,
was kinda busy for few days so didn't have a chance to fiddle around with this...
first of all...you've helped me a lot, QTGMC is a big boost over smoothdeinterlace and the settings from jagabo i got pretty darn pleasing results...
I'm not experiencing the "artifacts" in my encode anymore, thanks to all of you
Similar Threads
-
Philips 40PFL7505D/F7 - blue tint in dark areas problem
By micallen in forum DVB / IPTVReplies: 26Last Post: 23rd Feb 2011, 10:30 -
x264 artifacts on dark scene
By kartul in forum Video ConversionReplies: 18Last Post: 3rd Nov 2010, 16:14 -
Blocks in dark areas
By santosx in forum Video ConversionReplies: 22Last Post: 12th Oct 2010, 18:54 -
Videos too dark, increasing contrast washes out specific areas
By Cyber Akuma in forum DVD RippingReplies: 3Last Post: 8th Jul 2009, 19:44 -
Image quality issues, specially in dark scenes..any ffdshow config to help?
By fgtan in forum Media Center PC / MediaCentersReplies: 3Last Post: 13th Nov 2008, 07:26