improved thumbnail generation.

This commit is contained in:
Maxim Stewart 2018-04-15 05:41:03 -05:00
parent 3c86e05c12
commit 583546b4db
7 changed files with 7 additions and 1 deletions

Binary file not shown.

Binary file not shown.

6
src/debs/chownAll.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
function main() {
sudo chown -R abaddon:abaddon .
}
main;

View File

@ -130,7 +130,7 @@ public class Controller {
for (int i=0; i<fileList.length; i++) {
String path = "" + fileList[i], tmpP = "" + fileList[i];
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",
vExec = "mplayer -really-quiet -ao null -loop 0 " + fileList[i];
try {