Quantcast Mencalc: a Resizing Calculator for Mencoder - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
05-22-2004, 12:49 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by digitall.doc
And, what about incluing it in Pack-Shot (along with support for those resolutions...)? Sure you already thought this...
Well the routine at the beginning was purposed for Packshot, ... but I did implementate it in a standalone appl. as there has been asked for
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
05-22-2004, 05:47 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by digitall.doc

... we know. Is that difficult to include the button? (I ask from real ignorance )
Is it that hard to just select it with the mouse, and type "CTRL+C"
That's all it takes to put it on the clipboard

-kwag

No Kwag, it isn't hard.
I think Inc took the comment as it was intended to be.
Every comment I make is to be helpful.
If it doesn't help, the programmer just forget it.
That's all.
Reply With Quote
  #23  
05-23-2004, 09:09 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
The only little problem is ... coding needs time and if every little "cosmetic" is respected now, the things will take more and more time to develope, and the main intention of this calc routine was purposed as a developement for Packshot. This result as Standalone App. was just a little bonbon for Commandline Programmers .


So I put my focus yesterday on a BitrateCalculation routine (see my "Developement status"-Posting in the "Packshot suggestions" Thread.
Reply With Quote
  #24  
05-23-2004, 09:24 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
So I put my focus yesterday on a BitrateCalculation routine (see my "Developement status"-Posting in the "Packshot suggestions" Thread.
Great, great, great .
You have extrasensorial powers, man .
Yesterday, while I was loading a big d2v in new calcumatic, with 2 films to be PackShot-Menc-KDVDed, and trying to put in audio 0 kbps, or 0 audio tracks (as I already have my ac3 tracks, wanted calcumatic not to consider audio), I thought: It would be great to have a new PackShotBitrateCalc... and here you are .
First suggestion for your still not delivered tool ( ): it would be nice you could input manually the filesize of your ac3 tracks.
Reply With Quote
  #25  
05-23-2004, 10:15 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by digitall.doc
Quote:
Originally Posted by incredible
So I put my focus yesterday on a BitrateCalculation routine (see my "Developement status"-Posting in the "Packshot suggestions" Thread.
Great, great, great .
You have extrasensorial powers, man .
Yesterday, while I was loading a big d2v in new calcumatic, with 2 films to be PackShot-Menc-KDVDed, and trying to put in audio 0 kbps, or 0 audio tracks (as I already have my ac3 tracks, wanted calcumatic not to consider audio), I thought: It would be great to have a new PackShotBitrateCalc... and here you are .
First suggestion for your still not delivered tool ( ): it would be nice you could input manually the filesize of your ac3 tracks.
This one will be the part of Packshots window where AVGbitrate will be calculated.
http://home.arcor.de/packshot/bitratecalculator.exe
The liitle avg Output field will be the one which already exists in packshot.
No matter what you or where you do enter values, the calculation result bases on the the sum of everything which you do input in the fields.

You can set Audio kbs! And when entering the right length of the movie the exact correct size in MBs of audio internally will be calculated, as anyway you have to know and enter the movie source length! So manual MB size input is not needed, and would cause MORE inputfileds where user will get confused.
Reply With Quote
  #26  
05-23-2004, 12:16 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Downloaded and "tasted",
- What does overheat stand for?.
- Is automatically calculated the mux overhead for each film? (sorry, maybe this is the answer to my previous question )
- Did you include a minimum amount of MB for authoring later? (don't know exactly what's needed. I think that with DVDlab I used about 180 MB).

I selected 2 films, 120 min each, with audio track nº1 384 kbps and audio track nº2 192 kbps... and I got avg 1400... maybe too low.
Does it any difference if audio tracks are 5.1 ch or 2 ch? (in file size I mean).

I'll do more tests and post results (maybe better I'll open a new thread, if you think it worth).

Great, another toy to play with...
Reply With Quote
  #27  
05-23-2004, 12:56 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by digitall.doc
Downloaded and "tasted",
- What does overheat stand for?.
Uops, I thought I already fixed that mistyping Done!

Quote:
- Is automatically calculated the mux overhead for each film? (sorry, maybe this is the answer to my previous question )
- Did you include a minimum amount of MB for authoring later? (don't know exactly what's needed. I think that with DVDlab I used about 180 MB).
Well the overhead should include these needed MBs for authoring, as I did a test when using an other claculator and the final avg matches! Also I did comparisons with CQmatic and almost the same comes out, ... ok Kwag applied a little more "safe" space if I do see it right. But internally this routine above uses the same calculation sheme like used in MencodeME... as Vmesquita gave me the formula.
Quote:
I selected 2 films, 120 min each, with audio track nº1 384 kbps and audio track nº2 192 kbps... and I got avg 1400... maybe too low.
Does it any difference if audio tracks are 5.1 ch or 2 ch? (in file size I mean)
As said, I did a compraison with cqmatic and even there less bits in avg came out.

And, what counts is Bitrate and not if its an 5.1 or 2.0 Encoding!

Heres the importand part of the code and below you can see the formula:
Code:
audio1bitrate1= Val(GetGadgetText(#Movie1ch1))
audio1bitrate2= Val(GetGadgetText(#Movie1ch2))
audio2bitrate1= Val(GetGadgetText(#Movie2ch1))
audio2bitrate2= Val(GetGadgetText(#Movie2ch2))
audio3bitrate1= Val(GetGadgetText(#Movie3ch1))
audio3bitrate2= Val(GetGadgetText(#Movie3ch2))

audiobitrate= audio1bitrate1 + audio1bitrate2 + audio2bitrate1 + audio2bitrate2 + audio3bitrate1 + audio3bitrate2


movielength1= Val(GetGadgetText(#Movie1min))
movielength2= Val(GetGadgetText(#Movie2min))
movielength3= Val(GetGadgetText(#Movie3min))

movielength= movielength1 + movielength2 + movielength3


mediaoverhead= Val(GetGadgetText(#MuxOverheat))


If audiobitrate = 0
audiobitrate = 1
EndIf
If movielength = 0
movielength = 1
EndIf 

audiosize.f=((audiobitrate/8)*1000)*(movielength*60)
mediabytes.f=(mediasize - mediaoverhead)*1024*1024
bitrate=Round(((((mediabytes - audiosize)/(movielength*60))/1000)*8),0)

SetGadgetText(#AvgBitrate, Str(bitrate))
Reply With Quote
  #28  
05-23-2004, 02:46 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Regarding overhead, I've noticed that you can assume that a DVD is 4350 MB in size. I've used it for 2-3 movies per disc and also with TV series, 6-8 episodes per disc and it's always been on the spot, leaving only a tiny bit unused.
Reply With Quote
  #29  
05-23-2004, 03:03 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Inc,

Check your calculations, because the resulting average is way higher than what's supposed to be.
For example, for one 120 minute movie with audio at 112Kbps on one DVD-5, the average bitrate is 4897.9 (without any overhead).
But Mencalc gives me 5109, which is too high.

-kwag
Reply With Quote
  #30  
05-23-2004, 04:40 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Inc,
I've revised your post slightly, so I may be wrong. But I used your calculator, and made calculations "by hand", and get different values. I think one error may be in audio calculation:
Quote:
Originally Posted by incredible
...Heres the importand part of the code and below you can see the formula:
Code:
...
audiobitrate= audio1bitrate1 + audio1bitrate2 + audio2bitrate1 + audio2bitrate2 + audio3bitrate1 + audio3bitrate2
...
audiosize.f=((audiobitrate/8)*1000)*(movielength*60)
mediabytes.f=(mediasize - mediaoverhead)*1024*1024
bitrate=Round(((((mediabytes - audiosize)/(movielength*60))/1000)*8),0)

SetGadgetText(#AvgBitrate, Str(bitrate))
I don't think it's the same:
Code:
((audio1/8)*1000)*(film1*60)+((audio2/8)*1000)*(film2*60)
as
Code:
((audio1+audio2/8)*1000)*(film1+film2*60)
I do get different results. I think the first one is the correct.
But this just gives an error if using 2 or 3 films. I don't know where may be the error Kwag is getting with 1 film.
Reply With Quote
  #31  
05-23-2004, 05:24 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
I dont know Kwag, but If using Fit2disk, enabling everything like VOb muxing, DVD authoring and all we do need to be included in the claculation...

... at 1movie at 120mins incl. 112kbit audio... in Fit2disk 5006 do come out!

... "Bitratecalculator", means my engine outputs 5005 (incl 90mb overhhead)



Also ... that routine is exactly the same as in mencodeMe , as its the claculation of VMesquita.
Therefore a DVD5 Size of 4482 is used in the claculation .... or is that wrong

And to your point Digi Doc .... thats a thought wich could be true!
Kwag what do you think about it??

I think that the "way" the formula is is correct, as I do get in Calcumatic the same relation if 2 or three movies are selected and then 2 or 3 audios!

Well "his" avg is smaller seen as a whole (and thats why quoted my DVD Media MBs above so he can see if its correct) but in relation the output if more than one movie is choosen is the same
Reply With Quote
  #32  
05-23-2004, 05:32 PM
Encoder Master Encoder Master is offline
Free Member
 
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Therefore a DVD5 Size of 4482 is used in the claculation .... or is that wrong
Perhaps kwag using CalcuMatic for his bitrate an he set DVD-5 to 4300 MB and you to 4482?
Reply With Quote
  #33  
05-23-2004, 05:38 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
All with DVD mux overhead included tested:

- movie 1= 120
- audio 1 =112 kbit

CQ Matic = 4869.4
mine = 5005



- movie 1= 120
- movie 2= 120
- audio 1 =112 kbit
- audio 2 =112 kbit

CQ Matic = 2252.5
mine = 2334



- movie 1= 120
- movie 2= 120
- movie 3= 120
- audio 1 =112 kbit
- audio 2 =112 kbit
- audio 3 =112 kbit


CQ Matic = 1305.5
mine = 1369






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.

Kwag: To me it seems you use a DVD media size of 4400 minus Overhead??
Reply With Quote
  #34  
05-23-2004, 05:42 PM
Encoder Master Encoder Master is offline
Free Member
 
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
He's using 4300 MBs!
Reply With Quote
  #35  
05-23-2004, 05:47 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Nope!
Not in his version 1.09a!
Reply With Quote
  #36  
05-23-2004, 05:52 PM
Encoder Master Encoder Master is offline
Free Member
 
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry, I haven't seen.
Reply With Quote
  #37  
05-23-2004, 05:55 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
BTW: This calculator is NOT "MenCalc "
"MenCalc" is just the resizing engine.

That Bitratecalculator got no name as it wasnt purposed as Standalone Appl., Its just the Part which will be used in Packshot
As already many BitrateClaculators as Standalone appl. are out
Reply With Quote
  #38  
05-23-2004, 06:35 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Encoder Master & incredible
Off-topic
I was just wondering if you're brothers? I compared your avatars, and damn you look alike!
__________________
AudioSlave
Reply With Quote
  #39  
05-23-2004, 06:57 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audioslave
I was just wondering if you're brothers? I compared your avatars, and damn you look alike!
I hope for you that avatars aren't always the photography of the user
Reply With Quote
  #40  
05-23-2004, 07:06 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
__________________
AudioSlave
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KDVD Calculator Help kvcdman Video Encoding and Conversion 1 08-24-2006 03:35 AM
Resizing MencodeMe - MenCalc comparation Prodater64 Video Encoding and Conversion 12 07-25-2004 08:15 AM
MenCalc or MEncodeMe crop/resize maurus Video Encoding and Conversion 13 05-27-2004 04:18 AM
AR Calculator kwag Video Encoding and Conversion 0 01-31-2004 01:28 PM
The calculator is gone kwag Off-topic Lounge 0 04-28-2002 04:20 PM

Thread Tools



 
All times are GMT -5. The time now is 12:07 AM  —  vBulletin © Jelsoft Enterprises Ltd