Changed some preview options.
This commit is contained in:
parent
2aa974137c
commit
844d697bb0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -107,7 +107,7 @@ public class Controller {
|
||||||
if (tmpP.toLowerCase().matches("^.*?(mp4|mpeg|mpg|wmv|mkv|flv|webm|avi).*$")) {
|
if (tmpP.toLowerCase().matches("^.*?(mp4|mpeg|mpg|wmv|mkv|flv|webm|avi).*$")) {
|
||||||
String movieImg = "ffmpegthumbnailer -w -t='00:30:00' -c png -i " +
|
String movieImg = "ffmpegthumbnailer -w -t='00:30:00' -c png -i " +
|
||||||
fileList[i] + " -s 300 -o /tmp/image.png",
|
fileList[i] + " -s 300 -o /tmp/image.png",
|
||||||
vExec = "mplayer " + fileList[i];
|
vExec = "mplayer -really-quiet -ao null -loop 0 " + fileList[i];
|
||||||
try {
|
try {
|
||||||
pb = Runtime.getRuntime().exec(movieImg);
|
pb = Runtime.getRuntime().exec(movieImg);
|
||||||
pb.waitFor();
|
pb.waitFor();
|
||||||
|
|
Loading…
Reference in New Issue