Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 60 of 74
Thread
-
So the moral(s) of this story can be summed up as:
1. No library is perfect, but you must be able to anticipate the shortcomings of the library and work around it for things to work right.
2. Listen to your beta testers. They are "the customer" and "the custormer is always right".
3. ALWAYS test on multiple computer/OS types, languages, regions. Otherwise, you should qualify your software as only known to be working with so-and-so setup.
4. Don't take shortcuts.
Scott -
-
From the Wiki article on the 'decimal mark'
"In countries with a decimal comma, the decimal point is also common as the "international" notation because of the influence of devices, such as electronic calculators, which use the decimal point. Most computer operating systems allow selection of the decimal mark and programs that have been carefully internationalized will follow this, but some programs ignore it and a few are even broken by it."
Now where do I send my bill of account ? -
small question: Does this tool compensate for container overhead? (depending on the container, the container overhead can be quite large)
If it does compensate for container overhead, for which containers? (mkv?mp4?avi?m2ts?...)
-> okay, checked it out no selection of container type, audio/video type => no container overhead compensation -
Yes, but C++ cannot do that and Library programmers must think that, but MS not tolerate that. Best library must have best tolerate abilities and most C++ programmers cannot think that. If user enter invalid decimal format, than program throw an error, not to produce invalid value... But NET Framework produce invalid value and this is a fatal error...
small question: Does this tool compensate for container overhead? (depending on the container, the container overhead can be quite large)
If it does compensate for container overhead, for which containers? (mkv?mp4?avi?m2ts?...)
-> okay, checked it out no selection of container type, audio/video type => no container overhead compensation
No. This results is approximate. Results never calculate %100 true by any program, because results cannot %100 estimate. -
Well, I can see where this is going...
@Hikmet, this may sound a little strident, but, frankly, the fault is yours. YOU as programmer have to forsee these kinds of obstacles and code around them.
And Selur is right in asking how comprehensive your app is in regards to # & type of streams & container type. In this business, and with users from this forum, the variability of this question is going to come up lots of times! Without accounting for that, and without being very accurate at your estimates - ALL THE TIME - your app has little utility.
Me, I probably won't use it, because I have a much more accurate EXCEL spreadsheet that I created myself that DOES take all those things into account. But it's ugly and arcane, and I don't intend to inflict it upon Joe Blow consumer either.
Of course, if you want, you could "step up to the plate" and take these things into account on your next iteration and make it a wonderful, maybe invaluable, tool. You decide.
Scott -
@Scott
Why ever not ?. As an ex accountant I view spreadsheets like having s$x -
That made my day!
Down the road, after I move to Austin this summer, I may pretty it up and give out copies...
Scott -
No. This results is approximate. Results never calculate %100 true by any program, because results cannot %100 estimate.
(yes, result will be 3times of the size of the raw streams, easy to reproduce simply mux a long clip with low bit rates into an m2ts container and see the overhead grow,...)
Okay, m2ts is an extrem case, but even for avi/mkv/mp4 the overhead difference between containers isn't as small as you might think, see: http://www.alexander-noe.com/video/amg/en_overhead_comparison.html for some small examples.
-> from my point of view, one only uses a bit rate calculator if one aims for a precise (+/- 1MB) file size and if your file ends up to large that might be a problem
btw. there is some decent bit rate calculator code in C# over in the MeGui source code:
-> http://sourceforge.net/p/megui/code/HEAD/tree/megui/trunk/packages/tools/calculator/
a few years ago there even was a standalone version of this code, but it got lost during updates (not maintained any more), I guess people would be happy to have an alternative.
Since I wrote my own bit rate calculator when I started developing Hybrid and did discuss some of it with the megui developers I'm always interested how people estimate the container overhead of mkv and m2ts and how to calculate the overhead of containers I don't support in Hybrid atm.
So if you decide to do something in that direction please share your findings.
Cu Selur -
-
Just out of curiosity: What containers and audio/video formats do you use?
> My experience, calculated file size always bigger than final result,
about how much (in MiB ?)Last edited by Selur; 21st May 2013 at 03:28.
-
DivX, Xvid, H264, Theora (for my 2D Game Engine), MPEG, MPEG-2 with AC3, MP3, AAC audio. Especially 2-pass encoding operations, final result always small then calculated file size.
Because, bitrate calculators calculate video size for same situations, but encode a frame, encoders eliminate most data; example same color areas, same pattern area or still images, not changed actions etc. and compress this datas. But calculaters always assume all frames are same, and all frames compressed same bitrate...
> My experience, calculated file size always bigger than final result,
about how much (in MiB ?)Last edited by Hikmet; 21st May 2013 at 03:44.
-
...final result always small then calculated file size ...
Because, bitrate calculators calculate video size for same situations, but encode a frame, encoders eliminate most data; example same color areas, same pattern area or still images, not changed actions etc. and compress this datas. But calculaters always assume all frames are same, and all frames compressed same bitrate...
Either way, doesn't really matter as long as it's doing it's job for you, it's fine.
Personally I won't use your calculator, since the main goal for me when 2pass encoding and a bit rate calculator to hit a specific file size, if the produced file size then doesn't come really close to the size I specified something is off for me.
Cu Selur -
I always want video size small. 1-pass encode increase file size and decrease image quality; so must set bitrate value higher and higher and result size higher and higher.
Bluray m2ts format always bigger file size and this file size is unnecessary. And bluray disk and recorders most expensive. I never use this format. Only usable for commercial purpose...Last edited by Hikmet; 21st May 2013 at 05:17.
-
Would be great if you add to audio section LPCM and DTS bitrates for those who don't remember every time exact numbers
-
MeGUI already features a detailed bitrate calculator. I'll be laughing at the people who find your tool via Google.
-
@Hikmet: Is there somthing more to your 'quality factor' other than it being the bits per pixel value?
If it is just the bit s per pixel value, what is the point of the comments, like 'Theora - Optimum' ?
+ Is there any empirical data you based you decision to define 'optimum' and 'high' on?
If one locks the total file size and selects a quality factor which violates it the audio bit rate overflows,...
enabling 'No Audio' should also disable the 'Xnd Track Bitrate' ComboBoxes, also even 'No Audio' is ticked, BitRater still calculates an audio size when I change the 'quality factor'. -
Are there any bitrate calculators that tell you the projected size of the file in bytes as well? Or would there be a separate program for that?
-
Thanks and if you don't like this program, then don't use.
@Hikmet: Is there somthing more to your 'quality factor' other than it being the bits per pixel value?
Is there any empirical data you based you decision to define 'optimum' and 'high' on?
If one locks the total file size and selects a quality factor which violates it the audio bit rate overflows,...
enabling 'No Audio' should also disable the 'Xnd Track Bitrate' ComboBoxes, also even 'No Audio' is ticked, BitRater still calculates an audio size when I change the 'quality factor'.
Thank you... -
Last edited by Hikmet; 2nd Jun 2013 at 10:23.
-
When I enable 'No Audio' and 'Lock FS' and change the video bitrate manually the audio still get's bitrate.
1st screenshot: 'No audio' and 'Lock FS' and audio bit rate = 0
2nd screenshot: video bit rate changed to 1000 -
-
First a few small questions:
What should the video format selection do? (Is it the input or the output target format?)
Why does the video format ComboBox not start with the default entry, which seems to be 'HD 23.976 fps (720p)'? (bug?)
Bugs:
- Video format ComboBox does not start with the default entry (which seems to be 'HD 23.976 fps (720p)').
- 'Video format', 'CGI (mostly)', 'Dark Scenes / Sill Images', 'Noisy Images / Trees / Bushes' all change 'Video->File Size' even when 'Video->Lock FS' is enabled!
Example:- Start BitRater
- set Length to 1h
- enable 'Audio->no Audio'
- set 'Video->File size' to 100MB (result is a 233 kbps bit rate)
- 'Lock FS' under Video
- Change Video format to 'VCD (MPEG-1 PAL'
-> 'Bitrate' changed to 28; 'Video->File size' (and 'Overall Video Size (Video + Audio)') changed to 12.02. - enabling 'Overall Video Size (Video + Audio)->Lock FS' and changing the Video->Fps value does not adjust the 'Bitrate'-info, it does however adjust the 'Quality Factor'; seems like your calculation function has a bug
-
-
Video->Lock FS disables the whole Video section, shouldn't one be able to:
- change the Frame rate which should then change Bitrate and Quality Factor ?
- change the Width&Height which should then change the Quality Factor ?
- change the File size indication type Byte,...MB, GB.. ?
Is it intended that:
- one can't enable 'Audio->No Audio' and 'Overall Video Size (Video + Audio)-Lock FS' ?
- one can't enable 'Video->Lock FS' and 'Overall Video Size (Video + Audio)-Lock FS' ? -
Video->Lock FS disables the whole Video section, shouldn't one be able to:
- change the Frame rate which should then change Bitrate and Quality Factor ?
- change the Width&Height which should then change the Quality Factor ?
- change the File size indication type Byte,...MB, GB.. ?
Is it intended that:
- one can't enable 'Audio->No Audio' and 'Overall Video Size (Video + Audio)-Lock FS' ?
- one can't enable 'Video->Lock FS' and 'Overall Video Size (Video + Audio)-Lock FS' ?
- If "Audio bitrate" changed, then this changed "Overall Size". If "Video Size Lock" and "Overall Size Lock" work together, then this be nonsense. "Video Size Lock"" and "Overall Size Lock", then which part change when "Audio bitrate" change?
Similar Threads
-
VideoHelp bitrate calculator
By AlecWest in forum Authoring (DVD)Replies: 5Last Post: 13th Nov 2014, 04:41 -
Command Line avi bitrate calculator
By M3mbr4n3 in forum Video ConversionReplies: 9Last Post: 23rd Mar 2011, 16:37 -
What is the best Bitrate Calculator ?
By Simmons in forum Video ConversionReplies: 6Last Post: 15th Jan 2011, 09:08 -
File Size & Video Bitrate Calculator
By wiseant in forum Video ConversionReplies: 3Last Post: 27th Nov 2009, 22:59 -
bitrate calculator for multiple audio?
By ecc in forum Video ConversionReplies: 4Last Post: 4th Sep 2008, 21:25