From: Svjatoslav Agejenko Date: Fri, 4 Mar 2022 14:45:16 +0000 (+0200) Subject: declared ASF support in FFMPEG converter X-Git-Tag: meviz-1.4~6 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=dd627b3e13fecefcba709787580031c8bc5ccd78;p=meviz.git declared ASF support in FFMPEG converter --- diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java index bb2dccc..97dd7c9 100755 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java @@ -18,9 +18,9 @@ public abstract class AbstractConverter { public abstract String getCommand(File inputFile, File targetFile, EncodingOptions options, String targetFormat); - protected abstract List getSourceFileExtensions(); + public abstract List getSourceFileExtensions(); - protected abstract List getTargetFileExtensions(); + public abstract List getTargetFileExtensions(); /** * For some reasons some encoders require terminal to run. Until this is diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java index a2aeb81..127dfb8 100644 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java @@ -128,7 +128,7 @@ public class FFMpegVideo extends AbstractConverter { private List getSupportedExtensions() { return toList("mkv", "mts", "mp4", "avi", "mpg", "mpeg", "vob", "m4v", - "webm", "mov", "asf", "3gp"); + "webm", "mov", "asf", "3gp", "asf"); } @Override