[h323plus] enabling DirectShow video input
Simon Horne
s.horne at packetizer.com
Thu Oct 28 08:12:03 EDT 2010
Yes Jan is right. You should be able to compile the h323plus CVS against the
latest PTLIB release.
I am working towards a release in the not too distant future.
Simon
-----Original Message-----
From: h323plus-bounces at lists.packetizer.com
[mailto:h323plus-bounces at lists.packetizer.com] On Behalf Of Jan Willamowius
Sent: Thursday, October 28, 2010 5:06 PM
To: h323plus at lists.packetizer.com
Subject: Re: [h323plus] enabling DirectShow video input
I think it should be noted in general, that the download archives on
h323plus.org are rather old and everybody should use the CVS until there is
a new release.
Regards,
Jan
Simon Horne wrote:
> Alessandro
>
> The factory loader system was changed recently.
> I added this patch for DirectShow2 to load
> http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/trunk/includ
> e/ptli
> b/videoio.h?r1=23242&r2=23325
>
> Simon
>
>
> -----Original Message-----
> From: h323plus-bounces at lists.packetizer.com
> [mailto:h323plus-bounces at lists.packetizer.com] On Behalf Of Alessandro
> Angeli
> Sent: Thursday, October 28, 2010 12:16 PM
> To: h323plus at lists.packetizer.com
> Subject: Re: [h323plus] enabling DirectShow video input
>
> From: "Simon Horne" <s.horne at packetizer.com>
> Date: Wednesday 27 October 2010 21:11
>
> > There are 2 directshow implementations. The original directshow
> > (P_DIRECTSHOW) was dependent on DirectSound being present (which
> > sometimes it is not) and the second directshow2 (P_DIRECTSHOW2) did
> > not. DirectShow2 files should be in the distro but may or may not be
> > loaded in the project (vidinput_directx2.h\.cxx) Check to see in
> > the ptbuildopts.h what has been enabled.
>
> Thanks for your quick reply Simon.
>
> In my case both DirectShow and DirectSound are present and correctly
> found in the Windows SDK 7.1 and they are both enabled and compiled
> without errors.
>
> However, the static initialization code that registers the DirectShow
> service is never executed and, apparently, not even loaded in memory,
> which suggests that it was stripped by the linker, but I can not see
> why (since I can not spot any difference between DirectShow and
> FakeVideo and the latter is registered).
>
> > It appears directshow is not loading because the dependency is not
> > present. Try DirectShow2.
> >
> > The current PTLIB SVN and H323plus CVS now use DirectShow2 by default.
>
> I will download a more recent snapshot of both libs and try them with
> DirectShow2.
>
> --
> Alessandro
>
>
--
Jan Willamowius, jan at willamowius.de, http://www.gnugk.org/
More information about the h323plus
mailing list