remove-capcut-endlogo/remove-capcut-endlogo.sh
2024-01-21 18:09:40 -06:00

3 lines
158 B
Bash

duration=$(ffprobe -i "$1" -show_entries format=duration -v quiet -of csv="p=0")
ffmpeg -i "$1" -ss 0 -t $(echo "$duration - 2.3" | bc) -c copy "$1-out.mp4"