![]() |
Quote:
I'm still tweaking prediction. I'm now at 512:6. Running two sample encodes on two machines. -kwag |
Quote:
Quote:
Quote:
|
Quote:
I'm still tweaking prediction. I'm now at 512:6. Running two sample encodes on two machines. I'm testing too, but in the other direction -- 25:96 right now ;). |
128:24 seems to be hitting the target very accurately.
When this thing finally stabilizes, we're going to have to write a "Readme.txt" or something, because I think everyone reading this thread must be either asking for some hard liquor or going bananas changing prediction parameters :mrgreen: -kwag |
Quote:
Quote:
Yes, I hope no-one is trying to track this in real-time :D. Actually I intend to write up a howto while I'm away for Christmas (24th, 25th, 26th). Thank goodness for the laptop... :) |
I smell something is burning. 8O Oh, look out, it must be SansGrip's mind running a prediction test loop :mrgreen:
-kwag |
Quote:
Well, at least we are trying... :wink: Just hope that you guys don't get lost in the middle of all this variation of granularity and window/sample length. :D |
Quote:
|
Quote:
:mrgreen: -kwag |
Come on guys, give us something...
I have a movie here that is willing to be predicted! :D What should I use? I made some samples with these strange settings (512:6, 128:24, 25:96) and all came out with very different prediction. 8O |
Quote:
|
Drums rolling /\/\/\/\/\/\/\/\/\/\ ........
|
Ok, after hours of testing and (in my case at least) ingesting caffeine, here is the latest file prediction formula...
Count all the chairs in the movie EXCEPT those with arms, then find the square root. Multiply by your favourite cousin's birthday and add 6. Calculate that value to the power of how many eggs you've eaten in the last two years, then divide by 12 and subtract quite a bit. Swap all digits, convert to hex, and simmer for 45 minutes while stirring constantly. Then throw that value away, because what you really do is... Let's say your movie is 96 minutes long, and we're using the new GOP structure with a maximum length of 24. This is the line you'd insert into your Avisynth script to get the sample strip: Sampler(96, 24) Pretty simple, eh? If your movie is 115 minutes long, it'd be: Sampler(115, 24) This will then give you a nice sample strip. You then do the formula as usual, with an error margin of 2% (in KVCDP) or 0.98 if you do it manually. If I left anything out, kwag'll fix it :mrgreen:. Have fun and test lots and let us know... |
And here's the old ( hard core ) way :lol:
This is what you add to the end of your .avs script: Code:
IL = MovieTimeInMinutesCode:
IL = round((Framecount/Framerate)/60)Code:
MPEG size = (( Total frames/MovieTimeInMinutes)/24) * (MPEG sample file size * .98 )And if I screwed up, SansGrip will fix it :mrgreen: -kwag |
By the way, before you ask: yes, it really did take us that long to come up with something that simple ;). However we're now hopefully on surer ground wrt the formula and I'm fairly confident that the error margin is now set correctly.
Of course, kwag suggested all this days ago. We just had to run everything from Sampler(20, 200) to Sampler(1200, 2) in order to discover that he was, as usual, right all along :mrgreen:. Thank you and goodnight ;). |
Thanks for all your time and suggestions SansGrip :D
This was like a roller coaster. Encode, change, encode, reformulate, encode.... :lol: Now after seeing all the tests you did, I am also very confident that the file prediction is far better than what we had before. BIG THANK YOU :wink: Now, I'm going to bed 8O Good night all. -kwag |
sansgrip wrote:
"In fact it doesn't really add sharpening so much as retain existing sharpness. The other resizers (except for "precise bicubic") soften the image. Lanczos is about the most "accurate" resizer there is, but it's bad for us because we want that extra compressibility that softness brings . " yes,i'm with you. in my tests i really see the difference. i "mix" with Blockbuster.....cool. :wink: |
Since this thread is kinda all about everything, and nobody pays attention to any other one at the moment :D maybe someone can help me with this one...
with the new GOP I encoded frequency again, at 704x576 PAL, and result was really watchable... Usually I only encode in MPEG2 and mux with BBMPEG. I did the same thing with this movie, after encoding the audio with Headache. I muxed it as VCD VBR, forced mux rate 0, write program endcode checked. The video and audio are fine in sync on my PC, but viewed on my standalone (which plays all KVCDs fine, when i muxed them together with BBMPEG) the audio is slightly too early from the beginning... that never happened before... any suggestions? |
Quote:
|
Quote:
It would be easier to understand if it was: Code:
MPEG size = ((Total frames/Framerate)/MovieTimeInMinutes) * (sample file size * .98 )Code:
MPEG size = (sample file size / sample length) * movie length * .98Nice work! |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.