[h323plus] DirectShow support (was Problem with Logitech camera)

Simon Horne s.horne at packetizer.com
Thu Jan 17 16:48:46 EST 2008


Looks like some changes in ptlib and <ptlib/dshow.h> no longer works.

Remove the line and see if the directshow video input device is loaded.
Sometimes (and and for me it didn't automatically load)

If not then add.
#include <ptlib/msos/ptlib/vidinput_directx.h>

which is what <ptlib/dshow.h> should be an alias for

Simon
  -----Original Message-----
  From: h323plus-bounces at lists.packetizer.com [mailto:h323plus-bounces at lists.packetizer.com]On Behalf Of JF NP
  Sent: Friday, January 18, 2008 1:58 AM
  To: h323plus at lists.packetizer.com
  Subject: [h323plus] DirectShow support (was Problem with Logitech camera)


  Hi,

  I've downloaded the latest version of PTLib from SVN and in fact, in configure.ac there is a section about directshow. When I compile PTLib, configure detects DirectShow support and enabled it. But my problem is that when I try to compile Simple or MyPhone2 to make tests, both fail because they have an #include <ptlib/dshow.h>, and there is no such header file. What am I doing wrong? Where can I found that file?

  BR,


  ----- Mensaje original ----
  De: Simon Horne <s.horne at packetizer.com>
  Para: JF NP <jfnp090274 at yahoo.es>
  Enviado: martes, 15 de enero, 2008 23:06:55
  Asunto: RE: [h323plus] Problem with Logitech camera

   
  Br

  Unless there is an section in configure.ac in your version of ptlib for diectshow I would not just define it. Let configure find it if both pwlib version supports it and it get detected. The original version of directshow was only for mingw however it has since been ported to VS and added to the configure.ac to autodetect support.
  ====================
  Simon Horne
  email. s.horne at isvo.net
  Principal Maintainer
  h323plus Library

  Consulting and Contracting
  consulting at h323plus.org.
  ======================== 

    -----Original Message----
    From: h323plus-bounces at lists.packetizer.com [mailto:h323plus-bounces at lists.packetizer.com]On Behalf Of JF NP
    Sent: Wednesday, January 16, 2008 3:33 AM
    To: H323plus
    Subject: Re: [h323plus] Problem with Logitech camera


    Hi,

    Is it possible to have DirectShow enabled on native Windows simply by defining P_DIRECTSHOW in ptbuildopts.h? Is it necessary any other work?

    Br,


    ----- Mensaje original ----
    De: Simon Horne <s.horne at packetizer.com>
    Para: JF NP <jfnp090274 at yahoo.es>
    CC: H323plus <h323plus at lists.packetizer.com>
    Enviado: miércoles, 9 de enero, 2008 19:29:51
    Asunto: RE: [h323plus] Problem with Logitech camera


    I will try and have stable release out within the next couple of weeks.

    Simon

    > -----Original Message-----
    > From: h323plus-bounces at lists.packetizer.com
    > [mailto:h323plus-bounces at lists.packetizer.com]On Behalf Of JF NP
    > Sent: Wednesday, January 09, 2008 11:35 PM
    > To: H323plus
    > Subject: Re: [h323plus] Problem with Logitech camera
    >
    >
    > Hi, Simon:
    >
    > Do you know when will the next version (with
    > DirectShow support) be released?
    >
    > BR,
    >
    > --- Simon Horne <s.horne at packetizer.com> escribió:
    >
    > >
    > > JP
    > >
    > > The problem is that not all windows webcams are
    > > supported with the existing
    > > VideoForWindows. Directshow fixes that unfortunately
    > > for pwlib 1.12 it is
    > > only available with mingw compilations for windows.
    > > I have checked a bit of
    > > work to allow it to be compiled with Visual Studio
    > > however that is in PTLib.
    > > Once we migrate to PTlib and release the stable
    > > version of h323plus the
    > > problem should be rectified.
    > >
    > > Simon
    > >
    > > > -----Original Message-----
    > > > From: h323plus-bounces at lists.packetizer.com
    > > > [mailto:h323plus-bounces at lists.packetizer.com]On
    > > Behalf Of JF NP
    > > > Sent: Wednesday, January 09, 2008 8:00 PM
    > > > To: h323plus at lists.packetizer.com
    > > > Subject: [h323plus] Problem with Logitech camera
    > > >
    > > >
    > > > Hi,
    > > >
    > > > I have a Logitech Communicate STX webcam, but I
    > > cannot
    > > > make it work with h323plus. I've attached a trace
    > > from
    > > > vidtest. Could anybody help me?
    > > > My computer runs Windows XP SP 2 (Spanish).
    > > >
    > > > Thanks in advance,
    > > >
    > > >
    > > >
    > > > ______________________________________________
    > > > Web Revelación Yahoo! 2007:
    > > > Premio Favorita del Público.
    > > >
    > >
    > http://es.promotions.yahoo.com/revelacion2007/favoritos/
    > >
    > >
    >
    >
    >
    >
    > ______________________________________________
    > Web Revelación Yahoo! 2007:
    > Premio Favorita del Público.
    > http://es.promotions.yahoo.com/revelacion2007/favoritos/






----------------------------------------------------------------------------

    Web Revelación Yahoo! 2007:
    Premio Favorita del Público - ¡Vota tu preferida!




------------------------------------------------------------------------------

  Web Revelación Yahoo! 2007:
  Premio Favorita del Público - ¡Vota tu preferida!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20080118/c09073d0/attachment.htm>


More information about the h323plus mailing list