Difference between revisions of "Bitrate Calculator"

From SDA Knowledge Base

Jump to: navigation, search
(ie sucks)
(ie sucks ii: the sequel)
Line 13: Line 13:
 
</select><span id="bitrateinput"><input type="text" id="customquality" onchange="javascript:bitCalc()" value="enter kilobits per second here" /></span> kilobits per second
 
</select><span id="bitrateinput"><input type="text" id="customquality" onchange="javascript:bitCalc()" value="enter kilobits per second here" /></span> kilobits per second
 
<br /><br />
 
<br /><br />
<input type="text" id="hours" onkeyup="javascript:bitCalc()" value="" /> hour(s)<br />
+
<input type="text" id="hoursinput" onkeyup="javascript:bitCalc()" value="" /> hour(s)<br />
<input type="text" id="minutes" onkeyup="javascript:bitCalc()" value="" /> minute(s)<br />
+
<input type="text" id="minutesinput" onkeyup="javascript:bitCalc()" value="" /> minute(s)<br />
<input type="text" id="seconds" onkeyup="javascript:bitCalc()" value="" /> second(s)<br />
+
<input type="text" id="secondsinput" onkeyup="javascript:bitCalc()" value="" /> second(s)<br />
 
<br />
 
<br />
 
<span id="result"></span>
 
<span id="result"></span>

Revision as of 18:06, 11 September 2008

<addscript src='bitrate_calculator' /> This bitrate calculator uses JavaScript.
There are 8 bits in a byte, 1024 bytes in a kilobyte, 1024 kilobytes in a megabyte, and 1024 megabytes in a gigabyte.

Quality: <select id="quality" onchange="javascript:bitCalc()"> <option value="enter bitrate here" selected>custom:</option> <option value="10320">XQ</option> <option value="5320">IQ</option> <option value="2176">HQ</option> <option value="576">MQ</option> <option value="192">LQ</option> </select><input type="text" id="customquality" onchange="javascript:bitCalc()" value="enter kilobits per second here" /> kilobits per second

<input type="text" id="hoursinput" onkeyup="javascript:bitCalc()" value="" /> hour(s)
<input type="text" id="minutesinput" onkeyup="javascript:bitCalc()" value="" /> minute(s)
<input type="text" id="secondsinput" onkeyup="javascript:bitCalc()" value="" /> second(s)

Personal tools