sanity checks added
check for ffmpeg added
more encoding checks added