All AbelCam functionality has been terminated October 8th 2019
 
 
 
Navigation

  • loading...
 

Edit detail for Select Size revision 1 of 3

1 2 3
Editor: sse
Time: 2009/01/08 07:54:24 GMT+0
Note:

changed:
-
<h1>Optional parameters for Images and JPEG Streams</h1>
<p>Various settings can be set on demand.</p>
<h4>Video Size</h4>
<ul>
<li><b>Size Parameter</b><br>
size sets height and width of the image. It scales your images to any size
<p>Examples:</p>
JPEG stream: <a href="http://localhost:8080/current.mjpg?size=640x480">http://localhost:8080/current.mjpg?size=640x480</a><br>
scaled screen shot <a href="http://localhost:8080/screen.jpg?size=320x240">http://localhost:8080/current.jpg?size=320x240</a><br>
</li><li><b>Height Parameter</b><br>
the height parameter sets the height of the image and maintains aspect ratio
<p>Examples:</p>
JPEG stream: <a href="http://localhost:8080/current.mjpg?height=100">http://localhost:8080/current.mjpg?height=100</a><br>
</li><li><b>Width Parameter</b><br>
the width parameter sets the width of the image and maintains aspect ratio
<p>Examples:</p>
JPEG stream: <a href="http://localhost:8080/current.mjpg?width=200">http://localhost:8080/current.mjpg?width=200</a><br>
</li></ul>
<p>&nbsp;</p>
<b>note:</b> height and width are not available for screen shots
<p>&nbsp;</p>


<h4>Picture border</h4>
<p>you may request a picture with a frame around it. The image will be scaled to fit the remaining space.</p>
<ul><li>borderwidth=w<br>w = width of the border in pixels. Values 0-99 are allowed
</li><li>bordercolor=RrGgBb<br>RGB value of the border color. Example: bordercolor=FF0000 for a red border
</li></ul>
<p> </p>
<p>Examples:</p>
black border <a href="http://localhost:8080/current.jpg?borderwidth=5&amp;bordercolor=000000">http://localhost:8080/current.jpg?borderwidth=5&amp;bordercolor=000000</a><br>
light blue <a href="http://localhost:8080/current.jpg?borderwidth=2&amp;bordercolor=8888FF">http://localhost:8080/current.jpg?borderwidth=2&amp;bordercolor=8888FF</a><br>
<p><i>Picture border is only available for current.jpg, not for screen shots or motion JPEG streams.</i></p>
<p>&nbsp;</p>


<h4>Frame rate</h4>
all JPEG streams can stream at a selectable frame rate. The maximum frame rate is defined for the video device in
<a href="devices.html" target="popup" onclick="PopWin('devices.html','devices', 50, 50, 800, 800); return false;">Devices</a>
<p>To set the frame rate on demand, define the fps parameter.</p>
<p>Examples:</p>
<a href="http://localhost:8080/current.mjpg?fps=2">http://localhost:8080/current.mjpg?fps=2</a><br>
<a href="http://localhost:8080/screen.mjpg?fps=0.5">http://localhost:8080/screen.mjpg?fps=0.5</a><br>
<a href="http://localhost:8080/motion.mjpg?fps=15">http://localhost:8080/motion.mjpg?fps=15</a><br>
<p>&nbsp;</p>
<h4>Selection for replay of stored shots</h4>
<p>to filter picture replay, use the filter parameter:</p>
<p>Example:</p>
<p><a href="http://localhost:8080/motion.mjpg?filter=20051019*">http://localhost:8080/motion.mjpg?filter=20051019*</a><br>
this will show pictures taken on Oct 19th 2005 (if pictures were save with time based names)
</p>
<h4>Combine parameters</h4>
to use more than one parameter in a request, combine them using <b>&amp;</b>
<p>Example:</p>
<p><a href="http://localhost:8080/screen.mjpg?size=640x480&amp;fps=1">http://localhost:8080/screen.mjpg?size=640x480<b>&amp;</b>fps=1</a><br>
this will show your desktop sized to 640x480 and refreshed once per second
</p>

Optional parameters for Images and JPEG Streams

Various settings can be set on demand.

Video Size

 

note: height and width are not available for screen shots

 

Picture border

you may request a picture with a frame around it. The image will be scaled to fit the remaining space.

  • borderwidth=w
    w = width of the border in pixels. Values 0-99 are allowed
  • bordercolor=RrGgBb?
    RGB value of the border color. Example: bordercolor=FF0000 for a red border

Examples:

black border http://localhost:8080/current.jpg?borderwidth=5&bordercolor=000000
light blue http://localhost:8080/current.jpg?borderwidth=2&bordercolor=8888FF

Picture border is only available for current.jpg, not for screen shots or motion JPEG streams.

 

Frame rate

all JPEG streams can stream at a selectable frame rate. The maximum frame rate is defined for the video device in Devices

To set the frame rate on demand, define the fps parameter.

Examples:

http://localhost:8080/current.mjpg?fps=2
http://localhost:8080/screen.mjpg?fps=0.5
http://localhost:8080/motion.mjpg?fps=15

 

Selection for replay of stored shots

to filter picture replay, use the filter parameter:

Example:

http://localhost:8080/motion.mjpg?filter=20051019*
this will show pictures taken on Oct 19th 2005 (if pictures were save with time based names)

Combine parameters

to use more than one parameter in a request, combine them using &

Example:

http://localhost:8080/screen.mjpg?size=640x480&fps=1
this will show your desktop sized to 640x480 and refreshed once per second