LEADTOOLS Support
General
General Questions
How do I decode klv metadata in the videostream that follows STANAG 4609
#1
Posted
:
Thursday, October 18, 2018 5:55:29 AM(UTC)
Groups: Registered
Posts: 8
Hi
I got a drone that have support for klv metadata in the videostream that follows STANAG 4609.
This video stream I want to decode and present in my application in realtime.
Is there an example that I can follow when using LEADTOOLS?
Please help me and assume that I know nothing...all help is appreciated:)
Best regards,
Hans
#2
Posted
:
Thursday, October 18, 2018 7:35:13 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello Hans,
We have a demo that ships with our Multimedia SDK that does exactly that, either from a video file or a stream. Our MPEG-2 Transport demo can be found here:
LEADTOOLS 20\Examples\Multimedia\ltmm\Dotnet\CS\MPEG2Transport
If you haven't already done so, you can download our Multimedia SDK here:
https://www.leadtools.com/downloads?category=mmIf you have any questions, or have issues implementing the demo code within your own application, please let me know.
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Thursday, October 18, 2018 8:26:40 AM(UTC)
Groups: Registered
Posts: 8
Hi thanks
This is what I need.
Just a quick question: Do you also have a demo for adding klv metadata to a stream or a video file?
Best regards,
Hans
#4
Posted
:
Thursday, October 18, 2018 8:48:09 AM(UTC)
Groups: Registered
Posts: 8
Hi thanks this must be what I need.
I have tested the demo with my local file but I can see that the ESD Name and value is empty....is that because my file does not have that key or does your demo not support this?
Key, UDS, LDS Name, UDS Name, ESD Name, Value,
1, 48, -, Security Local Metadata Set, The Security Metadata Universal Set, ,
Thanks for your quick help again:)
Best regards,
Hans
#5
Posted
:
Thursday, October 18, 2018 11:05:33 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello Hans,
I believe it simply means the file does not contain that information.
That said, if you can provide me with a file that is known to have this property, but our SDK doesn't display it, please let me know.
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#6
Posted
:
Friday, October 19, 2018 5:59:56 AM(UTC)
Groups: Registered
Posts: 8
Hi again...thanks again for your answer:)
Actually I'm not sure if my video file contains that Security metadata.
Is it possible to create a video file with that klv 48 key metadata from Leadtool?
Best regards,
Hans
#7
Posted
:
Friday, October 19, 2018 9:28:55 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello,
Adding KLV data is shown within the ConvertKLV demo, and the LiveRTSPServer demo:
- ConvertKLV: C:\LEADTOOLS 20\Examples\Multimedia\ltmm\Dotnet\CS\ConvertKLV\FrmConvert.cs WriteKLVData()
- LiveRTSPServer: C:\LEADTOOLS 20\Examples\Multimedia\ltmm\Dotnet\CS\LiveRTSPServer\Form1.cs WriteKLVData
Most of the keys are hardcoded, though a list of common keys can be found within the
LMMpgDmxTLib.LMMpgDmxConstants enumeration (they start with "KlvKey_"). You can also find additional keys within the original MPEG-2 Transport demo I referred to earlier, specifically the following file:
C:\LEADTOOLS 20\Examples\Multimedia\ltmm\Dotnet\CS\MPEG2Transport\MPEG2PrivateDataCol.cs
For additional information about how these keys are formed, refer to the following guide:
https://www.leadtools.com/help/leadtools/v20/multimedia/transforms/klv-key-information.htmlI would recommend looking over the LiveRTSPServer demo for an example of adding keys throughout conversion, and the ConvertKLV demo for an example of adding the keys once at the beginning of conversion.
If you have any issues getting this working, please let me know.
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
General Questions
How do I decode klv metadata in the videostream that follows STANAG 4609
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.