mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-21 18:19:56 +01: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