Hi I have solved my problem, all it needed was the -of rawvideo option. No more diminishing memory. Thanks again to everyone for all your help, it is much appreciated! Regards Keith