Commit c0d3a63c authored by petter's avatar petter
Browse files

Swapped arguments of ffmpeg

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@127 0463f305-d864-43cb-8a47-61cf597d4139
parent 4c3dec9e
...@@ -187,7 +187,6 @@ public class PodcastCreator { ...@@ -187,7 +187,6 @@ public class PodcastCreator {
exec.createListenerStream(); exec.createListenerStream();
j = exec.exec(new String[] { j = exec.exec(new String[] {
ffmpegCmd, ffmpegCmd,
"-b:v", String.valueOf(34)+"k",
"-loop", "1", "-loop", "1",
"-r", String.valueOf(framesPerSec), "-r", String.valueOf(framesPerSec),
"-i", windowImageFile.getPath().replace(" ", "\\ "), "-i", windowImageFile.getPath().replace(" ", "\\ "),
...@@ -196,6 +195,7 @@ public class PodcastCreator { ...@@ -196,6 +195,7 @@ public class PodcastCreator {
"-vframes", String.valueOf(vFrames), "-vframes", String.valueOf(vFrames),
"-s", resolutionWidth + "x" + resolutionHeight, "-s", resolutionWidth + "x" + resolutionHeight,
"-y", "-y",
"-b:v", String.valueOf(34)+"k",
windowMovieFile.getPath().replace(" ", "\\ ") windowMovieFile.getPath().replace(" ", "\\ ")
}); });
if (j != 0 || windowMovieFile.length() == 0) { if (j != 0 || windowMovieFile.length() == 0) {
...@@ -302,7 +302,7 @@ public class PodcastCreator { ...@@ -302,7 +302,7 @@ public class PodcastCreator {
"-y", "-y",
outMovieFile.getPath().replace(" ", "\\ ") outMovieFile.getPath().replace(" ", "\\ ")
}); });
outMovieTmpFile.delete(); //outMovieTmpFile.delete();
if (!batch) { if (!batch) {
timer.stop(); timer.stop();
if (ShowProgressmonitor&&progressMonitor.isCanceled()) { if (ShowProgressmonitor&&progressMonitor.isCanceled()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment