linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] h264 plugin on Ubuntu Karmic


From: Raseel Bhagat
Subject: Re: [Linphone-users] h264 plugin on Ubuntu Karmic
Date: Thu, 4 Nov 2010 10:55:30 +0530



On Tue, Nov 2, 2010 at 8:37 PM, M. D. <address@hidden> wrote:
Hello all,

I am trying to get the msx264 plugin to work with linphone. I am running
linphone (latest from git) on Ubuntu Karmic.  I have tried both version
1.3.3 and the git repository of the msx264 plugin.  Both failed to
compile out of the box since the system x264 library included with
Karmic was too old.

I pulled the latest x264 code from their git repository and built it.
That also required an update to ffmpeg, so I also install version 0.6.1.

Both msx264 1.3.3 and the git version successfully compiled, however,
when I try to use it, I get a segfault in:

x264_adaptive_quant_frame

of the x264 library.

Any ideas?  Is there a recommended version of ffmpeg and the x264
library to build against?


Hi,

I use the following version of the x264 library : x264-snapshot-20100601-2245.tar
Compiling this  will give your libx264-0.96 . IIRC, the default version on Ubuntu is libx264-0.85 (if installed using apt-get).

As for the msx264 plugin, you should just get one compilation issue. On line no. 394, you will see the following code :
if (sws_scale(s->sws_ctx,(const uint8_t * const*) ....

This needs to be changed to  :
if (sws_scale(s->sws_ctx,(const uint8_t * *) ....

With this you should be able to successfully make a H264 call.

Let me know if this helped.

--
Raseel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]