From: Svjatoslav Agejenko Date: Sat, 23 Sep 2017 12:17:10 +0000 (+0300) Subject: Fixed aspect ratio of WEBM files X-Git-Tag: meviz-1.2~34 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=fd7c0e940fb4059155d07992b8c1902537cf193b;hp=bbca5a7b5a703215321b41888761a2ae3ec870e4;p=meviz.git Fixed aspect ratio of WEBM files --- diff --git a/meviz.iml b/meviz.iml index 7e3734c..37a4af7 100644 --- a/meviz.iml +++ b/meviz.iml @@ -11,7 +11,6 @@ - \ No newline at end of file diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java index 642095d..2492b52 100644 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java @@ -84,7 +84,7 @@ public class AvconvVideo extends AbstractConverter { if (targetFormat.equals("webm")) { videoCodec = "vp8"; audioCodec = "opus"; - codecParams.append("-s 800x600 "); + codecParams.append("-s 800x450 "); } if (options.getVideoBitrate() == Bitrate.COPY)