Friday, October 4, 2013

Create a test video displaying a count up


for i in $(seq 0 10); do convert -size 320x240 xc:white -font Palatino-Bold -pointsize 72 -fill black -draw "text 20,55  '`printf %02d $i`' " img`printf %02d $i`.png ; done

avconv -r 1 -i "img%02d.png" -r 1 -vcodec mpeg4  test.avi

where the two -r indicate the input rate (in fps) and the output rate




sources:
http://www.linuxandlife.com/2012/09/how-to-create-simple-text-image-with.html
http://superuser.com/questions/624567/ffmpeg-create-a-video-from-images#12160155
https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

No comments:

Post a Comment