Page 1 of 1

Seeing what file size will be

Posted: Mon Sep 21, 2020 7:07 am
by garygiles63
HI

Is there a way to see what the the file size will be when the file has been converted.

Gary

Re: Seeing what file size will be

Posted: Mon Sep 21, 2020 1:09 pm
by Woodstock
Yes, by doing the encode. Anything else is a guess, and can be wildly incorrect.

The same settings used for an anime and an action film can result in 90% compression on the anime, and 30% compression on the action film.

Re: Seeing what file size will be

Posted: Mon Sep 21, 2020 1:20 pm
by garygiles63
Woodstock,

Thanks for the reply.

I see of course that makes sense, so a black screen with white text, would be a lot smaller file size than say a movie with lots of action, for the same amount of time.

Have I got that right?

G.

Re: Seeing what file size will be

Posted: Mon Sep 21, 2020 3:23 pm
by Woodstock
Pretty much. I have my own preset I use for all HD content, unless something specific bothers me. More movement, variety of color, or more detail/noise makes for a larger output. Something with a lot of "noise" (like film grain or static) gets MUCH larger, as the encoder tries to faithfully render the noise.

Re: Seeing what file size will be

Posted: Tue Sep 22, 2020 2:21 am
by Rorchach91
Sure, and its also about the question "How does this video been encoded". Different codecs "weave" pictures in different ways, some more effective and save spaces, some less effective and waste more space to "store the pictures"(if we imagine that a video is made with million pictures)

Re: Seeing what file size will be

Posted: Thu Sep 24, 2020 4:02 pm
by alex 64
here is my method to estimate the size of the encoded video
I run the encoding and I stop it at 5% and I multiply the size by 20.

Re: Seeing what file size will be

Posted: Thu Sep 24, 2020 4:14 pm
by garygiles63
Alex, thank you, will def, use that.

Many thaanks

Re: Seeing what file size will be

Posted: Thu Sep 24, 2020 4:15 pm
by garygiles63
Alex, thank you, will def, use that.

Many thaanks

Re: Seeing what file size will be

Posted: Thu Sep 24, 2020 4:25 pm
by rollin_eng
If you are encoding blu rays then my testing here says you would need to encode about 20-25% before you can make a decent estimate.

viewtopic.php?f=14&t=34831

Re: Seeing what file size will be

Posted: Sat Sep 26, 2020 10:47 pm
by Deleted User 13735
Most of the action is often in the last 20 minutes of a movie, making the suggested method not accurate. If you want to estimate file size, use ABR, and do the math.
Bitrate (Mbps) x Time (Sec) x .125 = File Size (MB)

Re: Seeing what file size will be

Posted: Sun Sep 27, 2020 10:44 am
by rollin_eng
musicvid wrote: Sat Sep 26, 2020 10:47 pm Most of the action is often in the last 20 minutes of a movie, making the suggested method not accurate.
If you look at my test results you will see that this is not the case. Do you have an example of a blu ray where this occurs?

Re: Seeing what file size will be

Posted: Tue Sep 29, 2020 11:36 am
by alex 64
Some numbers with source file : MP4 1h30 (encoding : preset very fast 480p)

total size
size coef estimated coef. ideal
5% 54 mo 20 108 18.24
10% 107 mo 10 1070 9.12
20% 214 mo 5 1070 4.56
30% 309 mo 3.33 1030 3.04
40% 430 mo 2.5 1075 2.28
50% 544 mo 2 1088 1.82
60% 663 mo 1.66 1105 1.52
70% 763 mo 1.43 1090 1.3
80% 845 mo 1.25 1056 1.14
90% 920 mo 1.11 1022 1.01
100% 974 mo 1 974 true

WARNING: when you encode an MKV in MP4 or in MKV and that HB shows 5% of progress, you must read 10% etc ,,,

Go further.

Considering the following data:
size coef ideal
X Y
54 18.24
10 9.12 and after a regression analysis (statistical)
214 4.56 it follows that a Power function is the most precise (correlation coefficient: 0.99995)
309 3.04
430 2.28 Y = EXP(a) * ( X^b )
544 1.82
674 1.52 b = -1.001696275
763 1.30 EXP(a) = 985.6393003
845 1.14 X = size
920 1.01
974 1.00

humor "calculations made using FUGAKU calculator : power of 415.5 petaflops and 415 x 1015 operations per second"

Re: Seeing what file size will be

Posted: Tue Sep 29, 2020 12:15 pm
by alex 64

Re: Seeing what file size will be

Posted: Tue Sep 29, 2020 7:37 pm
by Deleted User 11865
alex 64 wrote: Tue Sep 29, 2020 12:15 pm clearer

https://drive.google.com/file/d/1RHGN_M ... sp=sharing
Since you're seemingly using a fixed-width font, why not just use code blocks instead?

Code: Select all

Preformatted text goes here

Re: Seeing what file size will be

Posted: Tue Sep 29, 2020 9:19 pm
by alex 64

Code: Select all

Some numbers with source file : MP4 1h30 (encoding : preset very fast 480p)

                           total size
         size    coef      estimated     coef. ideal
5%       54 mo     20         1080          18.24
10%     107 mo    10         1070           9.12
20%     214 mo    5          1070           4.56
30%     309 mo    3.33       1030           3.04
40%     430 mo    2.5        1075           2.28
50%     544 mo    2          1088           1.82
60%     663 mo    1.66       1105           1.52
70%     763 mo    1.43       1090           1.3
80%     845 mo    1.25       1056           1.14
90%     920 mo    1.11       1022           1.01
100%    974 mo    1          974 true								

WARNING: when you encode an MKV in MP4 or in MKV and that HB shows 5% of progress, you must read 10% etc ,,,

Go further.

Considering the following data:

size  coef ideal 
 X       Y      final result
54     18.24      979
10      9.12      978              and after a regression analysis (statistical)
214     4.56      977              it follows that a Power function is the most precise (correlation coefficient: 0.99995)
309     3.04      976 
430     2.28      975.5               Y = EXP(a) * ( X^b ) * size
544     1.82      975
674     1.52      974.5                    b =  -1.001696275
763     1.30      974.6               EXP(a) = 985.6393003
845     1.14      974.4                    X = size
920     1.01      974.3
974     1.00      974.2

humor "calculations made using FUGAKU calculator : power of 415.5 petaflops and 415 x 1015 operations per second"

thanks RODEO