Fix ffmpeg version discover py3k compatibility