From fd7c0e940fb4059155d07992b8c1902537cf193b Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 23 Sep 2017 15:17:10 +0300 Subject: [PATCH 1/1] Fixed aspect ratio of WEBM files --- meviz.iml | 1 - .../eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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) -- 2.20.1