LEADTOOLS Support
General
General Questions
ConvertCtrl corrupted when using preview
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, October 2, 2012 9:00:22 AM(UTC)
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
#2
Posted
:
Wednesday, October 3, 2012 7:41:47 AM(UTC)
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.
LEADTOOLS Support
General
General Questions
ConvertCtrl corrupted when using preview
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.