From 245ea88705224ceed1f6c90aee603c88dacc3c11 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sun, 9 Jun 2013 15:56:59 +0300 Subject: [PATCH] testing video encoding parameters --- .../eu/svjatoslav/meviz/encoder/converters/Mts2Mp4.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() + "\""; -- 2.20.1