I am writing a series of frames to FFmpeg in a loop. I extract it from the source as a jpg then I write the jpg frame to the FFMPEG encoder process.
// This w