improved thumbnail generation.
This commit is contained in:
parent
3c86e05c12
commit
583546b4db
Binary file not shown.
Binary file not shown.
6
src/debs/chownAll.sh
Normal file
6
src/debs/chownAll.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function main() {
|
||||||
|
sudo chown -R abaddon:abaddon .
|
||||||
|
}
|
||||||
|
main;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -130,7 +130,7 @@ public class Controller {
|
|||||||
for (int i=0; i<fileList.length; i++) {
|
for (int i=0; i<fileList.length; i++) {
|
||||||
String path = "" + fileList[i], tmpP = "" + fileList[i];
|
String path = "" + fileList[i], tmpP = "" + fileList[i];
|
||||||
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 -t 65% -c jpg -i " +
|
||||||
fileList[i] + " -s 300 -o /tmp/image.png",
|
fileList[i] + " -s 300 -o /tmp/image.png",
|
||||||
vExec = "mplayer -really-quiet -ao null -loop 0 " + fileList[i];
|
vExec = "mplayer -really-quiet -ao null -loop 0 " + fileList[i];
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user