mirror of
https://github.com/Sneed-Group/remove-capcut-endlogo
synced 2024-10-30 00:17:52 +00:00
3 lines
158 B
Bash
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"
|
|
|