KLV Metadata Loss in MPEG-TS — Debugging a One-Byte PES Header Bug with PyAV and ffmpeg
Debugging KLV metadata loss in an MPEG-TS drone pipeline where PyAV and klvdata fail with 'cannot fit int into an index-sized integer'. Root cause: a single missing byte in the PES packet header.