My application uses FFmpeg to demux and decode video streams from IP cameras. Video is encoded with either H.264, H.265, or MJPEG. Formats used include RTSP, and MPEG-PS. Curren