From 0460c487a34dbb18143fce1560d5eb18a4f26b27 Mon Sep 17 00:00:00 2001 From: prj-2501 Date: Tue, 20 Jun 2023 00:08:57 +0530 Subject: [PATCH] ffmpeg: add webm to supported extensions --- src/adapters/ffmpeg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/ffmpeg.rs b/src/adapters/ffmpeg.rs index e83e6b1..b18b666 100644 --- a/src/adapters/ffmpeg.rs +++ b/src/adapters/ffmpeg.rs @@ -14,7 +14,7 @@ use writing::WritingFileAdapter; // maybe todo: read list of extensions from // ffmpeg -demuxers | tail -n+5 | awk '{print $2}' | while read demuxer; do echo MUX=$demuxer; ffmpeg -h demuxer=$demuxer | grep 'Common extensions'; done 2>/dev/null // but really, the probability of getting useful information from a .flv is low -static EXTENSIONS: &[&str] = &["mkv", "mp4", "avi", "mp3", "ogg", "flac"]; +static EXTENSIONS: &[&str] = &["mkv", "mp4", "avi", "mp3", "ogg", "flac", "webm"]; lazy_static! { static ref METADATA: AdapterMeta = AdapterMeta {