|
|
(4 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | = Description =
| + | [http://developer.ridgerun.com/wiki/index.php?title=GStreamer_Pan_Tilt_Zoom_and_Rotate_Element GStreamer Pan Tilt Zoom and Rotate Element] |
− | | |
− | If the camera sensor captures more pixels than required, [http://en.wikipedia.org/wiki/Pan%E2%80%93tilt%E2%80%93zoom_camera pan / tilt / zoom] can be simulated digitally.
| |
− | | |
− | A smaller video region is used, and possibly scaled and rotated. By modifying the X-axis offset, the video image appears to pan left or right. By modifying the Y-axis offset, the camera appears to tilt up or down. By modifying the scaling factor, the camera appears to zoom in or out.
| |
− | | |
− | TI SoCs, such as DM365 and DM368 support the [http://processors.wiki.ti.com/index.php/EDMA3 EDMA3 hardware accelerator], which allows digital pan / tilt / zoom / rotate functionality to be supported without loading the system processor.
| |
− | | |
− | RidgeRun has used the EMDA3 hardware accelerator to create a GStreamer digital pan / tilt / zoom / rotate element.
| |
− | | |
− | = GStreamer digital pan tilt zoom rotate element = | |
− | | |
− | After building the SDK and installing the images onto your target hardware, verify the digital pan / tilt / zoom / rotate is available:
| |
− | | |
− | gst-inspect | grep XXXX
| |
− | | |
− | With the expected output being:
| |
− | | |
− | XXXX
| |
− | | |
− | To see the properties that are supported, run:
| |
− | | |
− | gst-inspect XXXX
| |
− | | |
− | which will display an output similar to:
| |
− | | |
− | <pre>
| |
− | Element Properties: | |
− | XXXX
| |
− | | |
− | </pre>
| |
− | | |
− | The (x,y) origin is the upper left corner.
| |
− | | |
− | = Controlling pan and tilt =
| |
− | | |
− | | |
− | = Controlling zoom =
| |
− | | |
− | = Controlling rotate =
| |
− | | |
− | = Mixing pan tilt and zoom =
| |
− | | |
− | == GStreamer pipelines with DVI Output ==
| |
− | | |
− | [[Category:HowTo]] [[Category:GStreamer]][[Category:SdkAddOn]]
| |