fix: revue finale (backslash ffconcat, slash final sur -o, note spec fps élevé, plan coché)

This commit is contained in:
herel committed 2026-08-31 21:33:36 +02:00
1 parent e298825aac
commit 3845e868c6
3 files changed
+15 -13

No files matched your search

+2 -1
View File
@@ -36,6 +36,8 @@ while getopts ":i:o:f:s:yh" opt; do
esac
done
OUTPUT=${OUTPUT%/}
if ! [[ $FPS =~ ^[0-9]+([.][0-9]+)?$ ]] || ! awk -v f="$FPS" 'BEGIN{exit !(f>0)}'; then
echo "Erreur : -f doit être un nombre strictement positif (reçu : $FPS)" >&2
exit 1
@@ -82,7 +84,6 @@ trap 'rm -f "$LIST_FILE"' EXIT
quote_ffconcat() {
local s=$1
s=${s//\\/\\\\}
s=${s//\'/\'\\\'\'}
printf "file '%s'\n" "$s"
}