newVideo() fixes and extension

newVideo(): change default codec to not_encoded. Add newVideo() from
image. A little easier to use testImage()