Acessing the KLV data from a TS stream

This forum is about all development around libVLC.
ravingmadcat
New Cone
New Cone
Posts: 3
Joined: 21 Aug 2019 19:36

Acessing the KLV data from a TS stream

Postby ravingmadcat » 21 Aug 2019 19:51

Succinct question: How do I get the KLV packets from my H.264+MP3 (TS) stream?

Using libVLC package from 2016 (handed off by another person at work, it's currently approved so I'm hoping I don't need to update)
Windows 10
C++
OpenGL for the GUI (probably not relevant)

I've embedded a video player into a GUI application using libVLC. The next step is to get KLV data from the Transport Stream. I'm not interested in interpreting the data right now, and I understand that I will have to create that functionality myself.

Do libvlc_media_parse_with_options() or libvlc_media_get_meta() return KLV?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Acessing the KLV data from a TS stream

Postby Rémi Denis-Courmont » 22 Aug 2019 17:00

No.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ravingmadcat
New Cone
New Cone
Posts: 3
Joined: 21 Aug 2019 19:36

Re: Acessing the KLV data from a TS stream

Postby ravingmadcat » 23 Aug 2019 16:52

No, the two functions I listed can't get me the KVL, or no libVLC can't do KLV at all?

I've seen a couple of forum posts that implied or said that you could use libVLC in projects where you need to add/get KLV packets, but none of them were particularly helpful with my specific question.

My understanding is that I need the demuxer to separate the video/audio/KLV packets and hand them off to their respective decoders. Which demuxer do I use and how do I do this?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Acessing the KLV data from a TS stream

Postby Rémi Denis-Courmont » 23 Aug 2019 22:23

Those functions return the input's permanent meta-infos. They are not suitable for streaming data.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ravingmadcat
New Cone
New Cone
Posts: 3
Joined: 21 Aug 2019 19:36

Re: Acessing the KLV data from a TS stream

Postby ravingmadcat » 24 Aug 2019 00:16

Ok, so how do I get the KLV stuff then?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 21 guests