HI Michael,<br><br>I havent compiled the ffmpeg 0.47 at my end. There is a precompiled libavcodec.so I found on net. It worked fine for me. <br>You can download it from <a href="http://www.voxgratia.org/bin/libavcodec-0.4.7-linux.bin.tar.gz">http://www.voxgratia.org/bin/libavcodec-0.4.7-linux.bin.tar.gz</a>. <br>
Since you have already compiled H.263 plug-in just rename libavcoded.so in downloaded tar.gz to avcodec and put it into $PWLIBPLUGINDIR and run openmcu.<br><br>It should work fine if the architecture of machine on which this .so is compiled matches with your machine's architecture. (I happened in my case). I could see pretty fine video with this ffmpeg.<br>
<br><br>Thanks,<br>- Prasad<br><br><br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 2:14 PM, Michael Bondi <span dir="ltr"><<a href="mailto:mike@bridgeconference.co.za">mike@bridgeconference.co.za</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jan,<br>
<br>
Any idea of when the new ffmpeg 0.5 will be able to be compiled with h323 support?<br>
<br>
Are you able to supply me with your patched ffmpeg 0.4.7 so I can continue with my current compilation with gcc 4.3, albeit an inelegant solution?<br>
<br>
I'd like to learn how the openmcu works with your fantastic gnugk before the day is over.<br>
<br>
Mike<div><div></div><div class="h5"><br>
<br>
Jan Willamowius wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, the old ffmpeg code doesn't compile with gcc 4.x.<br>
<br>
Jan<br>
<br>
Michael Bondi wrote:<br>
  <br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jan,<br>
<br>
It appears that I have ver 4.3 of gcc.<br>
<br>
Could that be the reason for the ffmpeg 0.4.7 make failure?<br>
<br>
Thanks<br>
<br>
Mike<br>
<br>
<br>
Jan Willamowius wrote:<br>
    <br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a patched version of ffmpeg-0.4.7, that compiles with gcc 4.4.x,<br>
but there is work going on to let the H.323-ffmpeg plugin compile with<br>
current versions of ffmpeg, which is a much better solution.<br>
<br>
Regards,<br>
Jan<br>
<br>
Michael Bondi wrote:<br>
        <br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Prasad,<br>
<br>
I try install ffmpeg 0.4.7 from <a href="http://www.voxgratia.org/bin/ffmpeg-0.4.7.tar.gz" target="_blank">http://www.voxgratia.org/bin/ffmpeg-0.4.7.tar.gz</a> but I get the following:<br>
<br>
voyage:~/ffmpeg-0.4.7# make<br>
make -C libavcodec all<br>
make[1]: Entering directory `/root/ffmpeg-0.4.7/libavcodec'<br>
gcc -O3 -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c<br>
In file included from avcodec.h:14,<br>
                 from common.c:27:<br>
common.h:65: error: array type has incomplete element type<br>
common.h:69: error: array type has incomplete element type<br>
make[1]: *** [common.o] Error 1<br>
make[1]: Leaving directory `/root/ffmpeg-0.4.7/libavcodec'<br>
make: *** [lib] Error 2<br>
<br>
But I proceed and continue  to configure and make and make install the a/v pugins in the ~/h323plus/plugins directory.<br>
<br>
I create a directory ~/codecs and copy both h263-ffmpeg_video_pwplugin.so and libavcodec.so (from the libavcodec-0.4.7-linux.bin.tar.gz file) into there. I rename libavcodec.so to avcodec<br>
<br>
I set export P_T_LIBPLUGINDIR=~/codecs           (does this have to be P_W_LIBPLUGINDIR ?????)<br>
<br>
I run openmcu and connect with Polycom PVX, and I see the video window!!  But the video has strange lines with pink and blue colours, but it is the video from the webcam!<br>
<br>
I assume it may be because I do not have the ffmpeg 0.4.7 installed correctly?<br>
<br>
I will have a look at installing ffmpeg 0.4.7 direct from ffmpeg site.<br>
<br>
So I am closer....<br>
<br>
Thanks again for the help.<br>
<br>
Mike<br>
<br>
<br>
Prasad Mohire wrote:<br>
            <br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
HI Michael,<br>
<br>
I guess you have compiled PTLIB and H323plus and OpenMCU correctly. H323plus doesn't need ffmpeg. ffmpeg is needed by h323plus avplugin. You were able to hear audio because h323plus comes with G711 codecs. You will need to build H263 plugin separately.<br>

<br>
h263 plugin needs ffmpeg version 0.47. To install it:<br>
 run ./configure --enable-shared, then make and make install in ffmpeg directory.<br>
<br>
Once that is done, download the plugins directory from <a href="http://h323plus.com" target="_blank">h323plus.com</a> <<a href="http://h323plus.com" target="_blank">http://h323plus.com</a>>.<br>
untar the direcory under h323plus directory so that you will have plugins directory under h323plus.<br>
Goto plugins directory.<br>
run ./configure<br>
You should see h263 : yes in output of configure script. This means it will build H.263 plugin. If it is 'no' there is something wrong with prerequisites i.e. ffmpeg. make sure that libavcodec.h file is in include path.<br>

<br>
once you see H.263: yes as output, run make and make install in plugins directory.<br>
create a directory to store the plugins. Set environment variable PWLIBPLUGINDIR pointing to that directory. Copy h323plus/plugins/video/h.263/h263-ffmpeg_video_pwplugin.so file to $PWLIBPLUGINDIR. Copy libavcoded.so to $PWLIBPLUGINDIR  and rename it to avcodec.<br>

<br>
Now start openmcu, it should load with H.263 capability.<br>
<br>
File "C:\\traces.txt" will be created in directory from which you will start openmcu. You can see what all capabilities are added while openmcu is started in that file.<br>
<br>
<br>
Thanks and Regards,<br>
Prasad.<br>
<br>
<br>
On Fri, Jan 8, 2010 at 3:32 PM, Michael Bondi <<a href="mailto:mike@bridgeconference.co.za" target="_blank">mike@bridgeconference.co.za</a> <mailto:<a href="mailto:mike@bridgeconference.co.za" target="_blank">mike@bridgeconference.co.za</a>>> wrote:<br>

<br>
    Hi all and Happy 2010!<br>
<br>
    This may have been asked before, but I cannot help myself but to<br>
    ask again.<br>
<br>
    I have compiled ptlib 2.4.5 and h323plus 1.21 and openmcu 2.2.5 on<br>
    a Debian 5 machine.<br>
<br>
    I am able to connect and hear the tones and message for connecting<br>
    but am unable to get video on the screen.<br>
<br>
    I have tried compiling h323plus with only the 0.4.7 ffmpeg<br>
    libavcodec.so placed in a directory /root/codec and compiled with<br>
    ./configure --enable-rfc2190avcodec=/root/ffmpeg switch, all<br>
    compiles fine, but still no h.263 video. Is there any more I need<br>
    to do here?<br>
<br>
    Also, I am getting confused where to unpack and install the a/v<br>
    plugins from file<br>
    <a href="http://www.h323plus.org/source/download/plugins-v1_21_0.tar.gz" target="_blank">http://www.h323plus.org/source/download/plugins-v1_21_0.tar.gz</a><br>
<br>
    Thanks<br>
<br>
    Mike<br>
<br>
<br>
                <br>
</blockquote></blockquote>
        <br>
</blockquote></blockquote>
<br>
<br>
  <br>
</blockquote>
</div></div></blockquote></div><br>