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 : Tuesday, October 2, 2012 9:00:22 AM(UTC)
jvreeker

Groups: Registered
Posts: 16


Hello,

I have a strange problem, I create a ConvertCtrl and set the source and target both are UDP streams.
Everything looks perfect, but I want to see a preview. So I call the funtion ConvertObj.preview =true;

After this the ConvertCtrl gets corrupted, the member variables   SourceVideoFOURCC,SourceVideoType are set to null.
and the status is set to NOTReady.

What Im I doing wrong?

Thanks
Jelle Vreeker

 

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 : Wednesday, October 3, 2012 7:41:47 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


Jelle,

By enabling the preview of the ConvertCtrl, you will be forcing the control to decompress the video and to display it, then recompress the video again to send it to the target stream.

A better approach might be to take the same stream (either input or output network stream) and play it back in a different control. This will not affect the original video and the re-streaming process.

To do that, add a Player control and make the source of the player control is the same UDP source of the convert control.
If the UDP source is not multicast, you can set the source of the player control to be the output stream of the convert control.

Mohamed Abedallah
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.132 seconds.