Hi: i download h323plus1.24 and ptlib 2.10.1 and application 1.23.0 on http://www.h323plus.org/source/. i use vs2008 compile,all ok. i compile h323plus video plugin,it create libx264-129.dll and h264_x264_ptplugin.dll. next,i use application compile myphone2 sample.i create c:\ptlib_plugin, and copy avcodec-54.dll avutil-51.dll h264_x264_ptplugin.dll,libx264-129.dll to the folder.and set PWLIBPLUGINDIR=c:\ptlib_plugin environment http://www.baidu.com/s?wd=environment&f=12&rsp=0&oq=enviroment&ie=utf-8 . i alreday change myphone code to CMyPhoneEndPoint::VideoInputDriver = "DirectShow",myphone video device enable show my computer video capture card. but i execute myphone.exe,it audio is work ok.but video codec is null,video not send and receive. why? use myphone -tttt,myphone_trc.txt is
MyPhone Capability Table: Table: G.711-uLaw-64k <2> G.711-ALaw-64k <1> UserInput/hookflash <3> UserInput/basicString <4> UserInput/dtmf <5> UserInput/RFC2833 <6> UserInput/Navigation <7> UserInput/Softkey <8> UserInput/PointDevice <9> UserInput/Modal <10> Set: 0: 0: G.711-uLaw-64k <2> G.711-ALaw-64k <1> 1: UserInput/hookflash <3> UserInput/basicString <4> UserInput/dtmf <5> UserInput/RFC2833 <6> UserInput/Navigation <7> UserInput/Softkey <8> UserInput/PointDevice <9> UserInput/Modal <10>
it not contain video codec.please help.thanks.
Sorry for the delay in replying. I have been travelling. I would guess you are missing avcore-0.dll from FFMPEG.
Here is a quick tutorial on debugging codecs. Use Simple
Enable this code at the start of SimpleH323Endpoint::initialise(). PDirectory DefaultDir = PProcess::Current().GetFile().GetDirectory(); PPluginManager & pluginMgr = PPluginManager::GetPluginManager(); pluginMgr.LoadPluginDirectory(DefaultDir);
Start simple with trace level 5 (-ttttt -o<filenane>.txt). This will output the plugin directory search and initialisation code and indicate whether the plugin xxx_ptplugin.dll is found and perhaps why the codec is not loaded.
If it is found but nothing is loading create an environment variable PTLIB_TRACE_CODECS set the value to 5. Start Simple again and you should see debug information from the plugins in the simple console window.
I hope that helps
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of ??? Sent: Wednesday, 16 January 2013 7:59 PM To: h323plus@lists.packetizer.com Subject: [h323plus] h323plus not load h264 plugin
Hi: i download h323plus1.24 and ptlib 2.10.1 and application 1.23.0 on http://www.h323plus.org/source/. i use vs2008 compile,all ok. i compile h323plus video plugin,it create libx264-129.dll and h264_x264_ptplugin.dll. next,i use application compile myphone2 sample.i create c:\ptlib_plugin, and copy avcodec-54.dll avutil-51.dll h264_x264_ptplugin.dll,libx264-129.dll to the folder.and set PWLIBPLUGINDIR=c:\ptlib_plugin environment http://www.baidu.com/s?wd=environment&f=12&rsp=0&oq=enviroment&ie=utf-8 . i alreday change myphone code to CMyPhoneEndPoint::VideoInputDriver = "DirectShow",myphone video device enable show my computer video capture card. but i execute myphone.exe,it audio is work ok.but video codec is null,video not send and receive. why? use myphone -tttt,myphone_trc.txt is
MyPhone Capability Table: Table: G.711-uLaw-64k <2> G.711-ALaw-64k <1> UserInput/hookflash <3> UserInput/basicString <4> UserInput/dtmf <5> UserInput/RFC2833 <6> UserInput/Navigation <7> UserInput/Softkey <8> UserInput/PointDevice <9> UserInput/Modal <10> Set: 0: 0: G.711-uLaw-64k <2> G.711-ALaw-64k <1> 1: UserInput/hookflash <3> UserInput/basicString <4> UserInput/dtmf <5> UserInput/RFC2833 <6> UserInput/Navigation <7> UserInput/Softkey <8> UserInput/PointDevice <9> UserInput/Modal <10>
it not contain video codec.please help.thanks.
participants (2)
-
Simon Horne
-
杨志祥