added vn flag so some video formats won't attempt to also encode video