From 526a0d3a4118a9cdd19b6ec282a779c88cf3b67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sat, 17 Apr 2021 19:33:51 -0500 Subject: [vconveter.sh]: fix missing support m2ts format --- hyperterm/tools/vconverter.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'hyperterm/tools') diff --git a/hyperterm/tools/vconverter.sh b/hyperterm/tools/vconverter.sh index 79efd60..b4045a7 100644 --- a/hyperterm/tools/vconverter.sh +++ b/hyperterm/tools/vconverter.sh @@ -14,6 +14,7 @@ function vtovp9() { *.mp4) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.mp4}".webm ;; *.mpg) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.mpg}".webm ;; *.ogv) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.ogv}".webm ;; + *.m2ts) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.m2ts}".webm ;; *.ts) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.ts}".webm ;; *.webm) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.webm}".webm ;; *.wmv) ffmpeg -i "$1" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${1%.wmv}".webm ;; -- cgit v1.2.3