Implementation of the FFMPEG reader