placed libav functionality into class VideoDecode