[Asterisk-video] [rizzo at icir.org: call for testers for team/rizzo/video_v2]

Luigi Rizzo rizzo at icir.org
Tue Sep 18 15:44:38 CDT 2007


I was suggested to forward this message to the -video list as well.
Note that this code is based on trunk with very minimal
modifications - the focus of this work is on the backends (chan_oss,
chan_alsa) and not on the core (sip, codecs etc.)

cheers
luigi

----- Forwarded message from Luigi Rizzo <rizzo at icir.org> -----

Date: Tue, 18 Sep 2007 09:16:41 -0700
From: Luigi Rizzo <rizzo at icir.org>
Subject: call for testers for team/rizzo/video_v2
To: asterisk-dev at lists.digium.com

Hi,
i have reached a hopefully reasonable state for the code in

	http://svn.digium.com/view/asterisk/team/rizzo/video_v2/

so it would be good if someone could give it a try and send feedback.

In a nutshell, this branch lets you send and receive (and display)
H263+ video with chan_oss (tested) and chan_alsa (not well tested),
using either a webcab or an X11 window as source.

The requirements are SDL, a recent ffmpeg (July 2007), and optionally
Video4Linux v.1 to use the webcam.

The branch includes also updated config files (oss.conf, extension.conf,
sip.conf) so you should not have much trouble, and just run

	console dial SIP/99 at some.phone.ip

to get an audio/video call up and running.

I have developed and tested this on FreeBSD and chan_oss mostly,
(and a bit on chan_alsa), talking to another asterisk+chan_oss/FreeBSD,
linphone/linux, X-lite/Windows. The chan_alsa version is less stable.

I would be very grateful if someone could give this code a try and
send feedback to me (or to the list).

I have to say that the libraries used (ffmpeg and SDL) are extremely
fragile and it is likely to crash the program on unexpected input - this
includes programmer's errors and bogus data coming from the network.

Changes to the config files below, if you should decide to merge
them with your own configs.

	thanks
	luigi

---- oss.conf ---------------
 ; Additional settings to try videosupport.
 ; 'videodevice = /dev/video0' uses your V4L webcam as video source
 ; 'videodevice = X11' (capital) transmits the content of the upper left
 ;      corner of your X11 display,
 ; videowitdh and videoheight set the resolution - please note that
 ;      codecs and other videophones only support some standard resolutions
 ;      e.g. 176x144, 352x288, 320x240 ...
 ; 'bitrate' is the net video bit rate (plus you have RTP/UDP/IP overhead,
 ;      also consider that the traffic is very bursty
 [general](+)                   ; additional settings for videosupport
     overridecontext=yes                ; so you can specify a SIP/xx at yy 'number'
     videodevice = X11          ; X11 grabber
     ; videodevice = /dev/video0        ; Use this if you have a webcam...
     videowidth = 352           ; either 352x2
     videoheight = 288          ;
     fps = 15                   ;
     bitrate = 65000            ;

---- sip.conf ---------------
 [general](+)                   ; useful options for video support
        videosupport = yes
        allow = h263p

---- extensions.conf --------
 [default](+)    ; used for console
     ; the following is useful to dial a SIP url from the console, with
     ; "console dial SIP/n at foo.bar:portnumber"
     ; (remember to set "overridecontext=yes" in oss.conf
     exten => _[sS][iI][pP].,1,Dial(${EXTEN:},,r)

----- End forwarded message -----





More information about the asterisk-video mailing list