Wowza picture video script

This script will generate a movie for wowza based on the picture "1.jpg" located in the same folder as the script. The script takes one argument describing the desired length of the video in seconds. The output video will be called

for i in `seq 2 $1`;
        cp 1.jpg $i.jpg
mencoder "mf://*.jpg" -mf fps=1 -o test.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800
ffmpeg -i test.avi


Wowza/PictureVideoScript (last edited 2010-11-11 13:27:25 by mar)