how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
--------------------------------------------------------------------------------
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow
Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- From: JobsGuo(Guo Huayong) To: Ryan Yan ; h323plus Sent: Friday, November 28, 2008 12:59 Subject: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
------------------------------------------------------------------------------
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
------------------------------------------------------------------------------
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Thanks for all your help. Yes,I install directx sdk 9.0c. maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.
I also try to modify the config.c to :
dnl MSWIN_DISPLAY dsound,Direct Sound Support dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1 dnl MSWIN_DISPLAY dshow, Direct Show Support dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1 dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
Although when I compile it with Visual studio c++2003,it output "Direct Show Support", at fact,when I compile the myphone2, I find it donot support.
Thanks again. 2008-11-28
JobsGuo(Guo Huayong)
发件人: Nyamul Hassan 发送时间: 2008-11-28 19:07:42 收件人: h323plus 抄送: 主题: Re: [h323plus] how to support directshow
Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- From: JobsGuo(Guo Huayong) To: Ryan Yan ; h323plus Sent: Friday, November 28, 2008 12:59 Subject: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Searching in the source of PWLib and on comments on the internet, I discourage the use of DirectSound for now...
No DirectShow code yet on sources and DirectShow being replaced by DXVA
(DirectX Video Acceleration)
DirectSound being replace by XNA Audio: XACT2 (Cross Audio Creation Tool
2)
Windows Vista and .Net 3.5 (WDDM drivers) fallback to software mixer
until specific accelarated drivers are made by vendors
Installing 2Gb of DirectX old SDK (today is november_dx10 SDK, dx11 preview) only to have access to sound is a pain....
Other thing: adding the Error String header or Util header to the production code implies in redistribute of the dx#.dll. It is a back of the DLL Hell pain because each year 2 or 3 versions of SDK are made, many versions of dx#.dll are avaible (four versions -or more- for DX9SDK, for example fev., ago., oct., nov.)
PS.: Now I remembered, really the source for PWLib can be the h323plus site, no CVS repository for that.
2008/11/28 JobsGuo(Guo Huayong) ghyhust@126.com
Thanks for all your help. Yes,I install directx sdk 9.0c. maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.
I also try to modify the config.c to :
dnl MSWIN_DISPLAY dsound,Direct Sound Support dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1 dnl MSWIN_DISPLAY dshow, Direct Show Support dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1 dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
Although when I compile it with Visual studio c++2003,it output "Direct Show Support", at fact,when I compile the myphone2, I find it donot support.
Thanks again. 2008-11-28
JobsGuo(Guo Huayong)
*发件人:* Nyamul Hassan *发送时间:* 2008-11-28 19:07:42 *收件人:* h323plus *抄送:* *主题:* Re: [h323plus] how to support directshow Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- *From:* JobsGuo(Guo Huayong) ghyhust@126.com *To:* Ryan Yan yanrongrong1983@msn.com ; h323plush323plus@lists.packetizer.com *Sent:* Friday, November 28, 2008 12:59 *Subject:* Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
*发件人:* Ryan Yan *发送时间:* 2008-11-28 14:32:18 *收件人:* JobsGuo(Guo Huayong); h323plus *抄送:* *主题:* Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too[image: 微笑 图释]
Good luck, Ryan
*From:* JobsGuo(Guo Huayong) ghyhust@126.com *Sent:* Friday, November 28, 2008 1:56 PM *To:* h323plus h323plus@lists.packetizer.com *Subject:* [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Dear JobsGuo,
My work PC still use old pwlib and openh323, I will find more useful info later at home.
Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 2:59 PM To: Ryan Yan ; h323plus Subject: Re: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
--------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
--------------------------------------------------------------------------------
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
--------------------------------------------------------------------------------
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Hi Guo If you are using Visual Studio 2008, almost all libs are avaible for DirectShow. Only the Null Output Video Sink, necessary for proper work of Video Sampler Grabber, need some trick to work, the trick is copy the content of the header file of Null Video to a new file and remove the COM interfaces of DirectX9 surfaces, these interfaces need another headers that only avaible on DirectX SDK.
You are able to find these tricks on CodeGuru site, searching for "Video Capture"
This way saves one or two gigabytes of DirectX SDK.
"...I indeed install directx 9.0c.so it can ..." :: '.so'? you are
using cygwin or something like it?
Other hint: ptbuildopts.h is generated by config application, sometimes config.in file need some attention to see if a positive search rule is not overlapping a negative rule. Other times you need to 'force' the config application passing hints to it like:
--enable-ipv6 or --disable-ssh
Again, see config.in for the rules they are using.
If you manage to compile your code after some modification, dont forget to send back to this list ;)
regards.
----- Jogue RPG, alimente o lado criativo!
Dear JobsGuo,
I have checked my home PC, I found the same problem as you said. (Only DirectSound support, No DirectShow support)
I think that's caused by the configure.exe program given by ptlib.
By the way, in my experience, ptlib is most useful for platform independent. DirectX is only a feature for Windows (actually, windows for PC), I don't suggest you to use such feature. If you need to use DirectX, you can use it in your application level, that's the better solution.
FYI and wish you good luck!
Best regards, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 7:37 PM To: Nyamul Hassan ; h323plus Subject: Re: [h323plus] how to support directshow
Thanks for all your help. Yes,I install directx sdk 9.0c. maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.
I also try to modify the config.c to :
dnl MSWIN_DISPLAY dsound,Direct Sound Support dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1 dnl MSWIN_DISPLAY dshow, Direct Show Support dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1 dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
Although when I compile it with Visual studio c++2003,it output "Direct Show Support", at fact,when I compile the myphone2, I find it donot support.
Thanks again. 2008-11-28
--------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
--------------------------------------------------------------------------------
发件人: Nyamul Hassan 发送时间: 2008-11-28 19:07:42 收件人: h323plus 抄送: 主题: Re: [h323plus] how to support directshow Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- From: JobsGuo(Guo Huayong) To: Ryan Yan ; h323plus Sent: Friday, November 28, 2008 12:59 Subject: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
------------------------------------------------------------------------------
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
------------------------------------------------------------------------------
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Ryan: But only support it in ptlib,then I can Enumerate the video device Automaticly.or else I will load the device list manually. firstly,I just want to compile it with dshow support.conside other platofrm in the future. Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan 发送时间: 2008-11-28 21:18:15 收件人: JobsGuo(Guo Huayong); Nyamul Hassan; h323plus 抄送: 主题: Re: [h323plus] how to support directshow
Dear JobsGuo,
I have checked my home PC, I found the same problem as you said. (Only DirectSound support, No DirectShow support)
I think that's caused by the configure.exe program given by ptlib.
By the way, in my experience, ptlib is most useful for platform independent. DirectX is only a feature for Windows (actually, windows for PC), I don't suggest you to use such feature. If you need to use DirectX, you can use it in your application level, that's the better solution.
FYI and wish you good luck!
Best regards, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 7:37 PM To: Nyamul Hassan ; h323plus Subject: Re: [h323plus] how to support directshow
Thanks for all your help. Yes,I install directx sdk 9.0c. maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.
I also try to modify the config.c to :
dnl MSWIN_DISPLAY dsound,Direct Sound Support dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1 dnl MSWIN_DISPLAY dshow, Direct Show Support dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1 dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
Although when I compile it with Visual studio c++2003,it output "Direct Show Support", at fact,when I compile the myphone2, I find it donot support.
Thanks again. 2008-11-28
JobsGuo(Guo Huayong)
发件人: Nyamul Hassan 发送时间: 2008-11-28 19:07:42 收件人: h323plus 抄送: 主题: Re: [h323plus] how to support directshow Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- From: JobsGuo(Guo Huayong) To: Ryan Yan ; h323plus Sent: Friday, November 28, 2008 12:59 Subject: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Hi,All, I try to modify the myphone2 to support file transfer.the code below:
=========================================== H323ChannelNumber num; BOOL b = m_endpoint.OpenFileTransferSession(m_token,num); if (!b) return; ======================================== but always return false,because in BOOL H323Connection::OpenFileTransferSession(H323ChannelNumber & num) I can not find the related capability.
who can help me?thanks. Besides: Did the h323plus have implemented the file transfer?
Thanks.
2008-12-10
JobsGuo(Guo Huayong)
发件人: JobsGuo(Guo Huayong) 发送时间: 2008-11-28 21:32:58 收件人: Ryan Yan; Nyamul Hassan; h323plus 抄送: 主题: Re: Re: [h323plus] how to support directshow
Ryan: But only support it in ptlib,then I can Enumerate the video device Automaticly.or else I will load the device list manually. firstly,I just want to compile it with dshow support.conside other platofrm in the future. Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan 发送时间: 2008-11-28 21:18:15 收件人: JobsGuo(Guo Huayong); Nyamul Hassan; h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
I have checked my home PC, I found the same problem as you said. (Only DirectSound support, No DirectShow support)
I think that's caused by the configure.exe program given by ptlib.
By the way, in my experience, ptlib is most useful for platform independent. DirectX is only a feature for Windows (actually, windows for PC), I don't suggest you to use such feature. If you need to use DirectX, you can use it in your application level, that's the better solution.
FYI and wish you good luck!
Best regards, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 7:37 PM To: Nyamul Hassan ; h323plus Subject: Re: [h323plus] how to support directshow
Thanks for all your help. Yes,I install directx sdk 9.0c. maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.
I also try to modify the config.c to :
dnl MSWIN_DISPLAY dsound,Direct Sound Support dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1 dnl MSWIN_DISPLAY dshow, Direct Show Support dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1 dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
Although when I compile it with Visual studio c++2003,it output "Direct Show Support", at fact,when I compile the myphone2, I find it donot support.
Thanks again. 2008-11-28
JobsGuo(Guo Huayong)
发件人: Nyamul Hassan 发送时间: 2008-11-28 19:07:42 收件人: h323plus 抄送: 主题: Re: [h323plus] how to support directshow Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- From: JobsGuo(Guo Huayong) To: Ryan Yan ; h323plus Sent: Friday, November 28, 2008 12:59 Subject: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
Guo,
I see what do you want.
Actually, I implemented a class named CVideoInputDevice(use VFW) and override CVideoChannel to do video device enumerate and use.
If you need, I can give it to you for reference.
Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 9:33 PM To: Ryan Yan ; Nyamul Hassan ; h323plus Subject: Re: Re: [h323plus] how to support directshow
Ryan: But only support it in ptlib,then I can Enumerate the video device Automaticly.or else I will load the device list manually. firstly,I just want to compile it with dshow support.conside other platofrm in the future. Thanks again.
2008-11-28
--------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
--------------------------------------------------------------------------------
发件人: Ryan Yan 发送时间: 2008-11-28 21:18:15 收件人: JobsGuo(Guo Huayong); Nyamul Hassan; h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
I have checked my home PC, I found the same problem as you said. (Only DirectSound support, No DirectShow support)
I think that's caused by the configure.exe program given by ptlib.
By the way, in my experience, ptlib is most useful for platform independent. DirectX is only a feature for Windows (actually, windows for PC), I don't suggest you to use such feature. If you need to use DirectX, you can use it in your application level, that's the better solution.
FYI and wish you good luck!
Best regards, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 7:37 PM To: Nyamul Hassan ; h323plus Subject: Re: [h323plus] how to support directshow
Thanks for all your help. Yes,I install directx sdk 9.0c. maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.
I also try to modify the config.c to :
dnl MSWIN_DISPLAY dsound,Direct Sound Support dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1 dnl MSWIN_DISPLAY dshow, Direct Show Support dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1 dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
Although when I compile it with Visual studio c++2003,it output "Direct Show Support", at fact,when I compile the myphone2, I find it donot support.
Thanks again. 2008-11-28
--------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
--------------------------------------------------------------------------------
发件人: Nyamul Hassan 发送时间: 2008-11-28 19:07:42 收件人: h323plus 抄送: 主题: Re: [h323plus] how to support directshow Hi,
As Ryan said, you need DIRECT X SDK, not DirectX9.0c
Regards HASSAN
----- Original Message ----- From: JobsGuo(Guo Huayong) To: Ryan Yan ; h323plus Sent: Friday, November 28, 2008 12:59 Subject: Re: [h323plus] how to support directshow
Hi,Dear Ryan: It is very exit to received an chinese friends reply. Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c. At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c, it is same as the last time. I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h. I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code. At last,Do you sure it support dshow just install directx9 without any other set? Thanks again.
2008-11-28
------------------------------------------------------------------------------
JobsGuo(Guo Huayong)
------------------------------------------------------------------------------
发件人: Ryan Yan 发送时间: 2008-11-28 14:32:18 收件人: JobsGuo(Guo Huayong); h323plus 抄送: 主题: Re: [h323plus] how to support directshow Dear JobsGuo,
Please double check if you have installed all the parts of DirectX 9.0 SDK.
I can find dshow.h in \DXSDK\include\
If you have any other problem, you can contact me.
You are Chinese too
Good luck, Ryan
From: JobsGuo(Guo Huayong) Sent: Friday, November 28, 2008 1:56 PM To: h323plus Subject: [h323plus] how to support directshow
Hi,all. when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below:
///////////////////////////////////////////////// // // DirectX Support (Windows only) //
#ifndef _WIN32_WCE #define P_DIRECTSOUND 1 #undef P_DIRECTSHOW #undef P_VFW_CAPTURE #endif
So I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file. but why it can not find the directshow? Besides,I also can not find the dshow.h. Who can help me ?thanks!
2008-11-28
------------------------------------------------------------------------------
JobsGuo(Guo Huayong) Mobile:13918103120 QQ : 360480589 MSN : ghyhust@hotmail.com
participants (4)
-
JobsGuo(Guo Huayong)
-
Marcos Fábio Jardini
-
Nyamul Hassan
-
Ryan Yan