mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-21 18:19:56 +01:00
Add ffmpeg crop detection
This commit is contained in:
parent
a4448c29a3
commit
106abe8d75
@ -2,6 +2,12 @@
|
||||
# filename: /zsh/ffmpeg
|
||||
#--------------------------------
|
||||
|
||||
# ffmpeg function to find borders for cropping
|
||||
function ff-crop() {
|
||||
ffmpeg -hide_banner -i "$1" -vf cropdetect,metadata=mode=print -f null -
|
||||
}
|
||||
|
||||
|
||||
# Original script: https://yohanes.gultom.me/2016/05/21/bash-script-to-batch-convert-mkv-to-mp4-linux/
|
||||
# Rewritten with ChatGPT 🙈
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user