diff --git a/zsh/ffmpeg b/zsh/ffmpeg index 7a7875e..b9d8283 100644 --- a/zsh/ffmpeg +++ b/zsh/ffmpeg @@ -4,7 +4,7 @@ # ffmpeg function to find borders for cropping function ff-crop() { - ffmpeg -hide_banner -i "$1" -vf cropdetect,metadata=mode=print -f null - + ffmpeg -hide_banner -i "$1" -vf cropdetect,metadata=mode=print -f null - 2>&1 | awk '/crop=/ { print $NF }' }