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 : Friday, November 12, 2021 12:32:04 AM(UTC)
MikeRodriguez

Groups: Registered
Posts: 4


I need to show the close caption for the video.
I can't seem to be able to find a sample for this purpose.

thanks
 

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 : Friday, November 12, 2021 11:03:48 AM(UTC)
Marcus Andra

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

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

Hello,

If you are displaying the video via PlayCtrl, you can use the AllowedStreams property and set the StreamFormatType to a Closed caption stream. This should make it so that this is the stream that is selected. Here is some documentation that provides an example of this which are great resources:

https://www.leadtools.com/help/sdk/v22/dh/multimedia/mm/playctrl-allowedstreams.html
https://www.leadtools.com/help/sdk/v22/dh/multimedia/mm/playctrl-sourcestream.html
https://www.leadtools.com/help/sdk/v22/dh/multimedia/mm/streamformattype.html
Marcus Andra
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-2024, Yet Another Forum.NET
This page was generated in 0.048 seconds.