fix: revue finale (backslash ffconcat, slash final sur -o, note spec fps élevé, plan coché)
This commit is contained in:
3 files changed
+15
-13
No files matched your search
+2
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user