| 1 | {{{ |
| 2 | #!html |
| 3 | <!-- MAIN TABLE START --> |
| 4 | <table border=0 width="90%" align="center"><tr><td> |
| 5 | }}} |
| 6 | |
| 7 | = PJSIP Video User's Guide = |
| 8 | |
| 9 | '''Table of Contents''' |
| 10 | [[PageOutline(2-3,,inline)]] |
| 11 | |
| 12 | Video is available on PJSIP version 2.0 and later. This document describes how to use the video feature with PJSIP. |
| 13 | |
| 14 | [[BR]] |
| 15 | |
| 16 | |
| 17 | == Requirements == |
| 18 | |
| 19 | All platforms: |
| 20 | 1. [http://www.libsdl.org/ SDL] version 1.3. Note that this is the newer and not yet released SDL library, hence most likely it won't be installed by default on your system. You can download the source snapshot or from the Mercurial repository from http://www.libsdl.org/hg.php. |
| 21 | 1. [http://ffmpeg.org/ ffmpeg] development library. |
| 22 | |
| 23 | Linux: |
| 24 | 1. Video4Linux2 (v4l2) development library |
| 25 | |
| 26 | |
| 27 | == Building with Video Support == |
| 28 | |
| 29 | === GNU Build System === |
| 30 | |
| 31 | ==== 1. Running aconfigure ==== |
| 32 | |
| 33 | Video requirements will be detected by the {{{configure}}} script. Pay attention to the following output (the sample below was taken on a Mac): |
| 34 | |
| 35 | {{{ |
| 36 | checking SDL availability..... 1.3 |
| 37 | checking for avdevice_version in -lavdevice... yes |
| 38 | checking for av_register_all in -lavformat... yes |
| 39 | checking for avcodec_init in -lavcodec... yes |
| 40 | checking for sws_scale in -lswscale... yes |
| 41 | checking for av_malloc in -lavutil... yes |
| 42 | checking for avcore_version in -lavcore... yes |
| 43 | checking for v4l2_open in -lv4l2... no |
| 44 | }}} |
| 45 | |
| 46 | ==== 2. Configuring video support ==== |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | {{{ |
| 52 | #!html |
| 53 | <!-- MAIN TABLE END --> |
| 54 | </td></tr></table> |
| 55 | }}} |
| 56 | |