ffmpeg implementation - first steps