digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   MenCalc: a resizing calculator for Mencoder (http://www.digitalfaq.com/archives/encode/9788-mencalc-resizing-calculator.html)

kwag 05-23-2004 07:14 PM

:lol:

Prodater64 05-23-2004 08:06 PM

Most Wanted - Reward

http://www.digitalfaq.com/archives/error.gif http://www.digitalfaq.com/archives/error.gif http://www.digitalfaq.com/archives/error.gif http://www.digitalfaq.com/archives/error.gif http://www.digitalfaq.com/archives/error.gif http://www.digitalfaq.com/archives/error.gif

Dialhot 05-23-2004 08:54 PM

I never saw any of these guys.

jorel 05-23-2004 09:34 PM

Quote:

Originally Posted by Dialhot
I never saw any of these guys.

who :?: ....where :?:
:roll:

incredible 05-24-2004 04:19 AM

Quote:

Originally Posted by Dialhot
I hope for you that avatars aren't always the photography of the user :-)

I wont show a photography of mine, but one of the girl at the cash desk of the supermarket where I buy my stuff.

http://www.digitalfaq.com/archives/i.../2004/05/7.jpg

:mrgreen:
So what tells us that?! :arrow: She still lives near Cologne!! (Bergisch Gladbach) ... and has to earn a little "extra" money in that supermarket as Flavio B. doesnt want to pay alimony! (IMHO) :lol: :lol:

digitall.doc 05-24-2004 06:27 AM

Quote:

Originally Posted by incredible
You see digiDoc. at least the relation of multiple movies/audio seem to be correct .... now Kwag should tell me which Mediasize/overhead he uses as I think there we're different.

Well, Inc, now running a test with the value I got manually, that is higher than that I got with your calculator. I'll post the result.
When I said that maybe the audio bytes formula was wrong, I said it:
1. from a mathematical point of view: it's not the same (a x c) + (b x d) as(a+b) x (c+d). It's not exactly what happens with your formula, but an approximation. In your formula you sum audio length and video length, and then apply the formula. When you really better applu the formula for each film, and then sum them.
2. I did by hand calculations, and got different results.

... but I may be (almost sure) wrong. I just say that in case you revise it.
Saludos.

Dialhot 05-24-2004 10:02 AM

Quote:

Originally Posted by incredible
I wont show a photography of mine, but one of the girl at the cash desk of the supermarket where I buy my stuff.

Too much porn DVD ripped for developing pack-shot Inc... tsss...

This is not real life :-)

kwag 05-25-2004 11:50 AM

@Inc,

You'll know what to do with this ;)


Code:

      Select GetGadgetText(#AudioBitrate)
        Case "16" : audio = 16
        Case "24" : audio = 24
        Case "32" : audio = 32
        Case "56" : audio = 56
        Case "64" : audio = 64
        Case "96" : audio = 96
        Case "112" : audio = 112
        Case "128" : audio = 128
        Case "160" : audio = 160
        Case "192" : audio = 192
        Case "224" : audio = 224
        Case "256" : audio = 256
        Case "320" : audio = 320
        Case "384" : audio = 384
        Case "448" : audio = 448
      EndSelect
     
      audio = audio * Val(GetGadgetText(#Streams))
     

      Select GetGadgetText(#Media)
        Case  "24 Min. CD" : media = 245760
        Case  "74 Min. CD" : media = 757760
        Case  "80 Min. CD" : media = 819200
        Case  "90 Min. CD" : media = 921600
        Case  "99 Min. CD" : media = 1013760
        Case  " 4.70GB DVD-5"  : media = 4508876
        Case  " 8.50GB DVD-9"  : media = 8912896
        Case  " 9.40GB DVD-10" : media = 9856614
        Case  "12.24GB DVD-14" : media = 12834570
        Case  "17.00GB DVD-18" : media = 17825792
        Case  " 2.58GB DVD-RAM" : media = 2705326
        Case  " 4.80GB DVD-RAM" : media = 5033164
        Case  "Custom"
          media = Val(GetGadgetText(#Custom))
          media = media * 1024
        EndSelect

      If GetGadgetText(#Overhead) = "VCD/SVCD Mux Overhead"
        media = media - (10 * 1024)
      ElseIf GetGadgetText(#Overhead) = "DVD Mux Overhead"
        media = media - ((25 * Val(GetGadgetText(#VStreams))) * 1024)
      EndIf



And then:



Code:

      audio_size.f = ((audio / 8)  * totaltime )
      video_size.f = (media * quantity) - audio_size.f
      avg.f = (video_size.f / totaltime) * 8

-kwag

Boulder 05-25-2004 12:13 PM

Where's 80kbps (for mono audio) ?

kwag 05-25-2004 12:24 PM

Quote:

Originally Posted by Boulder
Where's 80kbps (for mono audio) ?

Nowhere :!:
Because many players can't reproduce that audio bitrate. Just like 40Kbps ( One of my players included :) )

-kwag

Boulder 05-25-2004 12:49 PM

Hey, you learn something new every day 8O

kwag 05-25-2004 01:26 PM

Quote:

Originally Posted by Boulder
Hey, you learn something new every day 8O

But still, here's your gift :cool:
Might be useful for some special cases :)

CalcuMatic 1.0.13
http://www.kvcd.net/downloads/CalcuMatic.exe

Added Custom audio size ;)

-kwag

jorel 05-25-2004 01:33 PM

thanks Kwag!
:wink:

removing doubts: loading ifos i get negative numbers:
minutes -4800
seconds -79
and all in the "results"

how the preview work? if i click using ifos,vobs or avs scripts i got:
"error,can't load the movie..." :?

incredible 05-25-2004 02:51 PM

Thanks for the code Karl!

Im just in optimizing the MenCalc Resizer so that all Sources like captured non 1:1 PAR ones will be also supported :)

After that Ill do optimize the bitratecalculator. :wink:

rds_correia 05-25-2004 02:54 PM

Hi Jorel,
The preview feature is only available for mpeg or avi sources.
It won't work with ifo/vob/avs :( ... yet, I hope :)
The problem with the negative figures is also happening with my DVDs and I've told Kwag about it and told me to wait a bit longer as he is under heavy development on the parsing mechanisms used by calcumatic for those new sources.
C ya

jorel 05-25-2004 02:57 PM

ok,thanks Correia.

the worse is that i "double post" the same doubts in CQMatic/CalcuMatic forum!
:oops:
now i have to "stryke" myself! :lol:

rds_correia 05-25-2004 03:01 PM

:rotf: :rotf: :rotf: :rotf: :rotf: :rotf:

incredible 05-26-2004 03:03 PM

New version of "MenCalc" is out .... see change log in first post of this thread for details.

http://home.arcor.de/packshot/mencalc1.01.0.exe

jorel 05-26-2004 03:31 PM

thank you ink !
:D

DKruskie 05-26-2004 08:45 PM

This question might sound off the wall..but where do I put the values that MenCalc gives me?..




David


All times are GMT -5. The time now is 09:39 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.