mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-21 18:19:56 +01:00
Compare commits
2 Commits
a4448c29a3
...
882be853a7
Author | SHA1 | Date | |
---|---|---|---|
|
882be853a7 | ||
|
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 - 2>&1 | awk '/crop=/ { print $NF }'
|
||||
}
|
||||
|
||||
|
||||
# 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