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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st April 2008, 17:12   #921  |  Link
Southstorm
20yr Videographer
 
Join Date: Jan 2008
Location: The Great Northwest
Posts: 272
I'm sold!
Southstorm is offline   Reply With Quote
Old 1st April 2008, 17:14   #922  |  Link
Razorholt
Cyberspace Citizen
 
Razorholt's Avatar
 
Join Date: Nov 2005
Posts: 457
I never mentioned 200kbps and I never encode anime stuff.
Razorholt is offline   Reply With Quote
Old 1st April 2008, 17:37   #923  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Razorholt View Post
I never mentioned 200kbps and I never encode anime stuff.
I was referring to the general commentary that AQ wasn't good at low bitrate anime (including such comments made by myself).
Dark Shikari is offline   Reply With Quote
Old 1st April 2008, 17:52   #924  |  Link
karasu
Registered User
 
karasu's Avatar
 
Join Date: Jun 2006
Posts: 111
I'm sorry for the confusion, the different settings in deblocking come form an error of copy/pasting. (I'm trying to vary each settings at once to see what's happens, I think it's the best way to learn about x264)

My mistake was to copy the wrong line on my "huge settings log file"...

Of course the deblock settings was the same for my two tests.

Perhaps a deblocking of -2-1 is stupid, but to my eyes it look more like the original than deblock 0 0 .

However, I'm still using an outdated version of AQ, I'll retry with one of the builds of this thread, or maybe VAQ2

Last edited by karasu; 1st April 2008 at 17:58.
karasu is offline   Reply With Quote
Old 1st April 2008, 18:03   #925  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by karasu View Post
Perhaps a deblocking of -2-1 is stupid, but to my eyes it look more like the original than deblock 0 0 .
AQ in particular suffers from overly low deblocking strengths because they result in deblocking not being applied at all to background blocks.
Dark Shikari is offline   Reply With Quote
Old 2nd April 2008, 12:23   #926  |  Link
karasu
Registered User
 
karasu's Avatar
 
Join Date: Jun 2006
Posts: 111
Quote:
Originally Posted by Dark Shikari View Post
AQ in particular suffers from overly low deblocking strengths because they result in deblocking not being applied at all to background blocks.
Ok, thank you for these explications.
I have made some tests with default deblocking. The SSIM boost is important.
High motions scenes are greatly improved,
high motion AQ
high motion no AQ

but the the stills or very slow motions scenes are less sharper than without AQ.
low motion AQ
low motion no AQ

Perhaps I'm completely wrong (I'm here to learn) but I think that we are more sensible to quality in slow motion scenes. So for the human eye, the gain in perceptual quality isn't as good as the SSIM gain.
Do you think that a way to adapt the AQ strength in function of the speed of the motion can be useful in that case?
karasu is offline   Reply With Quote
Old 2nd April 2008, 12:38   #927  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
For the record, if you're encoding SD Elephants Dream at 500 Kbits or around that mark, the MINIMUM deblocking you can get away with is -1:-1 (not tried it, but might help in the telephone wires scene), highly recommended is the default (0:0). I did a comparison between VC-1 and H.264 a while back, I did one encode with all the bells and whistles, long before VAQ was around, and Haali's AQ was disabled. It looked very good!
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 30th April 2008, 10:44   #928  |  Link
Lele-brz
Registered User
 
Lele-brz's Avatar
 
Join Date: Feb 2007
Posts: 188
I had the same impression of Karasu.
Sometimes AQ seems to decrease the perceived quality on some videos.
After some test I would use it on high motion (especially soccer games where the grass with AQ looks much better), but not always.
So, I'm wondering why it's turned on by default.
Lele-brz is offline   Reply With Quote
Old 30th April 2008, 17:03   #929  |  Link
MfA
Registered User
 
Join Date: Mar 2002
Posts: 1,075
Quote:
Originally Posted by karasu View Post
Do you think that a way to adapt the AQ strength in function of the speed of the motion can be useful in that case?
Maybe someone can step up to do something like this after Aki Jäntti's SoC project, once his temporal search and per MB record keeping code is in there (hopefully) you could add future motion on top of future coding relevance (which he is working on). Just naively weighting based on current frame motion is a bad idea, a large foreground object which moves predictably can be in perfect focus on your retina ... only for extreme velocities would this kind of naive weighting make sense, you need more data and better metrics.
MfA is offline   Reply With Quote
Old 21st June 2008, 21:32   #930  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
By far the worst "problem", in my opinion, with VAQ, is the mosquito noise that inevitably surrounds hardcoded subtitles. For example, in The Lord of the Rings, when there are hardcoded subs for the Elvish parts. I can make a 2CD backup that looks pretty perfect in my opinion, except for said noise.

