mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-01-31 04:08:16 +01:00
9 lines
205 B
Bash
9 lines
205 B
Bash
# DESC: Converts (ffmpeg) file $1 to $2, or $1 to ${1:r}.mp4
|
|
|
|
if [[ "$2" != "" ]]; then
|
|
command ffmpeg -i "$1" -qscale 0 "$2"
|
|
else
|
|
command ffmpeg -i "$1" -qscale 0 "${1:r}.mp4"
|
|
fi
|
|
|
|
# vim:ft=zsh:et
|