Difference between revisions of "Bitrate Calculator"

From SDA Knowledge Base

Jump to: navigation, search
m (Scratch my last change, didn't work correctly, hmm.)
 
(19 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
<option value="576">MQ</option>
 
<option value="576">MQ</option>
 
<option value="192">LQ</option>
 
<option value="192">LQ</option>
</select><span id="bitrateinput"><input type="text" id="customquality" onchange="javascript:bitCalc()" value="enter kilobits per second here" /></span> kilobits per second
+
</select>&nbsp;<span id="bitrateinput"><input type="text" size="10" id="customquality" onclick="this.value=''" onchange="bitCalc()" value="enter value" /></span> kilobits per second
 
<br /><br />
 
<br /><br />
<input type="text" id="hoursinput" onkeyup="javascript:bitCalc()" value="" /> hour(s)<br />
+
<input type="text" size="5" id="hoursinput" onkeyup="javascript:bitCalc()" value="" /> hour(s)<br />
<input type="text" id="minutesinput" onkeyup="javascript:bitCalc()" value="" /> minute(s)<br />
+
<input type="text" size="5" id="minutesinput" onkeyup="javascript:bitCalc()" value="" /> minute(s)<br />
<input type="text" id="secondsinput" onkeyup="javascript:bitCalc()" value="" /> second(s)<br />
+
<input type="text" size="5" id="secondsinput" onkeyup="javascript:bitCalc()" value="" /> second(s)<br />
 
<br />
 
<br />
 
<span id="result"></span>
 
<span id="result"></span>

Latest revision as of 16:12, 20 April 2009

<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" size="10" id="customquality" onclick="this.value=" onchange="bitCalc()" value="enter value" /> kilobits per second

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

Personal tools