Fixed aspect ratio of WEBM files
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 23 Sep 2017 12:17:10 +0000 (15:17 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 23 Sep 2017 12:17:10 +0000 (15:17 +0300)
meviz.iml
src/main/java/eu/svjatoslav/meviz/encoder/converters/AvconvVideo.java

index 7e3734c..37a4af7 100644 (file)
--- a/meviz.iml
+++ b/meviz.iml
@@ -11,7 +11,6 @@
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="library" name="Maven: eu.svjatoslav:svjatoslavcommons:1.6-SNAPSHOT" level="project" />
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="library" name="Maven: eu.svjatoslav:svjatoslavcommons:1.6-SNAPSHOT" level="project" />
-    <orderEntry type="library" name="Maven: eu.svjatoslav:svjatoslavcommons:1.6-SNAPSHOT" level="project" />
     <orderEntry type="library" name="Maven: log4j:log4j:1.2.16" level="project" />
   </component>
 </module>
\ No newline at end of file
     <orderEntry type="library" name="Maven: log4j:log4j:1.2.16" level="project" />
   </component>
 </module>
\ No newline at end of file
index 642095d..2492b52 100644 (file)
@@ -84,7 +84,7 @@ public class AvconvVideo extends AbstractConverter {
         if (targetFormat.equals("webm")) {
             videoCodec = "vp8";
             audioCodec = "opus";
         if (targetFormat.equals("webm")) {
             videoCodec = "vp8";
             audioCodec = "opus";
-            codecParams.append("-s 800x600 ");
+            codecParams.append("-s 800x450 ");
         }
 
         if (options.getVideoBitrate() == Bitrate.COPY)
         }
 
         if (options.getVideoBitrate() == Bitrate.COPY)