diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-05-03 22:23:04 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-05-03 22:23:04 +0900 |
| commit | ab05e8dc4690f078e9b4c23d179ae18dbe2bca57 (patch) | |
| tree | 2046fa1701714c775a1122aafb1c84196876caf8 /ar/.local | |
| parent | 5dcf75654cfb2b8d05e67b3769a17cce92fa0d15 (diff) | |
modified bin/ccv
Diffstat (limited to 'ar/.local')
| -rwxr-xr-x | ar/.local/bin/ccv | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ar/.local/bin/ccv b/ar/.local/bin/ccv index bc42fc8..a921b9b 100755 --- a/ar/.local/bin/ccv +++ b/ar/.local/bin/ccv @@ -173,9 +173,12 @@ cmd_cut() { fi fi + # -ss / -to / -t go BEFORE -i so they apply as input options against the + # source's absolute timestamps. Placed after -i, -to/-t use the output's + # reset timeline and cut for the entire END value instead of START->END. set -- ffmpeg -hide_banner [ -n "$FF_OVERWRITE" ] && set -- "$@" "$FF_OVERWRITE" - set -- "$@" -ss "$start" -i "$file" -c copy + set -- "$@" -ss "$start" if [ -n "$end_or_dur" ]; then case "$end_or_dur" in *:*) set -- "$@" -to "$end_or_dur" ;; @@ -183,7 +186,7 @@ cmd_cut() { *) set -- "$@" -t "$end_or_dur" ;; esac fi - set -- "$@" "$out" + set -- "$@" -i "$file" -c copy "$out" "$@" printf 'Created %s\n' "$out" |
