for file in *.mp4; do
	out=$(ffmpeg -v error -i "$file" -f null - 2>&1);
	# echo $out
	if [ "$out" = ""  ];  
then
      echo "looks good"
else
	echo $out && echo $file && rm $file
fi
done
