login | register
Thu 07 of Aug, 2008 [23:21 UTC]

voip-info.org

History

Asterisk video

Created by: oej,Last modification on Sat 19 of Jul, 2008 [12:20 UTC] by JustRumours

Video in Asterisk

Some channels have support for video calls in Asterisk


The H.323 channels (chan_h323, chan_oh323, chan_ooh323) do not allow video calls at this moment; however, the ChangeLog of ooh323 notes for release 0.6: "Added H.263 video codec negotiation handling"?!

Supported video codecs

Note that video support in Asterisk 1.4 is still in infancy (see general discussion below). To summarize:
  • Asterisk 1.4 has issue regarding video codec negotiation
  • Advanced video attributes such as profile/level (H.263+, MPEG4, H.264),bandwidth, standard annexes, framerate and image size are not exchanged and negotiated by Asterisk.
  • Asterisk has no capability to playback classical video formats such as .mov, MP4 or 3gp files.
  • Asterisk does not provide any video transcoding capabilities

In order to enable video in Asterisk, modify sip.conf to add:

[general]
videosupport=yes

Then for each SIP user / peer, you have to add the supported codecs (see example in this page). if you want to avoid video codec negociation in Asterisk 1.4.x unpatched, make sure that you enable a single video codec in sip.conf. The more adventurous may try the patch mentioned in this page. Of course, codecs need to be supported by the SIP phone connected to Asterisk. Asterisk will works in Passthrough mode for video.

Video converter for Asterisk
  • FFasterisk It generates video contents for Asterisk. It enables the conversion of MOV files to a pair of .H.263 video and .wav file compatible with Asterisk video rendering.

Video Conferencing Software for Asterisk

General discussion on video support for Asterisk


In asterisk 1.4, video codec negotiation is faulty (see also this bug). A patch has been proposed by IVèS but not accepted. Also, another independent work called Asterisk videocaps was carried out to enable proper SDP negotiation of fmtp attributes related to video. This was to be merged in the trunk to be included in Asterisk 1.6.

In asterisk 1.6, a general overhaul of video support for channels was planned but no precise technical direction was set. Some would like to simply merge videocaps and build on it. Some may have more ambituous plans. Refer the Asterisk video mailing list

Another issue is also the need for a file format to store video prompts. Currently, Asterisk dumps the content of RTP packets including some timing information in .h263, ph263p, .h264 files. Sergio Murillo MP4 asterisk apps that are capable of playing or recording MPEG4 files. Some patent related issue probably prevents Digium from integrating those into Asterisk software.

Video transcoding is also not available and will probably not be integrated in Asterisk. Using ffmpeg libraries for this would again bring licensing and patent issues. Transcoding inside Asterisk would also bring performances issues to be dealt with. Again, Sergio proposes a limited transcoding app build on ffmpeg called app_transcoder. Limited in the current version but would be easy to extend for those who are skilled with ffmpeg programming.

The last topic of interest is the ability to process ISDN / 3G video calls with Asterisk using again some Sergio's dev. A dedicated page in this wiki details the topic.

Clients known to support video calls with Asterisk:



Also see: SIP Video Phones

There is also some information how to make an 3G-H.324M (UMTS Video) - SIP gateway with asterisk: Asterisk H324M

Video Voicemail issue


When you record a message to a voicemail, Asterisk records video too... the only problem cames that first seconds are degraded to Intra-frame (first frame) loss while greeting message...

Call Image Videotel has special feature to get a perfect recording without any modifications on asterisk (Note: this link is dead. Seems that videotel has changed its name or is out of business).

Also: if you record a message using a given codec (let's say H.264) and retrieve the message while negociating another codec, the video part of the message will not be rendered as no transcoding function is available.

Windows Messenger and Asterisk

example sip.conf:
[general]
videosupport=yes

[video2]
type=friend
username=video2
secret=hidden
host=dynamic
context=from-camera
callerid=Video 2 <1222>
canreinvite=no
disallow=all ; Windows Messenger will choose wrong codecs if you allow=all
allow=ulaw
allow=alaw
allow=speex
allow=gsm
allow=h261
allow=h263
allow=h263p


For detailed configuration notes:


Comments

Comments Filter
222

333vtestcall example

by mattei, Tuesday 04 of December, 2007 [23:38:37 UTC]
Hi,

I'm very happy that the vtestcall is OK.
Can you show me the detail of iax.conf ? and have you rewrite something in teh source code "vtestcall.c" ?

Thanks in advance

Luigi


222

333vtestcall example

by mattei, Tuesday 04 of December, 2007 [23:35:13 UTC]
Hi,

I'm very happy that the vtestcall is OK.
Can you show me the detail of iax.conf ? and have you rewrite something in teh source code "vtestcall.c" ?

Thanks in advance

Luigi


222

333Yes IAX video works

by boneym, Monday 19 of November, 2007 [00:44:30 UTC]
For those who are curious IAX video works , thanks to all the guys working on iaxclient in sourceforge esp Mihai and jpgrayson (http://iaxclient.wiki.sourceforge.net).
The only trick that is not "listed" is to have videosupport=yes and codec=theora/h264 in the iax.conf file. It is true that codec negotiation is not there yet. So hard code the video codec on the client.

boneyM
222

333Confiance

by rainmak3r, Tuesday 19 of June, 2007 [14:03:32 UTC]
Hi all,

our enhanced version of MeetMe (http//confiance.sf.net) added video support to it. It also supports videomixing, if wanted, even though it's still an early work, so any kind of feedback would be appreciated.
222

333how to install the H323p patch

by jj_chiou, Wednesday 20 of September, 2006 [03:24:17 UTC]
Dear man ;

I want to install the patch to solve the bug, but how to install the patch to Asterisk ?

Does any one can tell me ?

Thanks !
222

333Ekiga

by JoshMarshall, Tuesday 14 of March, 2006 [05:04:52 UTC]
Ekiga ( http://ekiga.org ) works nicely with Asterisk in SIP mode. Just specify allow=all and videosupport=yes. No tricks involved :)
222

333Which file contains what?

by DanCreed, Wednesday 08 of February, 2006 [15:33:15 UTC]
You mention that asterisk records the video feed as well??? In which file??? The GSM contains only sound and if it is in the .H263 file how the heck do you play the file? I've tried every media player I can think of with no luck???

Thanks,
Dan.Creed@thecreeds.net
222

333SIP Hard Phone and Soft Video Phone

by harryyeh, Thursday 05 of January, 2006 [11:23:02 UTC]
I was wondering if anyone knows if there a SIP Phone system with a Soft Video Desktop component video similar to how the Cisco VT Advantage works. Essentially, you have a hard IP Phone like a Cisco 7960 With the SIP Image and a Soft Client on your desktop computer that displays Video on screen that automatically pops up on your computer if both parties can accept video. If anyone knows about this, post any leads or can point me in the right direction that would be great.
222

333sip video support

by wjjno, Thursday 03 of November, 2005 [09:35:58 UTC]
My sip video phone can rigister to the Asterisk,and can phone another one as same,but the video is so slowly.Can you tell me the reason?Thanks!
222

333H323 Video Support

by bzzz, Saturday 12 of March, 2005 [13:21:48 UTC]
Can anyone confirme that either H323 or OH323 channels do support video ?
Would it support passing audio+video from H323 to SIP?