fadetosilence怎么调中文
游戏设置是中等的。“ Fadetosilence”是一个单一的/合作生存冒险游戏。在后来世界末日的环境中,整个世界被冻结到永恒的冬天。冰和雪无情地散布着地面的每一英寸,自然而然地被损坏。
mencoder java linux
执行命令的方法有错误!
/**use for executing mplayer and mencoder and maybe others.. */
public void ExecuteM(String command) {
//showGUI();
//MainGUI.procProgressBar.setValue(0);
try {
proc = Runtime.getRuntime().exec(command);
InputStream is = proc.getInputStream();
stdout = new BufferedReader(new InputStreamReader(is));
is = proc.getErrorStream();
stderr = new BufferedReader(new InputStreamReader(is));
outputLines = new Vector《String》();
//this deals with the output from the process in it’s own thread
Thread stdoutThread = new Thread() {
public void run() {
try { writer = new PrintWriter(new FileWriter(“log.txt“));
int l;
String line;
for (l = 0; (line = stdout.readLine()) != null;) {
if (line.length() 》 0) {
l++;
outputLines.addElement(line);
// if (line.matches(“Starting playback...“))
outputAllowed = true;
}
System.out.print(outputAllowed ? line +“\n“: “.“);
writer.print(outputAllowed ? line +“\n“: “.“);
}
System.out.println(“\nRead “ + l
+ “ lines from stdout.“);
stdout.close();
writer.close();
} catch (IOException ie) {
System.out.println(“IO exception on stdout: “ + ie);
}
}
};
stdoutThread.start();
Thread stderrThread = new Thread() {
public void run() {
try {
int l;
String line;
for (l = 0; (line = stderr.readLine()) != null;) {
if (line.length() 》 0)
l++;
System.out.print(“,“);
}
System.out.println(“\nRead “ + l
+ “ lines from stderr.“);
stderr.close();
} catch (IOException ie) {
System.out.println(“IO exception on stderr: “ + ie);
}
}
};
stderrThread.start();
System.out.println(“About to waitfor“);
try {
exitVal = proc.waitFor();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println(“Done.“);
} catch (IOException e) {
e.printStackTrace();
System.out.println(“Exec failed. Exiting“);
System.exit(0);
}
}
mencoder解析
-OFPS 15转换帧速率为15。-vf-add比例= 128:72添加过滤器,转换分辨率为128x72。-vf-add展开= 128:96:96:-1:-1:-1:1添加过滤器,添加一个过滤器,添加一个黑色背景,尺寸为128x96,原始图像放在中间,并且禁止黑色边框渲染字幕或其他信息。Sprate44100转换后,声音采样率为44100。-OVC XVID视频编码器使用xvid xvid xvid xvid。-XVIDENCOPTS BITRATE = 300:MAX_BFRAMES = 0:QUAT_TYPE = H263:me_quality = 0 set xvid的各种参数,视频代码速率为300,使用了最大b框架,使用了量化的b框架,并且定量类型为H263。使用LAVC.-LAVCOPTS ACODEC = MP2:Abitrate = 96音频编码器各种参数,编码为MP2,平均音频比特率为96。-osi