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 : Wednesday, February 26, 2020 12:12:30 PM(UTC)
Marcus Andra

Groups: Registered, Manager, Tech Support, Administrators
Posts: 107

Was thanked: 9 time(s) in 9 post(s)

LEADTOOLS offers the ability to parse KLV data through the use of LEAD MPEG-2 Transport Demultiplexer. For an example which demonstrates this functionality, please look at the MPEG-2 Transport (player) demo which you can find at the following default installation location: C:\LEADTOOLS 20\Shortcuts\Multimedia\MPEG2 Transport\DirectShow\Dotnet Class Library.

If you don't want video feed to be displayed and decoded, and you're only interested in the data received from parsing, you'll want to add the following code in your application

Code:
playCtrl.AllowedStreams = StreamFormatType.Video;           
playCtrl.PreferredVideoRenderer = VideoRendererType.NULL;                  
playCtrl.StillTap = PlayStillTap.None;


With this code, you are first enabling the video feed, piping it to a null render, and then ensuring that there is no capture filter inserted which will allow the avoidance of the video decompression. This will build a simple graph, and also significantly decrease CPU load.

The documentation on the properties used in this code can be found here.
https://www.leadtools.co...ctrl-allowedstreams.html
https://www.leadtools.co...ferredvideorenderer.html
https://www.leadtools.co...m/playctrl-stilltap.html

For more information on how you can parse KLV data, and how it can be beneficial in your application look here:
https://www.leadtools.co...port/forum/posts/t12156-
https://www.leadtools.co...klv-key-information.html
https://www.leadtools.co...klvparser-interface.html

If you have any questions about the LEADTOOLS SDK not covered in this post please email us at support@leadtools.com

Edited by moderator Wednesday, March 4, 2020 2:17:38 PM(UTC)  | Reason: Not specified

Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 

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.

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-2024, Yet Another Forum.NET
This page was generated in 0.048 seconds.