home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 November
/
PCWorld_2007-11_cd.bin
/
multimedia
/
mediacoder
/
MediaCoder-0.6.0.3830.exe
/
extensions
/
x264.7z
/
x264setup.js
< prev
Wrap
Text File
|
2007-04-27
|
2KB
|
58 lines
/*************************************************************************
* MediaCoder extension - x264 Setup
* Distributed under GPL license
* Copyright (c) 2006 Stanley Huang <stanleyhuangyc@yahoo.com.cn
* All rights reserved.
*************************************************************************/
var levels = new Array(
"10|1485|99|64 kbit/s|80 kbit/s|192 kbit/s|256 kbit/s|128x96/30.9<br>176x144/15.0",
"11|3000|396|192 kbit/s|240 kbit/s|576 kbit/s|768 kbit/s|176x144/30.3<br>320x240/10.0",
"12|6000|396|384 kbit/s|480 kbit/s|1152 kbit/s|1536 kbit/s|176x144/60.6<br>320x240/20.0<br>352x288/15.2",
"13|11880|396|768 kbit/s|960 kbit/s|2304 kbit/s|3072 kbit/s|352x288/30.0",
"20|11880|396|2 Mbit/s|2.5 Mbit/s|6 Mbit/s|8 Mbit/s|352x288/30.0",
"21|19800|792|4 Mbit/s|5 Mbit/s|12 Mbit/s|16 Mbit/s|352x480/30.0<br>352x576/25.0",
"22|20250|1620|4 Mbit/s|5 Mbit/s|12 Mbit/s|16 Mbit/s|720x480/15.0<br>352x576/25.6",
"30|40500|1620|10 Mbit/s|12.5 Mbit/s|30 Mbit/s|40 Mbit/s|720x480/30.0<br>720x576/25.0",
"31|108000|3600|14 Mbit/s|17.5 Mbit/s|42 Mbit/s|56 Mbit/s|1280x720/30.0<br>720x576/66.7",
"32|216000|5120|20 Mbit/s|25 Mbit/s|60 Mbit/s|80 Mbit/s|1280x720/60.0",
"40|245760|8192|20 Mbit/s|25 Mbit/s|60 Mbit/s|80 Mbit/s|1920x1088/30.1<br>2048x1024/30.0",
"41|245760|8192|50 Mbit/s|62.5 Mbit/s|150 Mbit/s|200 Mbit/s|1920x1088/30.1<br>2048x1024/30.0",
"42|522240|8704|50 Mbit/s|62.5 Mbit/s|150 Mbit/s|200 Mbit/s|1920x1088/64.0<br>2048x1088/60.0",
"50|589824|22080|135 Mbit/s|168.75 Mbit/s|405 Mbit/s|540 Mbit/s|1920x1088/72.3<br>2560x1920/30.7",
"51|983040|36864|240 Mbit/s|300 Mbit/s|720 Mbit/s|960 Mbit/s|1920x1088/120.5<br>4096x2048/30.0");
function onElementChange(id,value)
{
switch (id) {
case "level":
// show level table
var e = document.getElementById("lt");
var t;
for (i = 0; i < levels.length; i++) {
t = levels[i].split("|");
if (t[0] == value) {
for (j = 1; j < t.length; j++) {
e.cells[j - 1].innerHTML = t[j];
}
break;
}
}
break;
}
}
function onPageLoad()
{
onElementChange("level", "51");
}
function Unload()
{
// stop playback on window close
SendCommand("stop_play");
}