Commit c0d3a63c authored by petter's avatar petter

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 {
exec.createListenerStream();
j = exec.exec(new String[] {
ffmpegCmd,
"-b:v", String.valueOf(34)+"k",
"-loop", "1",
"-r", String.valueOf(framesPerSec),
"-i", windowImageFile.getPath().replace(" ", "\\ "),
......@@ -196,6 +195,7 @@ public class PodcastCreator {
"-vframes", String.valueOf(vFrames),
"-s", resolutionWidth + "x" + resolutionHeight,
"-y",
"-b:v", String.valueOf(34)+"k",
windowMovieFile.getPath().replace(" ", "\\ ")
});
if (j != 0 || windowMovieFile.length() == 0) {
......@@ -302,7 +302,7 @@ public class PodcastCreator {
"-y",
outMovieFile.getPath().replace(" ", "\\ ")
});
outMovieTmpFile.delete();
//outMovieTmpFile.delete();
if (!batch) {
timer.stop();
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