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, January 17, 2006 9:30:21 AM(UTC)

newb  
newb

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

 

 

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 : Thursday, January 19, 2006 4:35:04 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,040

Was thanked: 1 time(s) in 1 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:54:14 AM(UTC)

newb  
newb

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:11:58 AM(UTC)

Otis  
Guest

Groups: Guests
Posts: 3,040

Was thanked: 1 time(s) in 1 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.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.166 seconds.