KVCD template VS. Tmpgenc defaults?
Just out of curiousity, I decide to make a comparison between the two. I used the size 704 x 480, 500-2400 bitrate, and 224kbps 48khz audio as constant and varied the CQ from 50 in steps of 5 up to 80 (eg. 50, 55, 60, 65, etc.).
The source is a 15 minute dvd rip of the movie The Abyss. A background, there is a very difficult scene at the beginning where the title "The Abyss" gradually enlarges until the Y becomes an underwater scene of blue and block. This scene produces blocks even though most if not the rest of the movie are already blockless. These are the resulting file sizes using the: 1. TmpGenc default GOP and matrix CQ = 50 -> 155,457mb = 55 -> 155,457mb = 60 -> 155,457mb = 65 -> 155,457mb = 70 -> 155,457mb = 75 -> 173,803mb = 80 -> 199,633mb Comment: Quality-wise, there was a little hint of blocks at the opening scene at CQ 50. 65 is good, 70 is excellent, no more eyeball difference for the higher CQs. 2. TempGenc default GOP and Andreas matrix CQ = 50 -> 119,652mb = 55 -> 126,581mb = 60 -> 136,821mb = 65 -> 155,457mb = 70 -> 164,215mb = 75 -> 195,457mb = 80 -> 221,675mb Comment: Filesizes are large. Acceptable quality starts at CQ 75. 3. Kwag GOP and TmpGenc default matrix CQ = 50 -> 106,868mb = 55 -> 110,452mb = 60 -> 116,144mb = 65 -> 125,410mb = 70 -> 132,037mb = 75 -> 155,452mb = 80 -> 185,224mb Comment: Very little filesize compared to the rest and quality-wise, the opening scene at CQ 50 is at par with Condition 1 CQ 65. 4. Kwag GOP and Andreas matrix CQ = 50 -> 116,309mb = 55 -> 122,144mb = 60 -> 131,093mb = 65 -> 147,543mb = 70 -> 158,645mb = 75 -> 189,640mb = 80 -> 219,771mb Comment: Quality-wise, there was blocks at the opening scene at CQ=50, and becomes worse as I increase the CQ. Blocks decreased at CQ=75 and lesser at 80. Conclusion: I actualy graphed the resulting bitrates as against the CQ. Compression-wise, using the Kwag GOP and TempGenc default matrix is definitely tops and the quality is acceptable at CQ=50 right away and drastically improves as you increase the CQ. This is just using eyeball though. I'll do the same test on another dvd ripped movie and if the pattern holds true, then probably I'll be using the Kwag GOP/TempGenc matrix combination. |
Great data Timberwolf! I'll have to make some tests myself at different resolutions. Apparently the "Andreas" Q matrix was optimizez for SVCD encoding. Or 352x480(576) resolutions. I think it was never tested at 704x480(576). Possibly a solution would be a different matrix for different resolutions. Volunteers :lol:, because that's a hell of a job!
kwag |
Great post Timberwolf!
Thanks for all great info and work on that project..Definitely worth a bookmark for future reference! Thx......... 8) |
Thanks everyone! I hope it does any of you some good like it does me. Remember though that the result is just good for 704x480 size and for that particular movie. i have to do some more test to arrive to a better informed conclusion.
I did the test on two consecutive nights, just set the batch encode then let it run while I was sleeping. The Motion Search Precision was set to Normal to make the encodes faster. |
Amazing info Timberwolf. Using the Kwag GOP, notice that you can bump the CQ from 55 to 65 _with nearly the same filesize_ just by switching back to the default matrix! That's huge! This means a whole range of movies that were just slightly too big before may now fit! And those movies that fit already can have their CQ pushed from the default of 50 up to nearly 65 in some cases. 8O
One oddity though... in your first set of tests, the file size is identical from CQ 50 up until CQ 70! Typo, I assume? A question: You said that in test group 1, CQ 70 was excellent and you got no improvement going higher. In test group 3, you said CQ 50 was equal to CQ 65 in test group 1. What CQ in test group 3 was equal to CQ 70 of test group 1? Does test group 3 also have a cap where raising the CQ further gives no improvement? Hmm... another question: Why do you use a bitrate range of 500-2400? The default for the template is 300-2300. Does this matter much? Kwag... I'm willing to help test matricies if you have some in mind that need to be tested. I had always meant to ask you about the Andreas matrix, because I believe in German the name is 'Andreas simple 99er SVCD' (implying it was best for SVCD, I suppose), but I figured the matrix must have no relation to the resolution. Obviously does, eh? The 'Andreas 78er' matrix might be the compromise between the default and the 99er matrix? |
Quote:
Quote:
Quote:
Truthfully, I find it hard to decide where the cap is because when you attain a superb quality the differences from then on are so subtle that I may not be aware of it. That's why I will just maximize the CQ as the 2 cdrs will permit you :) Take note also that I'm commenting to the qualities of the encodes based on the most difficult scene in the movie, meaning if blocks will appear, it will probably appear at that scene first. When I say that the quality is good, it is only for that scene. For the rest of the movie, the quality may probably be excellent already.[/b] |
Quote:
I was doing some experimenting with the bitrates, I didn't set out to do this particular Kwag/Tempgenc comparison at all. Then along the way I thought of this test. And since I already have some data gathered with those minimum-maximum settings, i decide to proceed with it so as not to waste that data. |
Hey timberwolf
:oops: I´m not too much of an expert in this stuff yet, but i´m trying... So, don´t mind if i ask but, how exactly did you setup, you loaded the tmpgenc default and use the 704X480 config or the opposite ? Thanks :wink: |
Quote:
yeah, that's about what I did. |
Okay I set up a batch encode last night comparing further the Kwag GOP/Tempgenc default matrix versus the Kwag GOP/Andreas matrix.
The movie is The Matrix ripped from a dvd. The settings are 704x480, 23.976fps, CQ 66, 300-2300kbps, 48khz 224kbps audio. Contrary to my findings with the The Abyss movie, the Kwag GOP/Andreas came out with lesser file size. Kwag GOP/Andreas matrix = 1,362,614kb Kwag GOP/TmpGenc default matrix = 1,392,614kb I don't know the reason why, maybe it just depends on the movie on which method will produce a lesser filesize. Or the Kwag GOP/Andreas matrix may have had produced a lesser file size in "The Abyss" in the first place if I had encoded the entire movie and not just a 15 minute clip of it. Anyways, there is a big difference in quality. The Kwag GOP/Andreas matrix have blocks all over the place. The Kwag GOP/TmpGenc default matrix is devoid of it, it is just perfect. With the small difference in filesize and the quality a lot better, I'll be using the Kwag GOP/TmpGenc default matrix from now on for 704x480 encodes. |
Quote:
kwag |
For the heck of it, I encoded the Warcraft 3 trailer from Blizzard (1024x488 DivX) to the KVCDx2 templates, and I found something similar to Timberwolf's initial findings... the clip is about 2:30 in length, and with the Andreas matrix it came out nearly 15meg, while the default matrix came out 12meg. Because the original source is DivX, it is very difficult to compare quality between the two (I don't know of a simple way to load up the original plus the two test samples side-by-side to compare). I guess the good news would be that I didn't notice any huge differences in quality, but shaved 3megs from the filesize... a very nice gain! I'm now going back and using the default matrix with higher CQ values to compare with.
Does anyone know of a nice method for loading up multiple mpegs plus the original .avi to be able to compare side by side? Update: As with Timberwolf's first test, I could bump the CQ from 50 to 60, and got nearly the exact same filesize as when I use the Andreas matrix at CQ 50. Again, this is computer animation from a DivX source, so it may not be the best starting point. I still need to burn them all to CD and take a look on TV. PC viewing makes it hard to tell. |
Quote:
Before I made this comparison test with the GOPs and matrices, my initial encodes were very good results for the 1-cd template but poor on the 2cd template-very blocky. I discounted my findings for the latter because I've only seen two aside from me complain in the board that they see lots of blocks with that template. So when I wanted to do a 2cd encode, I just used the 704x480-1cd template and just upped the CQ to anywhere up to 54. Just up to CQ 54 because beyond that blocks will appear and will increase as you continue upping the CQ. I am really puzzled why it was just the two or three of us who complained of blocks when using that 704x480-2cd template, since I don't think I made a mistake in using it. My recent GOP and matrices comparison proved that the Kwag GOP and Andreas matrix combo gets blocky beyond CQ 54. I'm waiting for your own tests to confirm or disprove my findings. Anyways, the beautiful thing is I found your GOP settings work beautifully with the TempGenc default matrix. And it works the way it supposed to be, the quality increases as you increase the CQ. |
The lack of people complaining about the 2CD template might be from the lack of people using the 2CD template ;) I know I haven't yet tried it, as most movies I've been playing with to this point either fit on 1-cd already, or were 'throw away' tests, so weren't wroth re-doing with the 2-cd template for 1-time viewing. You saved a lot of work for those of us that _will_ be using the 2CD template sooner or later :)
|
Quote:
|
Quote:
You're dead on RIGHT! I just batch encoded the first 15 minutes of "Proof of Life" with the KVCD 352x480 template. Here are the results. With "Andreas" matrix: 140,557KB With "Default" matrix: 121,747KB 8O At 352x480, I can see no visual quality difference between the encoded mpegs files. I'm encoding another 15 minute clip, "The Green Mile", to see if I get the same result. If I get the same result, I'm rolling back to the "Default" matrix on all templates. kwag |
Here we go. This is the result of the first 15 minutes of "The Green Mile"
Default matrix + KVCD GOP 1-18-3-1-48 : 118,559KB Andreas matrix + KVCD GOP 1-18-3-1-48 : 141,728KB There are some very very small visible artifacts around some edges in the default. They are also visible, but barely, in the Andreas test run. I really can't see any other difference between the two. Even looking closely in the PC monitor. Both are pretty blockless. But 23MB difference is HUGE. This multiplied by 4 is 80+ average MB savings per hour. So I'm switching the matrixes back to default on all templates tonight. kwag |
I have been testing myself. I have been testing for 352x240 though. I compared the current 352x240 template with the original 352x480 template (changed to 352x240). I tinkered with CQ until I got comparable filesizes. The old template changed to 352x240 (w/ original matrix) produced noticably better quality.
|
question! How do you know if you're using the andreas matrix or the default matrix? When i load the template and click on the "quantize matrix" tab, the drop down menu is blank, there is no matrix selected. Should i select "default" from the drop down menu to use the default?
|
Quote:
Download from there and when u load it to TMPG u'll see "Default" appear in matrixes box. Anyway, All templates are updated since 30-6-2002 night . bman |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.