how send video frame via socket in c#? RRS feed

  • Question

  • I am working with video and I want <g class="gr_ gr_60 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="60" id="60">program</g> to send <g class="gr_ gr_64 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="64" id="64">myvideo</g> over <g class="gr_ gr_132 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="132" id="132">socket</g> in the same computer

    Thursday, February 21, 2019 6:58 PM

All replies

  • Well, how much have you done?  There are many thousands of simple C# socket examples app on the Internet.  How are you processing the video?  As long as you have a way to fetch the individual frames, it's just a matter of writing the bytes to the socket.

    The clever solution would be to write a simple DirectShow renderer filter and have it be part of your filter graph.  That renderer can then do whatever it wants to with the individual frames.

    Tim Roberts | Driver MVP Emeritus | Providenza &amp; Boekelheide, Inc.

    Friday, February 22, 2019 1:23 AM
  • Hi huda-najeed,

    Thank you for posting here.

    Please provide details with your question. The code would be helpful.

    You could refer to the link below.


    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 22, 2019 3:06 AM