Add ffmpeg debugging functions