Skip to content

Commit

Permalink
Fixed defaults in aud-img-to-vid.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Dec 10, 2024
1 parent c689993 commit d24a462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aud-img-to-vid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e
# Usage example: ./aud-img-to-vid.sh myfile.{jpg,mp3,mp4}

readonly in_img=${1:?} in_aud=${2:?} out_vid=${3:?} \
out_width=${4:1920} out_height=${5:1080}
out_width=${4:-1920} out_height=${5:-1080}

ffmpeg -loop 1 -i "$in_img" -i "$in_aud" \
-c:v libx264 -c:a aac -b:a 192k -shortest \
Expand Down

0 comments on commit d24a462

Please sign in to comment.