# Live view from a preset position (ptz) on an axis camera

**URL:** https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566
**Category:** Wowza Streaming Engine
**Created:** [May 7, 2011, 7:38pm UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566 "2011-05-07T19:38:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Jean\_Lenoir](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@Jean\_Lenoir](https://community.wowza.com/u/Jean_Lenoir)
#### Post date: [May 7, 2011, 7:38pm UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566/1 "2011-05-07T19:38:36Z")

</div>

Hi,

I’m trying to stream directly one of my preset position on an axis camera P1343

I already can see a normal stream (rtmp) but I don’t know what kind of parameters to put in my camera.stream file after the /media.amp

I’m searching for a parameter like /media.amp?preset=mypreset (where mypreset is a preset what I saved in the setup of my axis camera)

Hope I was clear enough and sorry for my bad english

thanks

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 8, 2011, 8:06pm UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566/2 "2011-05-08T20:06:34Z")

</div>

I’m not sure about “preset”. I use “streamprofile”, something like this:

```auto
rtsp://username:password@[camera-address]:554/axis-media/media.amp?videocodec=h264&streamprofile=lowbandwidth

```

And there are some querystring configuration values that you can set on the fly:

```auto
rtsp://username:password@[camera-address]:554/axis-media/media.amp?Resolution=1280x720&compression=35&videocodec=h264&audio=1

```

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 9, 2011, 11:52am UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566/3 "2011-05-09T11:52:49Z")

</div>

I have the m-1011w, no PTZ feature. I would guess you can add querystring variables as I showed “&pan=0.00000&tilt=0.00000”, but I am not sure. Have you asked Axis?

Richard

---

<div class="post-metadata">

### Author: ![Alexey\_Perestyuk](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Alexey\_Perestyuk](https://community.wowza.com/u/Alexey_Perestyuk)
#### Post date: [June 9, 2011, 11:23pm UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566/4 "2011-06-09T23:23:34Z")

</div>

It seems, there is no such parameter:

[http://www.axis.com/files/manuals/RTSP\_API\_2\_01.pdf](http://www.axis.com/files/manuals/RTSP_API_2_01.pdf)

---

<div class="post-metadata">

### Author: ![Aaron\_Clark](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@Aaron\_Clark](https://community.wowza.com/u/Aaron_Clark)
#### Post date: [June 9, 2012, 7:50am UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566/5 "2012-06-09T07:50:38Z")

</div>

> It seems, there is no such parameter:
> 
> [http://www.axis.com/files/manuals/RTSP\_API\_2\_01.pdf](http://www.axis.com/files/manuals/RTSP_API_2_01.pdf)

Use the PTZ preset feature to define the location you want in the camera first, in this case “PresetName” is what I called it.

Then use this syntax: [HTML][http://XX.XX.XX.XXX/axis-cgi/com/ptz.cgi?gotoserverpresetname=PresetName[/HTML]](http://XX.XX.XX.XXX/axis-cgi/com/ptz.cgi?gotoserverpresetname=PresetName%5B/HTML%5D)

If you use authenitcation on the camera you’ll need to use [HTML][http://username:password@XX.XX.XX.XXX/[/HTML]](http://username:password@XX.XX.XX.XXX/%5B/HTML%5D)

-Aaron

---

<div class="post-metadata">

### Author: ![Jean\_Lenoir](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@Jean\_Lenoir](https://community.wowza.com/u/Jean_Lenoir)
#### Post date: [May 9, 2011, 12:48pm UTC](https://community.wowza.com/t/live-view-from-a-preset-position-ptz-on-an-axis-camera/36566/6 "2011-05-09T12:48:35Z")

</div>

Hi,

When i told preset, I was meaning the preset position of the camera that you can save in the ptz mode.

For example, imagine that you have a camera showing a living room, using the PTZ, you save a position named door which just show the door (using the pan/tilt/zoom).

How can I just stream this preset position which name is door.

I found in the camera properties something like that :

PTZ Preset P0 Position P1:

Name : Door

Data : pan=0.000000:tilt=0.000000:zoom=1.000000

But I don’t know how to use it in the url ?

And if it’s not possible via the url, is it possible in another way/method ?

Hope I am clear enough ☹

Thanks
