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. |
|
|
#1 | Link |
|
Registered User
Join Date: Sep 2002
Location: Seattle
Posts: 551
|
How useful is VHQ4 in your encodes?
If you've compared the file size of your encodes in VHQ4 vs. 1, and have the results handy in % difference, please post here. I'm trying to determine generally how useful VHQ4 is for other people.
My anecodte: VHQ4/1: 1058MB vs. 1089MB Hollywood-style movie, modern, clean, 2 hours long. GMC, QPel, low quants (2's and 3's mostly), hvs-best custom matrix, turbo mode, 2 b-frames with default settings, anything else pertinent that I'm forgetting? This is a 3% reduction in file size for about a 50% reduction in encoding speed on my machine (P4 HT). |
|
|
|
|
|
#3 | Link |
|
fit 10 in 5
Join Date: Nov 2003
Location: Santa Clara, CA
Posts: 3,423
|
i see it like this:
I usually let the comp encode all night. VHQ4 seems to enhance the quality of the video quite a bit for me. It really minimizes blocking and haloing. as such it is definatley worth it to me. Turning it off wont make me wake up earlier if you know what i mean.
__________________
I require bits. More bits! |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Dec 2001
Posts: 987
|
[edit]Redid test.
Settings are now default minus bframes, still quant 2.[edit2]Since I guess it's relevant to speed optimizations, I'm on an old Athlon tbird. 1Ghz and decoding from a helix yv12 encoded avi, for further speed info.[/edit2] VHQ|Speed (s)|Size (bytes)|__% time_____________|% compression 0____6________3,907,584_______100%_______________0% 1____8________3,745,792_______133%_______________4.14% 2___12________3,717,120_______200%(150%)_________4.87%(0.77%) 3___16________3,708,928_______267%(130%)_________5.08%(0.22%) 4___21________3,700,736_______350%(131%)[263%]___5.29%(0.22%)[1.20%] Parenthensese are the percentages against the previous level (normal % are against 0). The bracketed values under VHQ 4 are percents against VHQ1. Last edited by RadicalEd; 28th May 2004 at 01:20. |
|
|
|
|
|
#5 | Link |
|
h.264 fan
Join Date: Apr 2004
Location: In my CPU! (Damn, it's hot in here!)
Posts: 94
|
I have noticed some artifacts when I use VHQ4! I encoded "GLADIATOR" once with VHQ1 and then with VHQ4! After a very closer look in some action scenes, I saw that VHQ4 produced more artifacts than VHQ1! I know that this thing sounds a little bit crazy, but I couldn't believe it either! The most funny part is that when I used both VHQ1 and trellis, I had much better quality than VHQ4! That's my opinion although!
__________________
The power is in your mind!!! |
|
|
|
|
|
#6 | Link |
|
Registered User
Join Date: Mar 2002
Posts: 486
|
I have a related question: There are seven motion search precision settings and five VHQ modes. That makes 35 permutations. Add in other settings such as chroma mode, turbo, trellis and you have more than 100 permutations.
I would like to decide on a few (say four) permutations which give good performance and represent a good spread over the encoding speed / quality spectrum. Does anyone have any favorite combinations of these settings? TIA |
|
|
|
|
|
#7 | Link |
|
4 8 15 16 23 42
Join Date: Jan 2004
Location: The Island
Posts: 127
|
I can't post any numbers here, since I made no such comparison lately, but at a fixed target size I can clearly see the difference between VHQ=1 and VHQ=4. VHQ=4 is terribly slow on a Celeron 1200 MHz
, but I use it anyway - it RULEZ!
|
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Apr 2002
Location: France
Posts: 180
|
I have a question about the use of VHQ.
I have an .avs which is so slow that I change my mind between the 2 XviD pass and decided to switch between VHQ1(in 1st pass) and VHQ4(in 2nd). Regarding the speed optimizations in the first pass(i suppose they had something to do with vhq, qpel, gmc and some other slow calculations), does the VHQ number has an importance in 1st pass? If this wasn't clear enougth, i reformulate: Can I switch/change VHQ between two pass? |
|
|
|
|
|
#9 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 3,518
|
> Can I switch/change VHQ between two pass?
Yes. It's not 100% optimal, but the difference is minor. 1st pass is there to get the framesizes & frametypes for the 2nd pass. Since the actual size difference between VHQ1 and VHQ 4 is not that big, you can rely on XviD's rate control to compensate for it. If you do so, it might be a good idea to alter the overflow settings a little: 1st=VHQ1, 2nd=VHQ4 - leave "degradation" at [your setting], and bump up "improvement" & "strength" by 50%. In the opposite case, 1st=VHQ4, 2nd=VHQ1 (why ever do that? "Oh, 2nd-pass takes too long, but I have to get that train!"), do the opposite: leave "improvement", and bump "degradation" and "strength". Personally, I won't recommend the "20/20/20" thingie - but that's just my picky preferences ![]() - Didée
__________________
We´re at the beginning of the end of mankind´s childhood |
|
|
|
|
|
#10 | Link | |
|
Registered User
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,166
|
Quote:
Radek |
|
|
|
|
|
|
#11 | Link | |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 3,518
|
Quote:
But admittedly, I was thinking within the (un-)restrictions of my usual methods, and forgot a little about the default behaviour ![]() Sorry, Jason. Syskin, thanks for clearing up that half-nonsense I produced. - Didée
__________________
We´re at the beginning of the end of mankind´s childhood |
|
|
|
|
|
|
#12 | Link | |
|
just me
Join Date: Sep 2002
Posts: 158
|
Quote:
I do it at full quality, because when the file is not too big, I just keep it to burn it to DVD. O.K., what I really wanted to ask is: can anybody confirm aketons observation? I can't imagine being that true, because there was a lot of testing and debugging going on, before Xvid was labeled 1.0. I use VHQ4, because I think it reduces swimming in the background. (Did not yet have the time to test the improvements of version 1.1 yet, but I'm rather curious about the results) Best regards, JimiK |
|
|
|
|
|
|
#14 | Link |
|
Moderator, Ex(viD)-Mascot
![]() Join Date: Oct 2001
Posts: 2,564
|
Screenshots! Screenshots!
Seriously, when anyone claims to have discovered something startling it would be most useful if he/she posted screensots, avs-file and XviD setup. aketon, can you please encode a clip at constant quantizer, once with trellis and vhq=1 and once with trellis and vhq=4? Then, please load the results into VDub and do some snapshots where you discover artefacts or other interesting differences. Alternatively, if you still have both your Gladiator encodes, load them via avs ("directshowsource") so we can view the frame quantizers, too, with ffdshow's 'OSD' function. Would be greatly appreciated.
__________________
It's a man's life in Doom9's 52nd MPEG division. "The cat sat on the mat." ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl! |
|
|
|
|
|
#15 | Link | |
|
Registered User
Join Date: Feb 2004
Posts: 123
|
Quote:
|
|
|
|
|
|
|
#16 | Link | |
|
Registered User
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,166
|
Quote:
@aketon - when was that? I don't believe that was any 1.0.x. @all - when you compare VHQ1 vs VHQ4, don't look at filesize. I could easly re-tune VHQ to produce quite a big range of filesizes - current tuning is for maximum PSNR and it just so happens that this setting reduces bitrate at fixed quant by such a fraction. Could make it equal. Radek |
|
|
|
|
|
|
#17 | Link | |
|
! - User - !
Join Date: Nov 2001
Posts: 1,081
|
Quote:
For this we would only have to set up a test that equals Roberto's audio tests. A collection of clips encoded with different tunings of VHQ and here we go! Don't you say this would too much of a hassle
__________________
Keep your tone warm and your sigs decent! |
|
|
|
|
|
|
#18 | Link |
|
h.264 fan
Join Date: Apr 2004
Location: In my CPU! (Damn, it's hot in here!)
Posts: 94
|
OK! I don't have "GLADIATOR" right now (he had an accident
), but I had done some tests with "INTOLERABLE CRUELTY", and after at some tests I still see vhq-1 and trellis to preserve more quality than vhq-4 and trellis! The codec I used to encode "GLADIATOR" was Xvid 1.0 RC4 !!!Does anybody know how to post some the pictures???
__________________
The power is in your mind!!! |
|
|
|
|
|
#20 | Link |
|
h.264 fan
Join Date: Apr 2004
Location: In my CPU! (Damn, it's hot in here!)
Posts: 94
|
HERE IS MY TEST!!!!!!
Codec: XviD 1.0 final Koepi --------------------------- Settings: --------- VHQ-1 clip: default settings quantizer 8 VHQ 1 trellis on VHQ-4 clip: default settings quantizer 8 VHQ 4 trellis on ----------- MY IMAGES: sCREENSHOT 1: ORIGINAL ![]() VHQ-1 TRELLIS ON ![]() VHQ-4 TRELLIS ON ![]() If you look carefully at the trees, you will see that VHQ-4 smooths much more than vhq-1! Imagin now the same smoothing on a wall with a lot of detail (from stones)! In "GLADIATOR" the differnces were even more bigger! VHQ-1 keeped all the details in most of the action scenes in the arena on the walls, where VHQ-4 smoothed everything! SCREENSHOT 2: ORIGINAL ![]() VHQ-1 TRELLIS ON ![]() VHQ-4 TRELLIS ON ![]() Look at the trees near the sky again! VHQ-4 smoothes much more than VHQ-1! Look at the grass the details! The original picture has a white thing in the middle of the grass! In VHQ-1 is a little bit smoother! In VHQ-4 the white thing dissapears!
__________________
The power is in your mind!!! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|