Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: MPEG2 UDP transport source/sink modules callback?
Started by Mario Cruz at 10-28-2008 9:19. Topic has 6 replies.

Print Search « Previous Thread Next Thread »
  10-28-2008, 9:19
Mario Cruz is not online. Last active: 11/6/2008 6:46:09 AM Mario Cruz

Top 150 Posts
Joined on 10-27-2008
Posts 18
MPEG2 UDP transport source/sink modules callback?
Reply Quote
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.

In MPEG2 UDP transport source/sink  modules, is there any event about the state of UDP transport, for instance, what happens if a UDP source stream finish, i have a callback notification or something like this??

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

   Report 
  10-28-2008, 10:17
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,364
Re: MPEG2 UDP transport source/sink modules callback?
Reply Quote
You can use the LEAD MPEG2 Transport Demultiplexer and check the IsStreaming property of the ILMMpgDmx Interface.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  10-29-2008, 1:07
Mario Cruz is not online. Last active: 11/6/2008 6:46:09 AM Mario Cruz

Top 150 Posts
Joined on 10-27-2008
Posts 18
Re: MPEG2 UDP transport source/sink modules callback?
Reply Quote
Adnan,

    thank you for your help,.

   Report 
  11-11-2008, 1:31
Mario Cruz is not online. Last active: 11/6/2008 6:46:09 AM Mario Cruz

Top 150 Posts
Joined on 10-27-2008
Posts 18
Re: MPEG2 UDP transport source/sink modules callback?
Reply Quote
Adnan,

  I've checked your solution with ILMMpgDmx Interface and its property IsStreaming is always true when you receive UDP stream but it doesn't change its value to false when UDP stream stops.

Maybe, Video callback filter??


 Thanks,
         Mario


   Report 
  11-11-2008, 9:16
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,364
Re: MPEG2 UDP transport source/sink modules callback?
Reply Quote
The "IsStreaming" property can be false when you are playing a file and it does not indicate that the streaming has ended.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  11-12-2008, 8:06
Mario Cruz is not online. Last active: 11/6/2008 6:46:09 AM Mario Cruz

Top 150 Posts
Joined on 10-27-2008
Posts 18
Re: MPEG2 UDP transport source/sink modules callback?
Reply Quote
Adnan ,


 I try to check it again, but in my tests when UDP stream stopped, IsStreaming property didn't change....before that UDP Stream starts its value is false, changes to true value when receives UDP stream, but doesn't change when UDP Stream finish.

 Anyway, I can check it again.


Regards,
           Mario

   Report 
  11-12-2008, 11:36
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,364
Re: MPEG2 UDP transport source/sink modules callback?
Reply Quote
The IsStreaming property is not used to indicate that the stream has stopped. It only tells you whether the playback was from file or streaming data.

If you are using our LMNetConnection Object, you can use the ILMNetConnection::IsConnected method to check the connection status.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Multimedia » Re: MPEG2 UDP transport source/sink modules callback?

Powered by Community Server, by Telligent Systems