Some wrappers for libav