Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, October 18, 2018 6:00:29 AM(UTC)
Mindraid

Groups: Registered
Posts: 7


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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, October 18, 2018 7:40:13 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 27 time(s) in 27 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=mm

If 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.

LEAD Logo
 
#3 Posted : Thursday, October 18, 2018 8:31:40 AM(UTC)
Mindraid

Groups: Registered
Posts: 7


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:53:09 AM(UTC)
Mindraid

Groups: Registered
Posts: 7


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:10:33 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 27 time(s) in 27 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.

LEAD Logo
 
#6 Posted : Friday, October 19, 2018 6:04:56 AM(UTC)
Mindraid

Groups: Registered
Posts: 7


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:33:55 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 27 time(s) in 27 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.html

I 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.

LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.290 seconds.