Hi simon
I've performed a SVN and CVS yestarday at 10am (gmt -3:00), I think at that time the svn is not yet updated. For my cam the Directshow is working fine, only found an exception in 'hot-switching' resolution. I tested ptlib with Logitech Quickcam Pro 4000, 5000 and Microsoft VX1000. The two fisrt ones accept capture native in BGR24, VYVU and i420 (YUV420P) for resolutions from subQVGA@30, QCIF@30, CIF@30, QVGA@30 and VGA@16
I agree the behaviour is in color conversions. I have the same problems when grabbing the video from PWLib to Java (the old PWLib that don't have dshow support), for Java the color must be fized or converted to BGR32 too (plus little-endian to big-endian)
The strange is the problem is only on openmcu and simpleplus applications, I used and tested all color modes and conversions on VidTest app and all passed.
I'll download the new trunk.
Regards, Eng. Marcos F. Jardini
PS.: I like the Monogram's Blog (http://blog.monogram.sk/janos/) for hints on DShow programming, the guys there have a nice work on ffmpeg/x264 support on dshow filters.
2009/9/3 Simon Horne s.horne@packetizer.com:
Marcos
The error may be a video conversion error coming from the Webcam. The video test program outputs the video at BGR24 where as in the endpoint it is YUV420P. I've done quite a lot of development with directshow and have found the best way to ensure that all webcams work is to force them to always output in BGR24 and then let the PTLIB converter correctly convert BGR24 to YUV420P.
There are quite a number of problems with the directshow implementation in PTLIB. I have just checked into the PTLIB SVN a completely redone directshow implementation (P_DIRECTSHOW2) that fixes a lot of problems and does not rely on ddraw.h (in DirectSound) and also support Camera controls.
Check out the ptlib SVN trunk and SimplePlus CVS and test. MyPhone2 has also been updated.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Marcos Fábio Jardini Sent: Thursday, 3 September 2009 12:17 AM To: h323plus Subject: Re: [h323plus] Compiling H323Plus 1.22 CVS Trunk, Visual Studio 2008
Here is a link for the red-green striped video
http://picasaweb.google.com/lh/photo/mKyxNOFD-o4-Gjbz5XK7cA?feat=directlink
I'll continue to search for any clue about what is the source of the problem, but I remember to say I'm using Windows 7 on 64bit mode.
VidTest from PTLib_samples solution don't show any errors so I think the '64bit' is not the problem. WoW64 of win7 provides a smooth execution of 32bits apps on 64bits OS.
2009/8/26 Simon Horne s.horne@packetizer.com:
Marcos
The Fix for compiling without SSL support (H.460.24A disabled) as been checked into CVS
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Marcos Fábio Jardini Sent: Wednesday, 26 August 2009 5:39 AM To: h323plus Subject: Re: [h323plus] Compiling H323Plus 1.22 CVS Trunk, Visual Studio 2008
****Fix****
The version tested of PTLib trunk is 2.7.1, not 2.6.
2009/8/25 Marcos Fábio Jardini marcos.f.jardini@gmail.com:
Hello people
Reporting back:
- PTLib 2.6 (SVN Trunk): All compile fine and now DirectShow and
Application properly works on projects outside PTLib_samples_2008.sln
- H323Plus 1.22 (CVS Trunk): H46018_h225.h Error
"H46019UDPSocket::GetLocalAddress" makes access to members "m_locAddr" and "m_locPort" but the two members are guarded by macro H323_H46024A and the method not.
Solution (?): put "H46019UDPSocket::GetLocalAddress" under H323_H46024A macro guardian like "[Get/Set]AlternateAddresses" ?
--
Jogue RPG, alimente o lado criativo!
--
Jogue RPG, alimente o lado criativo!
--
Jogue RPG, alimente o lado criativo!