diff options
author | Jesús <heckyel@hyperbola.info> | 2021-04-17 19:33:51 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-04-17 19:33:51 -0500 |
commit | 526a0d3a4118a9cdd19b6ec282a779c88cf3b67a (patch) | |
tree | 9131b28052dab9d14c5d4b22d9f93f3f161f1e6b /hyperterm/tools | |
parent | ed8b45e4f323018e63d4287482a35ec8c91be9e4 (diff) | |
download | hyperterm-526a0d3a4118a9cdd19b6ec282a779c88cf3b67a.tar.lz hyperterm-526a0d3a4118a9cdd19b6ec282a779c88cf3b67a.tar.xz hyperterm-526a0d3a4118a9cdd19b6ec282a779c88cf3b67a.zip |
[vconveter.sh]: fix missing support m2ts format
Diffstat (limited to 'hyperterm/tools')
-rw-r--r-- | hyperterm/tools/vconverter.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 ;; |