This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, June 10, 2008 6:17:01 AM(UTC)
Groups: Registered
Posts: 3
I would like to be able to capture video to file while streaming video on the server side (the same functionality that the client has in the video conferencing demo to "record"). On the client side you can use the LEAD Network Demultiplexer to easily record to file, but I have been unable to figure out how to do so on the server side.
<br /><br />
I read through the sample using the LEAD Video Callback Filter (2.0) to grab a Bitmaps of each frame from <a HREF="/SupportPortal/cs/forums/21234/ShowPost.aspx">this post</a>
<br /><br />
I also saw that you can get a hold of the filter graph. Perhaps the the network multiplexer can have more than one output?
<br /><br />
So is there an easy way to record when using the capture control that is streaming?
#2
Posted
:
Tuesday, June 10, 2008 10:58:07 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You need to have 2 controls, one Convert and the other Capture. The Capture control streams the video being captured, and the Convert control writes to file. The Convert controls gets the input from the stream from the Capture control.
Example:
// This one streams
ltmmCaptureCtrl1.TargetFile = "udp://127.0.0.1:27015"
// This one writes to a file on the disk.
ltmmConvertCtrl.SourceFile = "udp://127.0.0.1:27015"
ltmmConvertCtrl.TargetFile = "myVideo.mpg"
#3
Posted
:
Tuesday, June 10, 2008 11:38:26 AM(UTC)
Groups: Registered
Posts: 3
Thanks for the reply. I will give that a try.
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.