#!/bin/sh

DIR=
FILE=
OUT=animace

FPS=25
LAVCOPTS="vcodec=mpeg4:vhq:vbitrate=2400:v4mv:mbd=2:trell:autoaspect"

mencoder \
  -mf fps=$FPS:type=jpg \
  -ovc lavc -lavcopts $LAVCOPTS \
  -o $OUT.avi \
  "mf://$DIR$FILE*.jpg"

