compile H.264 plugin

Discussion related to implementation and use of the H.323 Plus H.323 stack at https://www.h323plus.org.
Post Reply
Y030052
Posts: 9
Joined: Fri Aug 26, 2011 9:52 am

compile H.264 plugin

Post by Y030052 »

Hi,

I have some questions about compiling H.264 plugin using Visual Studio 2010.

Based on the instruction from the ReadMe file, I suppose to compile FFMPEG and X264 using MinGW, but I have been trying to avoid this step. Instead, I am trying to use the DLL I can find online at http://mediatools.cs.ucl.ac.uk/nets/mme ... geset/3937. So my first question, will those DLLs work for the H.264 plugin?

My second question is regarding 'plugin-config.h' file. When I compile the plugin code in VS, there is an error that it cannot include 'plugin-config.h'. I searched the directories of H323plus, but I cannot find that file. I find 'plugin-config.h.in' instead. Is there any step that I need to do to generate the 'plugin-config.h' file?

Thanks for any reply.
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: compile H.264 plugin

Post by shorne »

You should redirect technical questions to the h323plus mailing list.
http://lists.packetizer.com/mailman/listinfo/h323plus


Compiling the X264 on windows is a real pain.
You can use this precompiled version.
http://www.h323plus.org/source/download/ffmpeg_x264.zip
Extract into the same directory as your application.

Simon
Y030052
Posts: 9
Joined: Fri Aug 26, 2011 9:52 am

Re: compile H.264 plugin

Post by Y030052 »

Hi Simon,

Thank you for the dlls. That will be the life saver.
Can you post or send me the header files, such as libavcodec\avcodec.h, x264.h, etc? Thanks.
Y030052
Posts: 9
Joined: Fri Aug 26, 2011 9:52 am

Re: compile H.264 plugin

Post by Y030052 »

Hi Simon,

I have downloaded the plugin from the URL you gave and placed them under c:\ptlib_plugin directory. But when I don't see H.264 codec is loaded in the sample application simple.exe. Is there some configuration that I must do? Please help. Thank you.
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: compile H.264 plugin

Post by shorne »

Put all the files in the same directory as your application.
otherwise in the c:\ptlib_plugins directory.
You can select other directories by setting the PTLIBPLUGINDIR environmental variable.
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: compile H.264 plugin

Post by shorne »

If you want header info etc get them from the X264 and FFMPEG websites.
Post Reply