4 lines
125 B
Bash
4 lines
125 B
Bash
#!/bin/sh
|
|
output_file="$(echo "$1" | sed 's,\(.*\)\.\(.*\)$,\1.sermon.\2,')"
|
|
ffmpeg -i "$1" -ss "$2" -to "$3" "$output_file"
|