From: Svjatoslav Agejenko Date: Tue, 28 Apr 2015 19:06:46 +0000 (+0300) Subject: downscale webm X-Git-Tag: meviz-1.0~27 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=0ba70f3eca7e3d836c13a363a973d4876d5533c3;p=meviz.git downscale webm --- 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)