Jump to content

GStreamer Daemon - Digital PTZ: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 3: Line 3:
==Digital PTZ==
==Digital PTZ==


Digital PTZ is based on 3 parameters: input resolution, output resolution and the properties (pan, tilt and zoom). the properties can be described as following:  
Digital PTZ is based on 3 parameters: input resolution, output resolution, and properties (pan, tilt, and zoom). the properties can be described as following:  


===Zoom===
===Zoom===


The zoom can reduce the resolution of the output image and the output image can be crop or a complete image, taking the input image as complete reference. Follow picture explain how works:  
The zoom can reduce the resolution of the output image and the output image can be crop or a complete image, taking the input image as a complete reference. Follow the picture below which explains how it works:  


[[File:ZOOM.png|500px|thumbnail|center|]]
[[File:ZOOM.png|500px|thumbnail|center|]]
Line 19: Line 19:
=== Using Gstd ===
=== Using Gstd ===


For the PTZ example we will use gstd, that allows to change the values of any property of the elements in the pipeline while the pipeline is running, in our case is very useful that feature.  
For the PTZ example, we will use Gstd that allows us to change the values of any property of the elements in the pipeline while the pipeline is running, in our case is very useful that feature.  
Next example script can move a cropped window around a video playback, also the window can be zoom-in and zoom out.
The next example script can move a cropped window around a video playback, also the window can be zoom-in and zoom out.


how to use the example:  
how to use the example:  
Cookies help us deliver our services. By using our services, you agree to our use of cookies.