Creating Scrolling Credits with a Transparent Background using FFmpeg

Create Scrolling Text
ffplay -f lavfi -i color=green@0.0:s=1280x720:rate=60,format=rgba -ss 00:00:00 -t 00:01:30 -vf "drawtext=fontfile=/System/Library/Fonts/Supplemental/Impact.ttf:fontsize=60:fontcolor=green:x=(w-text_w)/2+20:y=h-40*t:line_spacing=80:textfile='names.txt'"

Note: On Window systems, access the fonts like this: “/Windows/Fonts/arial.ttf”. You can’t use the traditional “C:\Windows\Fonts\arial.ttf” because the colon is a reserved character in the FFmpeg syntax.

FFmpeg Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZOPDZ71Khzt5PX4X4j6flkg

FFmpeg notes: https://www.rickmakes.com/ffmpeg-notes/

Leave a comment

Your email address will not be published. Required fields are marked *