diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index ebf7f76..5ec6706 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -128,6 +128,13 @@ function die () { exit 1 } +function tomp4 () { + __TOMP4_INPUT="${1}" + __TOMP4_OUTPUT="${1%%.*}.mp4" + + ffmpeg -i "file:${__TOMP4_INPUT}" -codec:v copy -codec:a copy "${__TOMP4_OUTPUT}" +} + function mkvoid () { __MKVOID_TARGET="$1" __MKVOID_PATH="${__MKVOID_TARGET:P}"