Oh no. I have previously become an accidental expert on JPEG and written my own (reasonably fast) encoder in GPU shaders. I have now started investigating why an h264 stream encoded with macOS's VideoToolbox isn't successfully decoding on a particular target device. I fear I am getting dangerously close to being shoved down that particular rabbit hole as well.