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@packetizer.com Para: JF NP jfnp090274@yahoo.es Enviado: martes, 15 de enero, 2008 23:06:55 Asunto: RE: [h323plus] Problem with Logitech camera
DIV { MARGIN:0px;}
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@isvo.net Principal Maintainer h323plus Library
Consulting and Contracting consulting@h323plus.org. ========================
-----Original Message---- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@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@packetizer.com Para: JF NP jfnp090274@yahoo.es CC: H323plus h323plus@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@lists.packetizer.com
[mailto:h323plus-bounces@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@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@lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com]On
Behalf Of JF NP
Sent: Wednesday, January 09, 2008 8:00
PM
To: h323plus@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.
______________________________________________
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. http://es.promotions.yahoo.com/revelacion2007/favoritos/
That's part of the directx sdk.
On Thu, 2008-01-17 at 15:57 +0000, JF NP wrote:
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@packetizer.com Para: JF NP jfnp090274@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@isvo.net Principal Maintainer h323plus Library
Consulting and Contracting consulting@h323plus.org. ========================
-----Original Message---- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@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@packetizer.com> Para: JF NP <jfnp090274@yahoo.es> CC: H323plus <h323plus@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@lists.packetizer.com > [mailto:h323plus-bounces@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@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@lists.packetizer.com > > > [mailto:h323plus-bounces@lists.packetizer.com]On > > Behalf Of JF NP > > > Sent: Wednesday, January 09, 2008 8:00 PM > > > To: h323plus@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!
Sorry, only if you are using the "old" directx is dshow.h part of directx. It's now part of the platform SDK. In either case, your configuration isn't made properly.
Things I've done wrong to get similar messages: Didn't clean ptlib / pwlib. Didn't point compiler to the proper directories (when I have multiple versions).
On Thu, 2008-01-17 at 14:15 -0500, Steve Letter wrote:
That's part of the directx sdk.
On Thu, 2008-01-17 at 15:57 +0000, JF NP wrote:
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@packetizer.com Para: JF NP jfnp090274@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@isvo.net Principal Maintainer h323plus Library
Consulting and Contracting consulting@h323plus.org. ========================
-----Original Message---- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@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@packetizer.com> Para: JF NP <jfnp090274@yahoo.es> CC: H323plus <h323plus@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@lists.packetizer.com > [mailto:h323plus-bounces@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@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@lists.packetizer.com > > > [mailto:h323plus-bounces@lists.packetizer.com]On > > Behalf Of JF NP > > > Sent: Wednesday, January 09, 2008 8:00 PM > > > To: h323plus@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!
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@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF NP Sent: Friday, January 18, 2008 1:58 AM To: h323plus@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@packetizer.com Para: JF NP jfnp090274@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@isvo.net Principal Maintainer h323plus Library
Consulting and Contracting consulting@h323plus.org. ========================
-----Original Message---- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@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@packetizer.com Para: JF NP jfnp090274@yahoo.es CC: H323plus h323plus@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@lists.packetizer.com > [mailto:h323plus-bounces@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@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@lists.packetizer.com > > > [mailto:h323plus-bounces@lists.packetizer.com]On > > Behalf Of JF NP > > > Sent: Wednesday, January 09, 2008 8:00 PM > > > To: h323plus@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!
Hi, Simon:
First of all, thank you for your help. I summarize my current status as follows:
1. If I download the latest version of PTLIb from SVN, builds fine (i suppose that has DirectShow support enabled for Windows native), But when I try to compile H323PLus (either the official release or the one from CVS) it gives me compile errors. 2. If I get the official release of PTLib (with support for DirectShow only for MINGW), but "patched" with the configure.ac file from the SVN, it compiles and detects and enables DirectShow. I can also compile both H323PLus (official) and Simple and MyPhone2. I've also added the vidinput_directx.* to the PTLib Static project, because they are not included by default. And also, I've removed some __MINGW__ defines to allow the DirectShow code to run in Windows native. All of this seems to work fine. But when MyPhone2 or Simple tried to open the Input Device, they cannot do it because in the method PPluginManager::GetPluginsDeviceNames(), the line PDevicePluginServiceDescriptor * descr =
(PDevicePluginServiceDescriptor *)GetServiceDescriptor(serviceName, serviceType); always return NULL. It seems that I have to do something more in order to register the DirectShow video input device driver. doesn´t it?
I know that all of this problems are due to my "hacking" of the PTLib code to "force" DirectShow support in Windows native. You said in a previous message that you planned to release an official version of PTLib with DirectShow support in Windows native "in a couple of weeks". Do you think that is better for me to wait for this official release? Are you close to release that version?
BTW, I've managed to "fix" the CVideoOutputDevice in MyPhone2 using code from PVideoOutputDevice_Window. It works fine in CIF and QCIF, but I have to fix the "PinP mode" for local video when using CIF. How could I contribute this fix?
Best retgards,
--- Simon Horne s.horne@packetizer.com escribió:
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@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF NP Sent: Friday, January 18, 2008 1:58 AM To: h323plus@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@packetizer.com Para: JF NP jfnp090274@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@isvo.net Principal Maintainer h323plus Library
Consulting and Contracting consulting@h323plus.org. ========================
-----Original Message---- From: h323plus-bounces@lists.packetizer.com
[mailto:h323plus-bounces@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@packetizer.com> Para: JF NP <jfnp090274@yahoo.es> CC: H323plus <h323plus@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@lists.packetizer.com >
[mailto:h323plus-bounces@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@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@lists.packetizer.com > > > [mailto:h323plus-bounces@lists.packetizer.com]On > > Behalf Of JF NP > > > Sent: Wednesday, January 09, 2008 8:00 PM > > > To: h323plus@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!
=== message truncated ===
______________________________________________ Web Revelación Yahoo! 2007: Premio Favorita del Público. http://es.promotions.yahoo.com/revelacion2007/favoritos/
JF
We will be upgrading both h323plus and GnuGk after the next stable release of both projects h323plus (v1.20) GnuGk (v2.2.7).
I managed to do some porting of the directshow code to windows a while back but I understand more support for it has been added to the more recent ptlib releases and that should be the code to work off. Sorry I guess at this time you are on your own until we can catch up with ptlib.
If you just send me your version of CVideoOutputDevice privately I will merge it with the CVS (and fix the PnP issue) and do a stable release of MyPhone2 with h323plus.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF NP Sent: Friday, January 18, 2008 8:31 PM To: h323plus@lists.packetizer.com Subject: Re: [h323plus] DirectShow support (was Problem with Logitech camera)
Hi, Simon:
First of all, thank you for your help. I summarize my current status as follows:
- If I download the latest version of PTLIb from SVN,
builds fine (i suppose that has DirectShow support enabled for Windows native), But when I try to compile H323PLus (either the official release or the one from CVS) it gives me compile errors. 2. If I get the official release of PTLib (with support for DirectShow only for MINGW), but "patched" with the configure.ac file from the SVN, it compiles and detects and enables DirectShow. I can also compile both H323PLus (official) and Simple and MyPhone2. I've also added the vidinput_directx.* to the PTLib Static project, because they are not included by default. And also, I've removed some __MINGW__ defines to allow the DirectShow code to run in Windows native. All of this seems to work fine. But when MyPhone2 or Simple tried to open the Input Device, they cannot do it because in the method PPluginManager::GetPluginsDeviceNames(), the line PDevicePluginServiceDescriptor * descr =
(PDevicePluginServiceDescriptor *)GetServiceDescriptor(serviceName, serviceType); always return NULL. It seems that I have to do something more in order to register the DirectShow video input device driver. doesn´t it?
I know that all of this problems are due to my "hacking" of the PTLib code to "force" DirectShow support in Windows native. You said in a previous message that you planned to release an official version of PTLib with DirectShow support in Windows native "in a couple of weeks". Do you think that is better for me to wait for this official release? Are you close to release that version?
BTW, I've managed to "fix" the CVideoOutputDevice in MyPhone2 using code from PVideoOutputDevice_Window. It works fine in CIF and QCIF, but I have to fix the "PinP mode" for local video when using CIF. How could I contribute this fix?
Best retgards,
--- Simon Horne s.horne@packetizer.com escribió:
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@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF NP Sent: Friday, January 18, 2008 1:58 AM To: h323plus@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@packetizer.com Para: JF NP jfnp090274@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@isvo.net Principal Maintainer h323plus Library
Consulting and Contracting consulting@h323plus.org. ========================
-----Original Message---- From: h323plus-bounces@lists.packetizer.com
[mailto:h323plus-bounces@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@packetizer.com> Para: JF NP <jfnp090274@yahoo.es> CC: H323plus <h323plus@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@lists.packetizer.com >
[mailto:h323plus-bounces@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@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@lists.packetizer.com > > > [mailto:h323plus-bounces@lists.packetizer.com]On > > Behalf Of JF NP > > > Sent: Wednesday, January 09, 2008 8:00 PM > > > To: h323plus@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!
=== message truncated ===
Web Revelación Yahoo! 2007: Premio Favorita del Público. http://es.promotions.yahoo.com/revelacion2007/favoritos/
participants (3)
-
JF NP
-
Simon Horne
-
Steve Letter