This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, January 17, 2006 9:25:21 AM(UTC)
Groups: Registered
Posts: 3
Looking for documentation, source examples, or direction on which api's to use to do the following: I'm using the full imaging developer toolkits ( multimedia LE ver.13 ).
1) Access a live video stream before decompression so that I can make a copy of the stream? One stream goes over the internet the other gets displayed.
2) Assign a third party codec to be used for decompression of video?
3) Assign a specific device to be used for video capture? Not sure about this one, maybe just enumerate all devices first and then select the device as the sample code does?
Most curious to find out about the first question. Thanks in advance.
newb
#2
Posted
:
Thursday, January 19, 2006 4:30:04 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Hi Newb,
1) The SDK does not provide a direct way to do this. Try saving
the captured stream and set the ltmmCaptureCtrl.TargetFormat property
to Const ltmmCapture_TargetFormat_NET. This will transmit the
stream over a TCP/IP connection using the LEAD network modules. The
transmitted stream can be received by a player object with the source
file set to the server address. Also, to view the stream you can
simply enable the preview. Will this do?
2) Call ltmmCaptureCtrl1.VideoCompressors.Find to get the index of the
codec you want to use, then assign this index to the
ltmmCaptureCtrl1.VideoCompressors.Selection
3) Call ltmmCaptureCtrl.VideoDevices.Find to ge the index of the
specified device, then seeign the index to
ltmmCaptureCtrl.VideoDevices.Selection.
#3
Posted
:
Thursday, January 19, 2006 7:49:14 AM(UTC)
Groups: Registered
Posts: 3
Thanks for your help! I'm going to be handling the communications myself. I'm going to try saving the capture to a file. From there I'm hoping i can create a memory source out of the file and send that over the wire. At the same time I hope I can play the file for viewing and continue saving the capture to it. In about a month from now I'll be giving this a shot unless someone has a better suggestion.
newb
#4
Posted
:
Friday, January 20, 2006 11:06:58 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If you would like to save the captured video without any modifying of the stream, you can set ltmmCaptureCtrl.TargetFormat Property = ltmmCapture_TargetFormat_Stream. This will write the frames directly to file as they come from the device.
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.