# Scrolling credits from a text file ffmpeg -i input.avi -vhook \ 'vhook/imlib2.so -c white -F VeraBd.ttf/16 -x 100 -y -1.0*N -f credits.txt' \ -sameq output.avi In this example, the text is stored in a file, and is positioned 100 pixels from the left hand edge of the video. The text is scrolled from the bottom up. Making the y factor positive will scroll from the top down. Increasing the magnitude of the y factor makes the text scroll faster, decreasing it makes it scroll slower. Hint: Blank lines containing only a newline are treated as end-of-file. To create blank lines, use lines that consist of space characters only.