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 28, 2008 4:10:31 AM(UTC)
Mario Cruz

Groups: Registered
Posts: 19


Hi,

 I'm trying to use your toolkit in a
c# project vs2005, but I'm begginer in DirectShow and I'm sure that I don't know to use it correctly.

I expose you my needs;

my project receives 4 to 16 simultaneous UDP MPEG2TS streams,
 it
has to add overlay image, text and timestamp and shows and captures
each stream in localmachine and sends by UDP the new streams with overlay.


I read Multimedia help files and I saw the examples projects,

I tried with AxltmmCaptureCtrl to capture these UDP
MPEG2TS streams, but in its
property VideoDevices only show the local sources, so i don't know how and where i put the UDP Stream like local or remote source.

forgive me for my poor english and thanks in advance,
        Mario Cruz.
 

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 : Tuesday, October 28, 2008 5:48:40 AM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Mario,

The ltmmCapture control will only capture from a video source (e.g. camera or DirectShow source filter).

You can use either the ltmmPlay control to playback the received UPD data on screen, or the ltmmConvert control to save the data to disk.

In both cases, you need to set the SourceFile property of the control to a string that contains the link from which the data is being streams. For details, see the help topics "SourceFile syntax" and "TargetFile syntax".

For example, the string will look like:
ltmmPlay1.SourceFile = "udp://127.0.0.1:1234"
 
#3 Posted : Tuesday, October 28, 2008 8:37:29 PM(UTC)
Mario Cruz

Groups: Registered
Posts: 19


Yasir,

   thank you for your help.

      I have several ltmmPlay to playback the received UDP data and work with overlay filters, but I don't know how to save them to disk with that control, I will try with ltmmConvert.

     Anyway, with the overlay inserted, i have to save to disk the UDP streams and send them by UDP to another machine, too.
    How do i configure the ltmmConvert TargetFile with UDP direction where i have to send these mpeg2? Adding a custom targetFormat, targetFile or  targetStream?


   thank you again, 
                           Mario
 
#4 Posted : Wednesday, October 29, 2008 12:59:55 AM(UTC)
Mario Cruz

Groups: Registered
Posts: 19


Yasir,

  Sorry,  I've tried to edit my last post, but the time to edit it is expired.

   With your help, Now I can save UDP data to disk or re-send by UDP with ltmmConvert.targetFile property, but i need that ltmmconvert do the two tasks, (save data and send by UDP).
 
  How do i create several targetFile property in ltmmConvert?? If it's not be able, which component i have to use??


  Thank you for your help,
                                      Mario


 

 
#5 Posted : Wednesday, October 29, 2008 5:14:20 AM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I think you can achieve this by using 2 ltmmConvert controls:
1. The first one will re-send the data to UDP.
2. The second one will capture the output of the first control and save it to a file on disk.
 
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.059 seconds.