diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-15 00:44:34 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-15 00:44:34 +0000 |
commit | 3d5b80fb0db8c4e3e91217c192fd27a95d05d4ff (patch) | |
tree | c6d855cf45c5b52f1196ad4dfc8ddd74e5ef124a /configs/oss.conf.sample | |
parent | 1ff4967b39490ab471b045eb2913ee2c552576cf (diff) |
configuration options related to video support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93145 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/oss.conf.sample')
-rw-r--r-- | configs/oss.conf.sample | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/configs/oss.conf.sample b/configs/oss.conf.sample index fb2d0281a..ee2355099 100644 --- a/configs/oss.conf.sample +++ b/configs/oss.conf.sample @@ -69,6 +69,69 @@ ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". ;----------------------------------------------------------------------------------- +; Below are the settings to support video. You can include them +; in your general configuration as [general](+,video) +; The parameters are all available through the CLI as "console name value" +; Section names used here are only examples. + +[my_video](!) ; you can just include in your config + videodevice = /dev/video0 ; uses your V4L webcam as video source + videodevice = X11 ; X11 grabber. Dragging on the local display moves the origin. + videocodec = h263 ; also h261, h263p, h264, mpeg4, ... + + ; video_size is the geometry used by the encoder. + ; Depending on the codec your choice is restricted. + video_size = 352x288 ; the format WIDTHxHEIGHT is also ok + video_size = cif ; sqcif, qcif, cif, qvga, vga, ... + + ; You can also set the geometry used for the camera, local display and remote display. + ; The local window is on the right, the remote window is on the left. + ; Right clicking with the mouse on a video window increases the size, + ; center-clicking reduces the size. + camera_size = cif + remote_size = cif + local_size = qcif + + bitrate = 60000 ; rate told to ffmpeg. + fps = 5 ; frames per second from the source. + ; qmin = 3 ; quantizer value passed to the encoder. + +; The keypad is made of an image (in any format supported by SDL_image) +; and some configuration entries indicating the location and function of buttons. +; These entries can also be contained in the comment field of the image, +; which is a lot more convenient to manage. +; E.g. for jpeg you can write them with wrjpgcom (part of libjpeg). +; The format to define keys is +; keypad_entry = <event> <shape> x0 y0 x1 y1 h +; where <event> is the event to be generated (a digit, pickup, hangup,...) +; <shape> is the shape of the region (currently 'rect' and 'circle' are +; supported, the latter is really an ellipse), x0 y0 x1 y1 are the +; coordinates of the base of the rectangle or main diameter of the ellipse, +; (they can be rotated) while h is the height of the rectangle or the other +; diameter of the ellipse. +; +[my_skin](!) + keypad = /tmp/keypad.jpg + keypad_entry = 1 rect 19 18 67 18 28 + keypad_entry = 2 rect 84 18 133 18 28 + keypad_entry = 3 rect 152 18 201 18 28 + keypad_entry = 4 rect 19 60 67 60 28 + keypad_entry = 5 rect 84 60 133 60 28 + keypad_entry = 6 rect 152 60 201 60 28 + keypad_entry = 7 rect 19 103 67 103 28 + keypad_entry = 8 rect 84 103 133 103 28 + keypad_entry = 9 rect 152 103 201 103 28 + keypad_entry = * rect 19 146 67 146 28 + keypad_entry = 0 rect 84 146 133 146 28 + keypad_entry = # rect 152 146 201 146 28 + keypad_entry = pickup rect 229 15 267 15 40 + keypad_entry = hangup rect 230 66 270 64 40 + keypad_entry = mute circle 232 141 264 141 33 + keypad_entry = sendvideo circle 235 185 266 185 33 + keypad_entry = autoanswer rect 228 212 275 212 50 + +; uncomment this line to add video support +; [default](+,my_video,my_skin) [card1] ; device = /dev/dsp1 ; alternate device |