working with minimal ffmpeg