aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-04-17 19:32:28 -0500
committerJesús <heckyel@hyperbola.info>2021-04-17 19:32:28 -0500
commited8b45e4f323018e63d4287482a35ec8c91be9e4 (patch)
treee36a2f569dd1004c0ad81672bff74254a276624d
parent36a483afb80f2efd9fc002c55873f830e1a7491c (diff)
downloadhyperterm-ed8b45e4f323018e63d4287482a35ec8c91be9e4.tar.lz
hyperterm-ed8b45e4f323018e63d4287482a35ec8c91be9e4.tar.xz
hyperterm-ed8b45e4f323018e63d4287482a35ec8c91be9e4.zip
[vconveter.sh]: Add support ts format
-rw-r--r--hyperterm/hyperterm.sha5122
-rw-r--r--hyperterm/tools/vconverter.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/hyperterm/hyperterm.sha512 b/hyperterm/hyperterm.sha512
index 1ebf62c..4e6f7a1 100644
--- a/hyperterm/hyperterm.sha512
+++ b/hyperterm/hyperterm.sha512
@@ -8,7 +8,7 @@ a78784d5e732b907fc4cb4fdd817b94096f11d49acee2c26887247e924f01f363331318ea50a2235
ee1d6d1f9b010318985f7154c2a9173c8f2ab6b637cd3c8d2a9b403e83470e15a273dcff326a84f035660807d7cfcf04efe5abc0495e25ae7339b8807899cf0d ./tools/listuser.sh
a24eb94b5542e340c186acd3537d3e144b1de9e08f0cb502988959a5920133e702b598a2af714a2f81a0d475573431dd95509542e34bfb09cc5cb71bbeb1bd70 ./tools/sysinfo.sh
1d26185a78a0a779af61cdf816f0644bbd328588800ead4dcf5475b0750704fd01755edcf12048791d23cb94afae8512ef587135ff049b84c5a5c0eb0d2209a6 ./tools/compress.sh
-cef212bc908eb64ddc606da86ac71f3f526369046b2292ba8884385d267cc07b2d93c8fb4f2de1dfb0d1a6f9eed028639b83da6cc854d0cd2bfb259434e09236 ./tools/vconverter.sh
+86f5c03f8717da44cc8dafdfc1a1eeaf118fd18a550f87b17c5866b204194792b67bbba2c40bf1656d3ace0390e7be7eb8796c6400587ecceea046754978afc1 ./tools/vconverter.sh
579852abd8378d754fcaccb903c1fefcd4020a578ba63fb3687a08027a937fbbd18e8a1ac22b448edc14445e088134e1e909ae2f3bfea8702df8abf56000daa0 ./tools/ruby.sh
feff7e1dc5d3a84761495979eaf091dc2132fa081c3b4501756973a25e0514e9a00cc9a201767bac7d391eaee631777bbbd9bc032110e99da099c33f710a4c9f ./tools/network.sh
7447d3e167ab207d3ef4218e201a06bf5a3fc23281639f16f7f405f1d66b73923845d450fdb0a94672757866a9da0324f728564a1b61b2ed1678fe576eb565cf ./core/autocomplete.sh
diff --git a/hyperterm/tools/vconverter.sh b/hyperterm/tools/vconverter.sh
index f240a06..79efd60 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 ;;
+ *.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 ;;
*) msg_err "El formato de '$1' no esta listado :(" \
@@ -55,6 +56,7 @@ function alltovp9() {
*.mp4) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.mp4}".webm ;;
*.mpg) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.mpg}".webm ;;
*.m2ts) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.m2ts}".webm ;;
+ *.ts) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.ts}".webm ;;
*.ogv) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.ogv}".webm ;;
*.vob) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.vob}".webm ;;
*.wmv) ffmpeg -i "$FILE_NAME" -c:v libvpx-vp9 -crf 33 -threads 8 -b:v 0 -b:a 128k -c:a libopus -map_metadata -1 "${FILE_NAME%.wmv}".webm ;;