Kwag,
Can I make a sticky post to collect some data like Tenra's table? I think with the high activity here I'd be able to have a working file size curve estimator in a month. |
Quote:
Quote:
-kwag |
Kwag,
Here is the new prediction function to give you video bitrate: Code:
#------------------------------# |
I've read it, but I still don't get why average bitrate would be any different from file size, after all average bit rate = file size (in kb) / sample length (in s). That is, file size is in direct proportion with bit rate. My guess is that you were just lucky :). I'm gonna test it anyway.
BTW I always use FitCD/MovieStacker to get my target file size, because it takes in account things like muxing, multiple subtitles, multiple audios, extras, etc. Anyway if it's discovered that bitrate is more precise for some reason, we can collect bit rate X CQ tables instead. |
@ARnet_tenRA
Would you post how this function would used in a script? -Yoda |
Just place this function at the bottom of your script or in another file and import it.
Then at the bottom of your script , just before SampleClip or Sampler place Prediction() The first frame of the AVS file is now the output of this function. Regards, Tenra |
Quote:
-Tenra |
Quote:
-kwag |
What is the desired avg. bitrate :?:
Here's three samples of Heist Code:
cq size (mb) avg. bitrate ren |
Quote:
Open your .d2v with MovieStacker, and look at the suggested average bit rate. Say it is 890Kbps. With your numbers above, you would take the average produced with CQ=100. So 890/1767=50.36 So 50.36 would be the suggested CQ value ( kinda low for one CD :? ) But you don't need to run a full sampler. Just ~30% should do. -kwag -kwag |
@Tenra,
Just ran an average bit rate sample on the movie "xXx" using your script. Bingo :!: target again on the first run :lol: -kwag |
@Kwag
On MovieStacker the GOP options is set to 15, Need I change to 24, or that's not important? Also, the avg bitrate for The Last Castle for me was 1015, is that correct? Could you give me the settings (resolution, cq, 1 or 2 cds) of The Last Castle? Thanks! LaBomba |
hey kwag,
MovieStacker gave a recommended avg bitrate of 841. So 841/1767=.47 or cq=47 <- This is way off! I've already encoded a full sample of Heist with every whole cq value and the one that came closest to the desired filesize of 11.54mb with 128kbps audio was cq=62 8O ren |
Quote:
Can you run your sampler again with a CQ of 47 to see what is the actual file size :?: -kwag |
The sample with cq-47 was 8.906 I used the same script with all the samples.
ren |
@Tenra,
I think that what we need is your "Scale" factor table, but instead of the center being 50, it has to be CQ=100 equals the factor of 1.0 So then we encode the sampler at CQ=100 and take the average bit rate, then we adjust with the scale factor. This would still only require one sampler run. @Ren, The above should then work for the non-linearity conditions. The scale would be something like this: Code:
CQ 100: Factor 1.0 Edit: See you all in about a couple of hours, because I'm doing a CQ spreadsheet from 100 down to 1 in steps of one, and each sample is ~1 minute 8O :lol: I'll post the result when done. -kwag |
Quote:
Using the scale I had posted before you should only have about 17.778MB and 1194 as the avg. bitrate for CQ100. ie: double CQ50 Your CQ100 is triple CQ50 and that is why the formula is not working. -Tenra |
@Tenra.
Everytime i use your SampleClip() (or SampleClip(n)) the TMPGEnc shows me the number of frames of the complete movie. Although it codes not the complete movie it needs is to much time. Also the file is huge. Whats wrong? |
I just wish CQ would be a linear scale :cry:
Then we wouldn't have all this trouble :x -kwag |
Quote:
Second, make sure that you have the newest version from my sig below, I tend to make updates often. If you have the newest version you can disregard the first suggestion since I have fixed it. -Tenra |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.