wiki:Video_Users_Guide

Version 1 (modified by bennylp, 13 years ago) (diff)

--

PJSIP Video User's Guide

Table of Contents

  1. Requirements
  2. Building with Video Support
    1. GNU Build System

Video is available on PJSIP version 2.0 and later. This document describes how to use the video feature with PJSIP.


Requirements

All platforms:

  1. 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.
  2. ffmpeg development library.

Linux:

  1. Video4Linux2 (v4l2) development library

Building with Video Support

GNU Build System

1. Running aconfigure

Video requirements will be detected by the configure script. Pay attention to the following output (the sample below was taken on a Mac):

checking SDL availability..... 1.3
checking for avdevice_version in -lavdevice... yes
checking for av_register_all in -lavformat... yes
checking for avcodec_init in -lavcodec... yes
checking for sws_scale in -lswscale... yes
checking for av_malloc in -lavutil... yes
checking for avcore_version in -lavcore... yes
checking for v4l2_open in -lv4l2... no

2. Configuring video support