added m4v file type
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / converters / AvconvVideo.java
index de295ca..7687ac4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
  * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- * 
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public License
  * as published by the Free Software Foundation.
@@ -30,8 +30,8 @@ public class AvconvVideo extends AbstractConverter {
                        break;
 
                case MEDIUM:
-                       videoBitrate = 3500;
-                       audioBitrate = 128;
+                       videoBitrate = 4000;
+                       audioBitrate = 192;
                        break;
 
                case HIGH:
@@ -71,12 +71,12 @@ public class AvconvVideo extends AbstractConverter {
 
        @Override
        public List<String> getSourceFileExtensions() {
-               return toList("mkv", "mts", "mp4", "avi");
+               return toList("mkv", "mts", "mp4", "avi", "mpg", "mpeg", "vob", "m4v");
        }
 
        @Override
        public List<String> getTargetFileExtensions() {
-               return toList("mkv", "mts", "mp4", "avi");
+               return toList("mkv", "mts", "mp4", "avi", "mpg", "mpeg", "vob");
        }
 
        @Override