keijiro / KlakNDI

NDI® plugin for Unity

Home Page:https://ndi.video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NDI per-frame metadata recorder?

Axelius89 opened this issue · comments

Hi,

First of all, thanks a lot for this great library. It works very well for me!

This question is slightly off-topic, but I will ask it here nonetheless.

KlakNDI can attach per-frame metadata by writing an XML string to the NDISender.metadata property. But I have the feeling that NDI per-frame metadata is not really standardized. At least, with my limited understanding of NDI, I could only find very few resources. I found it tricky to access this metadata with anything other than another instance of KlakNDI.

What got me confused initially is that In NDI, there are specific metadata frames and per-frame metadata. KlakNDI writes to the per-frame metadata. This could be a detail to be added to the documentation.

I used the NDI SDK C# example and extended it slightly to print the per-frame metadata to the console to verify that it is there in the NDI stream in the expected format, which it is.

Does anybody know of a standard NDI software, which reads this per-frame metadata, and optimally can record it along with the video? I tried with the Studio Monitor in the NDI 5 Tools, and while it records the video nicely, the additional data it records to a separate file is a garbled mess. With FFMPEG, I also do not find per-frame metadata within the recorded video file. OBS or a software called "Direct Take" also seem oblivious to per-frame metadata.

Any hints in the right direction would be great.