Thread: DirectShow knowledge, anyone ?

  1. #1
    Chinese pâté foxman's Avatar
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    404

    DirectShow knowledge, anyone ?

    Hi,

    I would like to write a "simple" client-server application capable of streaming a live video feed on the network. The server side of the application would capture video coming from a webcam-style camera, encode it (if it's not already encoded "suitably") and stream it on the network at a specified end point. The client would receive the stream from the network, decode it and display it on the screen.

    So, since it's targeted for Windows OS only, I'm wondering if it's possible to do this with DirectShow, before going deeper in the DirectShow documentation. Can it does this "natively" ? Will I have to implement filters or are they already available ? Is there more suited tool I should use ?

    Thanks
    I hate real numbers.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    DirectShow should be able to do this for you.
    You may need additional filters for encoding (and possibly decoding).
    Video capture should be available as a filter.

    You can actually try it before you code it using GraphEdit. It's a very handy tool.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    The simple answer is yes. The not so simple answer is it wont be easy, although it is pretty straight forward. Ive done this sort of thing before.

  4. #4
    Chinese pâté foxman's Avatar
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    404
    Alright, thanks. DirectShow, I'm coming!
    I hate real numbers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Debugging DirectShow
    By Elysia in forum Windows Programming
    Replies: 0
    Last Post: 10-28-2007, 11:01 AM
  2. DirectShow NEWBIE Tutorial Request
    By WaterNut in forum C++ Programming
    Replies: 4
    Last Post: 07-23-2006, 10:26 PM
  3. DirectShow code - long night of coding
    By VirtualAce in forum Game Programming
    Replies: 2
    Last Post: 03-27-2006, 10:50 AM
  4. DirectShow tutorial in C or C++
    By BobS0327 in forum Windows Programming
    Replies: 0
    Last Post: 10-23-2005, 12:15 PM
  5. C++ Knowledge Needed For Making Graphic Games?
    By Krak in forum C++ Programming
    Replies: 14
    Last Post: 07-11-2003, 09:11 PM