From 0ba70f3eca7e3d836c13a363a973d4876d5533c3 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Tue, 28 Apr 2015 22:06:46 +0300 Subject: [PATCH] downscale webm --- .../java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java | 1 + 1 file changed, 1 insertion(+) 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 ea08e5d..beb634e 100644 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java @@ -82,6 +82,7 @@ public class AvconvVideo extends AbstractConverter { if (targetFormat.equals("webm")) { videoCodec = "vp9"; audioCodec = "opus"; + codecParams.append("-s 800x600 "); } if (options.getVideoBitrate() == bitrate.COPY) -- 2.20.1