Are there any plans to alleviate this, or can you recommend settings that will mitigate that without impacting the rest of the video much?
Ranguvar is offline   Reply With Quote
Old 21st June 2008, 22:48   #931  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Ranguvar View Post
By far the worst "problem", in my opinion, with VAQ, is the mosquito noise that inevitably surrounds hardcoded subtitles. For example, in The Lord of the Rings, when there are hardcoded subs for the Elvish parts. I can make a 2CD backup that looks pretty perfect in my opinion, except for said noise.

Are there any plans to alleviate this, or can you recommend settings that will mitigate that without impacting the rest of the video much?
On the one hand, without VAQ, hardcoded subtitles end up using up an absurd proportion of the number of bits in a video because of their sharp edges. VAQ's algorithm makes the assumption--a valid one, I think--that you probably don't want the subtitles wasting so many bits.

On the other hand, you could just try weakening AQ a bit; IMO subtitles can go quite a bit up quantizer-wise before there's a serious visual problem.

Last edited by Dark Shikari; 22nd June 2008 at 05:23.
Dark Shikari is offline   Reply With Quote
Old 22nd June 2008, 05:09   #932  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Alright, thanks. I guess I'm just screwed because my eyes seem to hone in on subtitles... too much anime xD

Didn't know they took up so many bits, however, so I'm at least somewhat put at ease
Ranguvar is offline   Reply With Quote
Old 8th July 2008, 05:28   #933  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Hey, me again with little annoying questions

This thread says:
Quote:
Version history:

0.48: AQ strength 0.5, sensitivity 13 made the defaults. Updated to r736. Qcomp is now scaled based on AQ strength automatically.
However, --longhelp on r899 reports that a strength of 1.0 is the default.

Which is it, please? I poked around the source a little, but I am still an über-noob at code...
Ranguvar is offline   Reply With Quote
Old 8th July 2008, 05:31   #934  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Ranguvar View Post
Hey, me again with little annoying questions

This thread says:


However, --longhelp on r899 reports that a strength of 1.0 is the default.

Which is it, please? I poked around the source a little, but I am still an über-noob at code...
The strengths were all doubled so that 1.0 would be the default, for interface reasons.

Old 0.5 == New 1.0
Dark Shikari is offline   Reply With Quote
Old 14th September 2008, 21:00   #935  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
What is the recomended variance aq setting to achive highest quality in megui: strengh 1.0 or 2.0 ??? i' using 967-1 skytrife release
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 14th September 2008, 21:02   #936  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
default strengh 1.0 should be optimal for most cases
Atak_Snajpera is offline   Reply With Quote
Old 14th September 2008, 21:10   #937  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
Thanks, i used 2.0 for an encode and the results where NOT that greate, retrying using 1.0. THANKS again

Quote:
Originally Posted by Atak_Snajpera View Post
default strengh 1.0 should be optimal for most cases
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 14th September 2008, 21:21   #938  |  Link
Zwitterion
Registered User
 
Join Date: May 2008
Posts: 80
Now that we have PsyRD, I find the AQ default value of 1.0 a little too high.
When AQ was tuned, trading off some edge definition for the vast improvement of flat areas was acceptable. But now PsyRD improves those flat areas a lot, so AQ doesn't need to be as high.

I recommend 0.5 as a sensible default value when using PsyRD.
Zwitterion is offline   Reply With Quote
Old 14th September 2008, 21:25   #939  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Zwitterion View Post
Now that we have PsyRD, I find the AQ default value of 1.0 a little too high.
When AQ was tuned, trading off some edge definition for the vast improvement of flat areas was acceptable. But now PsyRD improves those flat areas a lot, so AQ doesn't need to be as high.

I recommend 0.5 as a sensible default value when using PsyRD.
Quantizer-field smoothing is coming soon, and should resolve most of these issues.
Dark Shikari is offline   Reply With Quote
Old 15th September 2008, 01:17   #940  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
1.0 can be very agressive in some low bitrate situations but hopefully quantizer field smoothing will really bring the visual fix for that, also trying to compensate some of these edge problems currently by useing higher chroma quants seems to sometimes work wonders currently, though it will use a little more bitrate. I guess what happens is it compensates AQ a little so it acts like a fine tuneing mechanism takeing efficiency of AQ and on the other side i guess as the chroma information most of the times is everywhere near edges it helps here by allocateing more bits to these so they dont (the chroma near the edges of a object) fuzz out to fast in motion (but all this only becomes a real visual problem at very low bitrates most of the times, and @ these you dont should care so much anymore about detail preservation but motion stability).
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 15th September 2008 at 01:25.
CruNcher is offline   Reply With Quote
Reply


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 08:52.


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