DoomNoob
25th May 2006, 02:54
Hi, everyone ;) I have a very simple question to ask:
Is it possible to force the use of 8x8 (or 4x4) macroblocks in X264 ?
I explain: I am very sensitive to macroblocks artefacts ... it has reached the point where it has become an obsession ;)
why ? because no matter if there is really or not macroblocks artefacts in the encoded movie sooner or later your screen resolution will increase & macroblocks will appear naturally with upsampling extrapolation, for example if you watch a 800x600 video at 1600x1200 a single pixel become a 4x4 macroblock & at 3200x2400 a single pixel becomes ... a 8x8 macroblock ...
I know a 3200x2400 video is unrealistic actually but for numeric photo or scans these resolutions are very real ... so in the end it's just a matter of time before the 4ghz CPU & paramagnetic HD limits explodes ... let's say 5 to 10 years.
As a result of this, so far I only used TIFF/PNG/RAW or JPEG 100% or 95% for image because there is no visible macroblocks in these settings & Xvid vfw Unrestricted (Default) Quantizer 2 because this was the nearest thing to jpeg 95% I could find in video.
As I come from the scanning/photo world, I have the bad habbit of always taking screenshots in my video & see if I can find macroblocks to judge the codec ... with Xvid the result is very close to jpeg at maximum zoom it's either there is obvious blocks or not ... but with X264, with beblocking filter turned off, it's a pain because even with the highest quantizer (I tryed up to Quant13), x264 seem to willingly create large blocks off a single color in order to deblock them later ... no matter if the deblock option is activated or not ... so if you disable the deblocking option & zoom, it becomes really ugly ... like overcompressed jpeg ;(
for me macroblocks are like a lowpass filter in audio, pure destruction, & deblocking is like dithering, pure cheat.
so even if I understand that AVC is trying to fake wavelets via clever blocking/deblocking ... & if even if I know that it is very powerfull for low-bitrates ... I am disapointed to be actually unable to change this strategy by switching manual options for high-bitrates ...
so I need to find settings that will either:
- prevents X264 to create large blocks of color even at Xvid Quant2 equivalent bitrates (thinking it will be able to deblock it while I have disabled the deblocking option)
- force 8x8 macroblocks so that I can rise the quantizer until I don't see these blocks (like I do with jpeg/xvid)
I tryed playing with vfw & megui "partition" & "macroblock" options but it doesn't seem to be what I am looking for ...
I am starting to think that AVC is like AAC-HE ... useless for high bitrate qualitywise & that it don't worth the huge horsepower increase ... I recall I heard a news of a company releasing HD content in mpeg2 ... finally it was not as stupid as it first seems ... well maybe HD mpeg4-ASP Quant1 would have done the trick better then mpeg2 but the logic is here ... for high bitrates it's better to have a codec which block proportionnaly to bitrate than a codecs which always blocks ... even cleverly ... in order to deblock later ... because a block of a single color is still a block no matter if its edges are blurred ... all the natural noise is lost ...
Hoping someone can help the complete video noob I am ... see ya' all
Is it possible to force the use of 8x8 (or 4x4) macroblocks in X264 ?
I explain: I am very sensitive to macroblocks artefacts ... it has reached the point where it has become an obsession ;)
why ? because no matter if there is really or not macroblocks artefacts in the encoded movie sooner or later your screen resolution will increase & macroblocks will appear naturally with upsampling extrapolation, for example if you watch a 800x600 video at 1600x1200 a single pixel become a 4x4 macroblock & at 3200x2400 a single pixel becomes ... a 8x8 macroblock ...
I know a 3200x2400 video is unrealistic actually but for numeric photo or scans these resolutions are very real ... so in the end it's just a matter of time before the 4ghz CPU & paramagnetic HD limits explodes ... let's say 5 to 10 years.
As a result of this, so far I only used TIFF/PNG/RAW or JPEG 100% or 95% for image because there is no visible macroblocks in these settings & Xvid vfw Unrestricted (Default) Quantizer 2 because this was the nearest thing to jpeg 95% I could find in video.
As I come from the scanning/photo world, I have the bad habbit of always taking screenshots in my video & see if I can find macroblocks to judge the codec ... with Xvid the result is very close to jpeg at maximum zoom it's either there is obvious blocks or not ... but with X264, with beblocking filter turned off, it's a pain because even with the highest quantizer (I tryed up to Quant13), x264 seem to willingly create large blocks off a single color in order to deblock them later ... no matter if the deblock option is activated or not ... so if you disable the deblocking option & zoom, it becomes really ugly ... like overcompressed jpeg ;(
for me macroblocks are like a lowpass filter in audio, pure destruction, & deblocking is like dithering, pure cheat.
so even if I understand that AVC is trying to fake wavelets via clever blocking/deblocking ... & if even if I know that it is very powerfull for low-bitrates ... I am disapointed to be actually unable to change this strategy by switching manual options for high-bitrates ...
so I need to find settings that will either:
- prevents X264 to create large blocks of color even at Xvid Quant2 equivalent bitrates (thinking it will be able to deblock it while I have disabled the deblocking option)
- force 8x8 macroblocks so that I can rise the quantizer until I don't see these blocks (like I do with jpeg/xvid)
I tryed playing with vfw & megui "partition" & "macroblock" options but it doesn't seem to be what I am looking for ...
I am starting to think that AVC is like AAC-HE ... useless for high bitrate qualitywise & that it don't worth the huge horsepower increase ... I recall I heard a news of a company releasing HD content in mpeg2 ... finally it was not as stupid as it first seems ... well maybe HD mpeg4-ASP Quant1 would have done the trick better then mpeg2 but the logic is here ... for high bitrates it's better to have a codec which block proportionnaly to bitrate than a codecs which always blocks ... even cleverly ... in order to deblock later ... because a block of a single color is still a block no matter if its edges are blurred ... all the natural noise is lost ...
Hoping someone can help the complete video noob I am ... see ya' all