I think the gamma issues are a QuickTime problem, and not an H.264 problem per se.
So could you add a gamma adjustment filter in compressor or other compression software to fix your gamma shift, and stay with h.264?
Jerry
Apple Certified Trainer, Producer, Writer, Director Editor, Gun for Hire and other things. I ski. My Blog: https://blogs.creativecow.net/Jerry-Hofmann
Current DVD:
https://store.creativecow.net/p/81/jerry_hofmanns_final_cut_system_setup
8-Core 3.0 Intel Mac Pro, Dual 2 gig G5, AJA Kona SD, AJA Kona 2, Huge Systems Array UL3D, AJA Io HD, 17″ MBP, Matrox MXO2 with MAX – Cinema Displays I have a 22″ that I paid 4k for still working. G4 with Kona SD card, and SCSI card.