Changes between Version 19 and Version 20 of Getting-Started/Autoconf


Ignore:
Timestamp:
Sep 2, 2014 5:38:22 AM (10 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Autoconf

    v19 v20  
    3434The following components are needed for video: 
    3535 1. Linux: Video4Linux2 (v4l2) development library. 
    36  1. Mac OS X: You might have an old libbz2 for older system, in that case it has to be rebuild (needed by ffmpeg H.264 support) 
    3736 1. [http://www.libsdl.org/ SDL] '''version 2.0''' 
    38  1. [http://ffmpeg.org/ ffmpeg] development library. We tested with ffmpeg version 1.x (1.2.5) to 0.x (from 0.5.1 (from circa 2009) to 0.10). At the moment, we haven't supported ffmpeg version 2.x. 
    39     - Note that for H.264 support, you need newer releases (October 2011 onwards), and it needs libz too. 
     37 1. libyuv (Recommended): Follow the instructions in ticket #1776. Alternatively, you can use ffmpeg as explained below. 
     38 1. OpenH264 (Recommended): Follow the instructions in ticket #1758. Alternatively, you can use ffmpeg as explained below. 
     39 1. [http://ffmpeg.org/ ffmpeg] development library. If you already use libyuv AND OpenH264, 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). At the moment, we haven't supported ffmpeg version 2.x. 
     40    - Note that for H.264 support, 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. 
    4041    - Build with at least: 
    4142      {{{ 
     
    9495... 
    9596Using SDL prefix... /Users/pjsip/Desktop/opt 
    96 checking SDL availability..... 1.3.0 
     97checking SDL availability..... 2.0.1 
    9798Using ffmpeg prefix... /Users/pjsip/Desktop/opt 
    9899checking for pkg-config... no 
     
    100101checking ffmpeg packages...  libavformat libavcodec libswscale libavutil 
    101102checking for v4l2_open in -lv4l2... no 
    102 ... 
    103 }}} 
    104  
    105 The above output shows the SDL version detected, 1.3.0 in this case, and the ffmpeg packages found (libavformat, libavcodec, etc.). Note that for this particular build, alternative locations (prefixes) are specified for both SDL and ffmpeg with '''{{{--with-sdl}}}''' and '''{{{-with-ffmpeg}}}''' options respectively.  
     103checking OpenH264 availability... ok 
     104checking for I420Scale in -lyuv... yes 
     105... 
     106}}} 
     107 
     108The above output shows the SDL version detected, 2.0.1 in this case. It also found OpenH264, libyuv, and ffmpeg packages (libavformat, libavcodec, etc). While we have all the three libraries installed on this machine, as explained above, you actually only need (OpenH264 AND libyuv) OR ffmpeg. Note that for this particular build, alternative locations (prefixes) are specified for both SDL and ffmpeg with '''{{{--with-sdl}}}''' and '''{{{-with-ffmpeg}}}''' options respectively.  
    106109 
    107110'''Note on ffmpeg libraries dependencies:''' 
     
    139142--disable-ffmpeg        Disable ffmpeg (default: not disabled) 
    140143--disable-v4l2          Disable Video4Linux2 (default: not disabled) 
     144--disable-openh264      Disable OpenH264 (default: not disabled) 
     145--disable-libyuv        Exclude libyuv in the build 
    141146 
    142147...