before switching from libav to libvlc