add cmd toTelegram

This commit is contained in:
Martinez 2018-05-27 18:12:53 +02:00
parent 7e9fcc0894
commit 66618fe44e

View file

@ -135,6 +135,10 @@ function tomp4 () {
ffmpeg -i "file:${__TOMP4_INPUT}" -codec:v copy -codec:a copy "${__TOMP4_OUTPUT}"
}
function toTelegram () {
over-video --container mp4 --video x264 --video-preset slow --video-quality 22 +F "scale=1280:trunc(ow/a/2)*2" +A "${@}"
}
function mkvoid () {
__MKVOID_TARGET="$1"
__MKVOID_PATH="${__MKVOID_TARGET:P}"