allow codec to be none for old versions of ffmpeg
allow codec to be none for old versions of ffmpeg

haribharadwaj/PySurfer,mwaskom/PySurfer,Eric89GXL/PySurfer,effigies/PySurfer,diego0020/PySurfer,nipy/PySurfer,bpinsard/PySurfer