mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-09-08 02:10:48 +02:00
cleaner output
This commit is contained in:
parent
106abe8d75
commit
882be853a7
@ -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 }'
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user