From: Svjatoslav Agejenko Date: Sun, 9 Jun 2013 12:56:59 +0000 (+0300) Subject: testing video encoding parameters X-Git-Tag: meviz-1.0~82 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=245ea88705224ceed1f6c90aee603c88dacc3c11;p=meviz.git testing video encoding parameters --- diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/Mts2Mp4.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/Mts2Mp4.java index c2c712d..decab0e 100755 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/Mts2Mp4.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/Mts2Mp4.java @@ -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() + "\"";