From 66618fe44ed48fd403bfcef805d63373c94f1644 Mon Sep 17 00:00:00 2001 From: Martinez Date: Sun, 27 May 2018 18:12:53 +0200 Subject: [PATCH] add cmd toTelegram --- etc/zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) 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}"