VoIP applications compiled under Ubuntu 14.04 ffmpeg libX264 and Pjsip

Source: Internet
Author: User

Pjsip is an open source SIP protocol stack.  It supports a wide range of SIP extensions and is arguably one of the most popular sip stacks. It implements SIP, SDP, RTP, STUN, turn, and ice. PJSIP provides a very clear API as well as NAT traversal capabilities as a SIP-based multimedia communication framework. Pjsip is very well-ported and supports almost all today's systems: from desktop systems to embedded systems to smartphones. Pjsip also supports voice, video, status rendering, and instant messaging.

Pjsip is very powerful, many VoIP voice video calling applications use it ...

Here's how to compile under Ubuntu.

Article directory [hide]

    • Ubuntu Programming Environment

    • Create a working directory

    • Compiling yasm

    • Compiling libX264

    • Compiling ffmpeg

    • Compiling SDL2.0

    • Compiling PJSIP

Ubuntu Programming Environment


sudo apt-get install build-essential

If you want to checkout the source code in a git way

sudo apt-get install build-essential git-core

Create a working directory

Mkdir-p $HOME/workspace/voip

Mkdir-p $HOME/workspace/toolchain

CD $HOME/workspace/voip

compiling yasm

Download the source package:

Http://yasm.tortall.net/Download.html

./configure–prefix= $HOME/workspace/toolchain/yasm/

Make-j4

Make install

Adding YASM to environment variables

Export path= $HOME/workspace/toolchain/yasm/bin: $PATH

compiling libX264

Download Source Bundle: http://www.videolan.org/developers/x264.html


./configure–prefix= $HOME/workspace/toolchain/libx264/–enable-static–enable-shared

Make-j4

Make install

compiling ffmpeg


./configure–prefix= $HOME/workspace/toolchain/ffmpeg–enable-shared–disable-static–enable-memalign-hack– extra-cflags= "-i$home/workspace/toolchain/libx264/include" –extra-ldflags= "-l$home/workspace/toolchain/libx264/ Lib "–enable-gpl–enable-libx264

Make-j4

Make install

compiling SDL2.0

Download Source Bundle: http://www.libsdl.org/download-2.0.php

./configure–prefix= $HOME/WORKSPACE/TOOLCHAIN/SDL

Make-j4

Make install

compiling Pjsip

Download Source Bundle: http://www.pjsip.org/download.htm

./configure–prefix= $HOME/workspace/toolchain/pjsip–with-sdl= $HOME/workspace/toolchain/sdl/–with-ffmpeg= $HOME/ workspace/toolchain/ffmpeg/

Make-j4

Make install

original articles, reproduced please specify: reproduced from Wuchuanbin blog http://www.mr-wu.cn/

This article link address: VoIP applications compiled under Ubuntu 14.04 ffmpeg libX264 and Pjsip http://www.mr-wu.cn/ how-to-compile-ffmpeg-x264-and-pjsip-on-ubuntu-14-04-for-voip/


VoIP applications compiled under Ubuntu 14.04 ffmpeg libX264 and Pjsip

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.