testing video encoding parameters
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 9 Jun 2013 12:56:59 +0000 (15:56 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 9 Jun 2013 12:56:59 +0000 (15:56 +0300)
src/main/java/eu/svjatoslav/meviz/encoder/converters/Mts2Mp4.java

index c2c712d..decab0e 100755 (executable)
@@ -41,10 +41,12 @@ public class Mts2Mp4 implements Converter {
 
                // convert
                // final String codecParams =
-               // "-acodec libmp3lame -vcodec libx264 -b 3500k -b:a 192k";
+               // "-acodec libmp3lame -vcodec libx264 -b 10000k -b:a 500k -filter:v yadif";
+
+               final String codecParams = "-acodec libmp3lame -vcodec libx264 -b 3500k -b:a 128k";
 
                // pass through
-               final String codecParams = "-acodec copy -vcodec copy";
+               // final String codecParams = "-acodec copy -vcodec copy";
 
                return "avconv -i \"" + inputFile.getAbsolutePath() + "\" "
                                + codecParams + " \"" + targetFile.getAbsolutePath() + "\"";