def _lib(): """Return the avformat shared library. """ global _libavformat global _libname if _libavformat is None: _libavformat = findlib.findFfmpegLib(_libname) return _libavformat
def _lib(): """Return the avcodec shared library. """ global _libavcodec global _libname if _libavcodec is None: _libavcodec = findlib.findFfmpegLib(_libname) return _libavcodec
def _lib(): """Return the swscale shared library. """ global _libswscale global _libname if _libswscale is None: _libswscale = findlib.findFfmpegLib(_libname) return _libswscale
def _lib(): """Return the avutil shared library. """ global _libavutil global _libname if _libavutil is None: _libavutil = findlib.findFfmpegLib(_libname) return _libavutil