#!/bin/bash

for i in `ls sim*ppm`
do
	avconv -t 5.0 -i $i `basename $i .ppm`.mpg
	# ppm2mpeg -i $i `basename $i .ppm`.mpg
done
cat sim*mpg >> SIM.mpg


