fix ffmpeg argument order
This commit is contained in:
parent
e87dc7f471
commit
f108de6556
1 changed files with 1 additions and 1 deletions
|
|
@ -25,6 +25,6 @@ args=()
|
||||||
[ "${FILE##*.}" == "${out##*.}" ] && args+=("-c" "copy")
|
[ "${FILE##*.}" == "${out##*.}" ] && args+=("-c" "copy")
|
||||||
|
|
||||||
# Execute ffmpeg
|
# Execute ffmpeg
|
||||||
ffmpeg -hide_banner -loglevel error -ss "$from" -i "$FILE" "${args[@]}" "$out"
|
ffmpeg -hide_banner -loglevel error -i "$FILE" -ss "$from" "${args[@]}" "$out"
|
||||||
|
|
||||||
[ "$?" == "0" ] && echo "The extracted part was saved to ${sftbf}$out${sftrs}"
|
[ "$?" == "0" ] && echo "The extracted part was saved to ${sftbf}$out${sftrs}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue