![]() |
CQMatic 1.3 (EXPERIMENTAL) results
I'm running three individual "X1 Mode" "prediction-only" phases, and one "X3 Mode", on the movie "Red Planet".
( http://www.kvcd.net/downloads/CQMatic-1.3.00.exe ) Here are the results, using "X1 Mode" Prediction: Run #1 - CQ = 63.51 Run #2 - CQ = 64.23 Run #3 - CQ = 63.62 Average: 63.786 Here is the result running a single "X3 Mode" prediction: CQ = 56.69 This one doesn't seem correct :!: So I'm encoding the complete movie now, with the average of 63.786, and we'll see if the final file size is close to the wanted of 729,726KB Will post result in about 3h:30min. -kwag |
:?:
How 3 predictions can lead to 3 different CQ values ? Whant did you change for each one ? |
Quote:
CQMatic is now sampling "out-of-order" shots, and this way, you get a better "feel" of the material. For example, in the above test, on the movie Red Planet, you can see that the bitrate distribution is well normalized throughout the movie, because even at three different runs, the CQ value is almost the same. On other movies, it will probably be different :!: I'll take that into consideration for a future version, where it will do two initial runs. If the difference from each run differs by more that 2%, then CQMatic will automatically run three or four runs, and average the CQ values, to get a more accurate final CQ value. -kwag |
That sounds very interesting!
Do you already have any results? |
Could CQMatiq calculates the three test average?
|
Quote:
I'm 56% into the encode. About 1 hour 30 minutes to go for te result :) -kwag |
Quote:
Quote:
|
Quote:
That's why I posted that for a future version, CQMatic will decide if it makes three or four total runs, depending on the first difference of the first two runs. Because of the way CQMatic now selects the prediction footage (very randomly), if I get a large deviation difference from the first run compared to the second run, it means that the footage varies a lot in activity and that activity is not well distributed. So depending on how much that deviation is, I can take into consideration additional prediction runs to average the final CQ value :D -kwag |
Well well, results are not as I expected.
Wanted file size: 729,726KB Encoded file size: 772,093KB Diff of +5.48% Now I'll encode at CQ=56.69, the value X3 mode gave me. Results tomorrow, because I'm going to bed now :roll: Edit: Maybe these threads should be called: "Taming the CQ beast" :twisted: -kwag |
Final size with X3 is: 643,571KB, which is way low.
Clue: After looking at this very closely, now I'll attempt to fine tune the number of samples and the sample size. Why :?: Because if I got almost the same CQ value in X1 mode with three completely different prediction runs, then it seems logical that the random sampling is producing a constant result. So I'll work on finding an optimal number of samples/sample size, and when I hit correct CQ for this movie, I'll test it on several diferent movies. I'll also drop X3 mode, because it won't be needed any longer. I'll post version 1.3.01 later today. -kwag |
:ole:
Can't wait to know the results. The only problems is...I don't use tmpgenc anymore :( Maybe we'll have to think about working on a CQM 4 MEncoder :lol: Good work Kwag Cheers PS-Get some rest. You deserve it. |
Quote:
But yes, I'm already thinking about supporting MEncoder/ffmpeg in CQMatic :) Quote:
-kwag |
Well, I'm really fed up with TMPEG :!:
The problem is not CQMatic. It's the damn (again!) unreliable/unpredictable/unlinear CQ curve, which just behaves completely different, even at same CQ values, when different resolutions/parameters are exercised. Look very closely: Movie encoded: Red Planet File size at CQ=62.43: 689,989KB File size at CQ=63.78: 771,853KB And my WANTED file size is 729,726KB :!: How much time do you think that it would take to predict a correct CQ value, in the range from 62.43 to 63.78 for that wanted file size :?: Because it definitely has to be done with two decimal digits of precision. At a CQ difference of only 1.35, there is a file size difference of 81,864KB using a controlled environment (same script, same parameters, etc.) This is hilarious :!: 8O So that's it. I wish Pegasys, Inc. fixes the CQ curve (if that ever happens, which I really doubt!) In the mean time, I'm studying an alternate method to zero in on this CQ valley :roll: -kwag |
Damn :!:
But isn't there a release that's a bit more smoother than the one's we've been using lately. I thought I read somewhere that it changed a lot between releases but that there was a version known to be more "predictable". Or am I wrong :?: In the worst case scenario you could try to aid Nic with QuEnc and make CQM compatible with it... Or maybe MEncoder, although I think MEncoder is a beast right now. Cheers |
Quote:
Quote:
Quote:
Quote:
Anyway, I'm doing other tests right now with CQMatic, testing some new algorithms. So stick around ;) -kwag |
The end of CQMatic (TMPEG version)
I'm officially announcing the end of support for TMPEG in CQMatic.
Whether I do something with CQMatic in the future to support something else, has yet to be seen. However, CalcuMatic is always usefull, because it's a good calculator which is not attached to CQMatic. Final results of my last encode with CQMatic: Movie "Payback" Wanted file size: 734,192KB Encoded file size: 794,272KB As of "right now", TMPEG support with CQMatic is permanenty discontinued. Please focus on MEncoder, and keep an eye on DIKO, with possible future support built-in ;) TMPGEnc WAS a great product, but it has been superceded by MEncoder(ffmpeg). And I hope Pegasys, Inc. reads this, as they have never responded to me, to any of the E-Mails I've sent reporting bugs and other issues (like the CQ non-linearity issue). To TMPGEnc: R.I.P. Lets all move forward to higher quality, multi platform and faster encodes with MEncoder :!: - The End - -kwag |
Gee pal,
Don't speak like that. You almost give me the creeps :? But I think I know what you meant to say. We'll have to keep using tmpgenc while we don't find a better option. That could have already been found: FFmpeg/MEncoder/FFdshow&FFvfw/QuEnc. You name it! But it's going to take a while for us to start seeing light at the end of the tunnel. These and other encoders are still beasts. They need to be packed with multiple arguments that still don't work so good. We'll get there, I bet you, but don't expect that in a short time. So let's all enjoy tmpgenc for a while more though we know it is getting old and it needs to step down it's throne. C ya |
Quote:
But I do mean what I said :twisted: Quote:
I'm waiting on some things from vmesquita for confirmation. Apparently, TMPEG's quality has been matched (or superceded!) with ffmpeg, so we don't need TMPEG anymore. All my efforts will now be geared towards MEncoder/ffmpeg. Quote:
Quote:
Quote:
Quote:
Quote:
But MEncoder/ffmpeg, can run on Windows, Linux, FreeBSD, NeBSD, BeOS, MAC, etc. Not so for TMPEG. -kwag |
:lol:
Well, I gotta tell you this. I'll go the way you go :bowdown: . You're the boss, boss :wink: . Cheers |
Quote:
Quote:
|
Quote:
-kwag |
Quote:
Quote:
-kwag |
Quote:
That was my 1st emotion too :cry: About MEncoder I just think we need more time for it to pass the test. Don't get me wrong: it's speed and quality are amazing. But this giant has to lean on makeAVIS (an FFvfw tool) to read avisynth scripts :( In that way there's nothing like QuEnc: it reads AVS right out from the box. Quality and speed are a bit worser than MEncoder's but not for much. So as Kwag says: the future looks bright. But that future ain't tomorrow. It's more like in six moths time or something... C ya |
Quote:
I am asking,no begging please don't leave us "not so computer smart" people behind :D |
Hey :!:
Even if we move to another encoder (command line or not) we're not leaving anyone behind :wink: I speak for myself: I have abandoned tmpgenc/cce for some months now, and have been encoding exclusively with MEncoder. And believe me, I haven't missed tmpgenc at all. It's true I have been encoding KDVD exclusively (high bitrate). As I said MEncoder's speed/quality is far superior to tmpgenc/cce, but not as good as tmpgenc when talking about low bitrate. The reason why I feel we ALL (the community) shouldn't leave tmpgenc is because MEnc is still very unfriendly for those who are unfamiliar with that tiny dos-box that comes with Win9x/ME/2K/XP. But as kwag said: lot's of guys are at this very moment trying GUIs and wrappers to make it seem a bit more friendly. So, I fool you not when I say, NOONE will be left behind. Cheers PS-I'm encoding a KSVCD 480x576 from a 1h51m PAL DVD. I'm shooting for 2x80m CD-r to keep the bitrate around 1900Kbit. My PIII-550 with MEnc is doing 5~6fps with latest MA script. Tmpgenc would do 2~3fps under these conditions :D |
Glad to hear that rds_correia
Please clarify one thing though Quote:
Thanx |
Interesting question bigggt.
Everybody says tmpgenc is still the king on low bitrate kvcds. But in fact I don't see much difference. I assume MEncoder looses for tmpgenc on low bitrate but not for much or else I would notice it clearly. Or maybe the reason why I don't see it is because most of the times I shoot for 2x80min CD-r for whatever source. I was never very keen on using low res and low bitrate templates with tmpgenc. Maybe others have different points of view. I don't think it's the end of the world :D Cheers |
Here's your low bitrate MPEG-1 answer guys :D
You decide who the winner is ( I alread know :cool: ) http://www.kvcd.net/tmpeg.mpg http://www.kvcd.net/mencoder.mpg Both samples done directly from VOB (zero filters, and at full 720x480 resolution) Now, just imagine what will happen when we reduce resolutions to 528x480 or 352x480, and start using filters, leaving even more bitrate for each pixel :!: I clearly see the winner ;) -kwag |
How I can do KVCD for 1 CD 80 min. with MEncoder or FFMpeg?
I ask also in spanish forum in: http://www.kvcd.net/forum/viewtopic.php?t=10297 Thanks. -Maurus |
Re: The end of CQMatic (TMPEG version)
Quote:
|
Hey Kwag!
Great approach for CQmatic. A time ago I did also some CQ non-linear tests but using slicer()s offset based diff slices, ... by this I could test in how diff. also the CQ curve behaves. Im totally with you that there won't be even a prediction method if using on TmpgEnc which where we can totally confirm on. a) Diff TmpgEnc versions = Diff. CQ estimation behaviours b) EVEN if an encoding is done twice using the exact same settings ... there have been outputs where filesizes end up different! The last days I was trying to find a linux distro I can stuck with .... I think finally it will be knoppix ;-) But I will wait until the new Version comes out incl. the captive NTFS read/write engine. Overclockix is horrible as after installing the system modules configurator is EMPTY 8O Also ... I did many tests on (yes) Bitrateviewer! And I do drop ALLLLLL my "trusts" on Bitrateviewer! as I figured out that the Q curve Means NOTHING in case of our purposes :arrow: to "assume" the final encoder quality. But this I will post in another threat. ;-) |
Hi Inc,
I do love your slicer function but I see it as Kwag. Quote:
It's simply crazy the way CQ is working in TMPGEnc... Hope they fix it. Cheers |
Quote:
What about speed? (list in order please) |
Quote:
Quote:
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.