Read video frames using libffmpeg