Inserting MISB KLV into TS file
Working with the Ts file as a source is very similar to working with streams, we just replace a stream url with a file path.
Additionally, we have an option to process the stream "faster than real time". In order to do that, disable the rendering:
// Disable video / audio rendering
m_KlvInjector.RenderVideo = false;
m_KlvInjector.RenderAudio = false;
// set to true if you don't need an uncompressed frame, but still want to get video timing info.
m_KlvPlayer.VideoCaptureMode.fCompressedVideo = ... true / false
You can also disable video decoding and color space conversion that will make the process even faster and use less CPU resources.
m_KlvInjector.VideoCaptureMode.uncompressedVideo = UncompressedVideoModeWr.UncompressedVideoMode_None;