#!/bin/csh
foreach vidfile(/media/My Book/Varium-Exp/Exp/*.yuv)
	echo transcoding to avi $vidfile:r 
	ffmpeg -s 1280x720  -pix_fmt yuv420p -i $vidfile -sameq -vcodec rawvideo $vidfile:r{.avi}
	mv $vidfile /media/My Book/Varium-Exp/Exp/avi
	
end
