How to use the MediaLiveViewer with RawLiveSource

I am going to start using this allot. The SDK doc is a bit scarse on this topic. If I understand correctly, this is the raw stream comming from the cameras correct?

What would I need to do to get this raw stream coming from an h264 camera into vlc or another program? I don’t want to use the onvif bridge.

Best,

E.

The data is the raw data from the camera except for a header, Milestone names this the GenericByteData format, please read about the GenericByteData format here - https://doc.developer.milestonesys.com/html/index.html?base=mipgenericbytedata/main.html&tree=tree_3.html

Hello,

Ok so I read the many pages describing the protocol… And it looks elegant but very complicated :sweat_smile: If I understood correctly, I have to wait for a SYNC picture to be able to extract an SDP file and than I need to extract each video block separately if I want to do something else with it. And the cherry on top is that you support rotations. This project is definitely non trivial to say the least. Can you please ask around if any test code exists to get an h264 stream reconstructed from this? How could I get the stream opened in gstreamer or VLC? Any existing code C# would really help as this does look quite intense.

Thank you.

You want to have the Milestone video data to feed in VLC player, however I think VLC Player needs to connect somehow to a video provider, we don’t have that other than the onvif bridge.

We don’t have any code samples for developing a RTSP server or similar that can act as a host for the VLC Player.

If you want a file to play with VLC Player you can use export, but only on recorded data.

Hi Bo,

Ok thanks anyways.

Just FYI I will let you know when I get it working or if I have any issues developing this. I will also add support for h265 and make it generally better and easier to use than the Onvif bridge if I can. My main focus right now is to inject to stream into GStreamer.

Kind regards,

E.