diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 5ec6706..c78b59d 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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}"