Wednesday, January 28, 2015

How to Make a Title Card Movie out of a static image: Part 1

You can make a movie out of a static frame. This is useful for title cards, disclaimers, announcements and so on.

To make a 5 second movie with the Animation codec in a quicktime wrapper, run this command:

ffmpeg -loop 1 -r 25 -i inputcard.png -t 00:00:05 -c:v qtrle output.mov


If you want to join this later to another movie which has sound, you need to add sound tracks to this title-card movie, else the two files will not join (concatenate). You can create a silent audio track through ffmpeg and mux that into the output.mov just created.

The silent track is created through the "lavfi" format.

ffmpeg -f lavfi -i aevalsrc=0 -i output.mov -shortest -c:v copy -c:a aac -strict -2 title.mov


Now you can concatenate the "title.mov" file to the body film.

No comments:

Post a Comment