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. |
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. |
| 103 | checking OpenH264 availability... ok |
| 104 | checking for I420Scale in -lyuv... yes |
| 105 | ... |
| 106 | }}} |
| 107 | |
| 108 | The 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. |