linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] How to use H.264 Encoder in mediastreamer2


From: 曹贵林
Subject: Re: [Linphone-developers] How to use H.264 Encoder in mediastreamer2
Date: Wed, 5 Mar 2014 12:18:19 +0800

Hi Guy,
I find the answer for my question. Here is the solution: 
________________________________________________
1) Install libx264 >
$ sudo apt-get install libx264-dev

2) download msx264 plugin from LinPhone website:  >
http://download.savannah.gnu.org/releases/linphone/plugins/sources/

3) build msx264 and install: >
$ ./autogen.sh
$ ./configure
$ make
$ make install

4) Now, your (previously-built) applications can use H.264 encoder! 
No need to re-build linphone, mediastreamer2;
No need to re-build your application;  e.g 
$ cd mediastreamer2/tools
$ ./mediastream --local 7701 --remote 192.168.7.40:7701 --payload 102 --bitrate 10241024

NOTE: the performance of H.264 payload is not good. Hope someone tell me why? 
________________________________________________

------------------
Dennis Cao
 
------------------ Original ------------------
Date:  Fri, Feb 28, 2014 07:36 PM
To:  "linphone-developers"<address@hidden>;
Subject:  Re: [Linphone-developers] How to use H.264 Encoder in mediastreamer2
 
Hi Ghislain,
Thanks for your reply.

I have download and build msx264 plugin and x264 encoder. But I can not find any instructions about how to use this plugin in mediastreamer2.

Would you please tell how to use it? Thanks!

----
Dennis Cao


------------------ Original ------------------
Date:  Fri, Feb 28, 2014 07:10 PM
To:  "linphone-developers"<address@hidden>;
Subject:  Re: [Linphone-developers] How to use H.264 Encoder in mediastreamer2
 
Hi,

You need the msx264 plugin. See https://www.linphone.org/eng/download/

Cheers,
Ghislain

On 28/02/2014 11:11, 曹贵林 wrote:

Hi Buddies,

Build Env:
Ubuntu 12.04 32-bit / Linphone 3.7

I am trying to embed VoIP into my current working applicaiton.

I build linphone on Ubuntu 12.04, and run mediastreamer2/tools/mediastream. If
I specify playlaod type as 102, which means H264, the program says such error:
  No encoder available for payload 102:H264.

I go into the source code of mediastreamer2 and find all video encoder
MSFilterDesc objects are created in mediastreamer2/src/videofilters/videoenc.c
But there is no enoder filter for H264.  And I checked header file
mediastreamer2/include/mediastreamer2/allfilters.h, there is no ID defined for
H264 encoder.

Does anybody tell me how to use H264 encoder in mediastreamer2?

Thanks!


--------
Dennis Cao

 


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

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