From 7e051db8aa749ae689af8013c4af0a54c8479201 Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Sun, 30 Oct 2022 06:42:20 +0100 Subject: Add another ext to VIDEO_REGEXP --- roles/caption/templates/process-captions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/caption/templates') diff --git a/roles/caption/templates/process-captions.py b/roles/caption/templates/process-captions.py index f2ba2f7..67f82ce 100755 --- a/roles/caption/templates/process-captions.py +++ b/roles/caption/templates/process-captions.py @@ -40,7 +40,7 @@ import json import torch THREADS = {{ cpus }} -VIDEO_REGEXP = '\.(webm|mov|mp4)$' +VIDEO_REGEXP = '\.(webm|mov|mp4|mkv)$' AUDIO_REGEXP = '\.(ogg|opus)$' ALWAYS = False TRIM_AUDIO = False -- cgit v1.2.3