mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-02-25 15:09:26 +01:00
10 lines
205 B
Text
10 lines
205 B
Text
![]() |
# 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
|