#!/bin/sh
ffmpeg=/home/ckulesa/src/ffmpeg-export-2007-04-27/ffmpeg
input=montage.%d
output=july2008-montage

rm ${output}.mp4 ; nice $ffmpeg -r 5 -f image2 -i ${input}.bmp -vcodec mpeg4 -b 1500k -mbd rd -flags +4mv+trell+aic -cmp 2 -subcmp 2 -g 300 -pass 1  ${output}.mp4

rm ${output}-fast.mp4 ; nice $ffmpeg -r 10 -f image2 -i ${input}.bmp -vcodec mpeg4 -b 2000k -mbd rd -flags +4mv+trell+aic -cmp 2 -subcmp 2 -g 300 -pass 1 ${output}-fast.mp4

exit 0
