Changes between Version 26 and Version 27 of Getting-Started/Autoconf


Ignore:
Timestamp:
Nov 22, 2019 6:39:01 AM (3 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Autoconf

    v26 v27  
    3333 
    3434The following components are needed for video: 
    35  1. Linux: Video4Linux2 (v4l2) development library. 
    3635 1. [http://www.libsdl.org/ SDL] '''version 2.0''' 
    37  1. libyuv (Recommended) for format conversion and video manipulation. Follow the instructions in ticket #1937 (or ticket #1776 if you are using PJSIP 2.5.1 or older). Alternatively, you can use ffmpeg as explained below. 
    38  1. OpenH264 (Recommended): Follow the instructions in ticket #1947 (or ticket #1758 if you use PJSIP before version 2.6). Alternatively, you can use !VideoToolbox (only for Mac) or ffmpeg as explained below. 
    39  1. !VideoToolbox (for Mac only, supported since PJSIP version 2.7), define this in your config_site.h: {{{#define PJMEDIA_HAS_VID_TOOLBOX_CODEC 1}}} 
    40  1. [http://ffmpeg.org/ ffmpeg] development library. ffmpeg is used for format conversion and video manipulation; as well as video codecs: H.264 (together with libx264) and H263P/H263-1998. So, if you already use libyuv AND H.264 (OpenH264 or !VideoToolbox), and you don't need H.263, then this is optional. We tested with ffmpeg version 1.x (1.2.5) to 0.x (from 0.5.1 (from circa 2009) to 0.10). Since #1897 we have added support for ffmpeg 2.8, however note that on applying the ticket, older ffmpeg will no longer be supported. 
    41     To enable H.264 support in ffmpeg (this is not required if you already have H.264 codec (via OpenH264 or !VideoToolbox)): 
    42     - You need newer releases (October 2011 onwards), and it needs libz too. On Mac OS X: You may need to rebuild libbz2 if you have an old libbz2 for older system. 
    43     - Build with at least: 
    44       {{{ 
     36 1. For format conversion and video manipulation, you can use one of the following: 
     37     * libyuv (Recommended) for format conversion and video manipulation. Follow the instructions in ticket #1937 (or ticket #1776 if you are using PJSIP 2.5.1 or older). 
     38     * [http://ffmpeg.org/ ffmpeg] development library. For build instructions, see below. 
     39 1. For video codecs: 
     40   * H263.[[br]] 
     41     [http://ffmpeg.org/ ffmpeg] development library. For H263P/H263-1998. 
     42   * H264. You can use one of the following: 
     43     - OpenH264 (Recommended): Follow the instructions in ticket #1947 (or ticket #1758 if you use PJSIP before version 2.6). Alternatively, you can use !VideoToolbox (only for Mac) or ffmpeg as explained below. 
     44     - For Mac only: !VideoToolbox (supported since PJSIP version 2.7).Ddefine this in your config_site.h: {{{#define PJMEDIA_HAS_VID_TOOLBOX_CODEC 1}}} 
     45     - [http://ffmpeg.org/ ffmpeg] development library, using libx264. We tested with ffmpeg version 1.x (1.2.5) to 0.x (from 0.5.1 (from circa 2009) to 0.10). Since #1897 we have added support for ffmpeg 2.8, however note that on applying the ticket, older ffmpeg will no longer be supported.[[br]] To enable H.264 support in ffmpeg (this is not required if you already have H.264 codec (via OpenH264 or !VideoToolbox)): 
     46        - You need newer releases (October 2011 onwards), and it needs libz too. On Mac OS X: You may need to rebuild libbz2 if you have an old libbz2 for older system. 
     47        - Build with at least: 
     48        {{{ 
    4549$ ./configure --enable-shared --disable-static --enable-memalign-hack 
    4650                      # add other options if needed, e.g: optimization, install dir, search path  
     
    4852                      # to enable H264, add "--enable-gpl --enable-libx264" 
    4953$ make && make install 
    50       }}} 
    51     - [http://www.videolan.org/developers/x264.html libx264]. We tested with the latest from git (as of October 2011): 
    52      {{{ 
     54        }}} 
     55        - [http://www.videolan.org/developers/x264.html libx264]. We tested with the latest from git (as of October 2011): 
     56        {{{ 
    5357$ ./configure --enable-static      # add options if needed, e.g: optimization, install dir, search path 
    5458$ make && make install-lib-static  # default install dir is /usr/local 
    55       }}} 
     59        }}} 
     60    * VP8 and VP9.[[br]] 
     61      [https://www.webmproject.org/code/ libpx]. Download, build, and make install. 
     62 1. Linux: Video4Linux2 (v4l2) development library. 
    5663 1. Optional: [http://qt.nokia.com/downloads/ Qt development SDK] for building the [#vidgui video GUI sample]. We tested with version 4.6 or later. 
    5764    - without this you can still enjoy video with pjsua console application 
    58  
    5965 
    6066=== Host requirements ===