dotfiles/dot_local/bin/executable_ffmpeg.lossy_trim

4 lines
125 B
Plaintext
Raw Permalink Normal View History

2023-09-15 15:46:04 -04:00
#!/bin/sh
output_file="$(echo "$1" | sed 's,\(.*\)\.\(.*\)$,\1.sermon.\2,')"
ffmpeg -i "$1" -ss "$2" -to "$3" "$output_file"