Code Monkey home page Code Monkey logo

gstreamer-rockchip-extra's Introduction

About

This is a set of GStreamer plugins about graphics/camera for rockchip platform.
Most of them were modified based on upstream existing plugin.

This software has been tested only with kernel after 4.4.

Status

Elements Type Comments Origin
rkximagesink Video Render (sink) kmssink on X11, for overlay display ximagesink + kmssink
kmssink Video Render (sink) overlay display kmssink
rgaconvert Video Converter video colorspace,format,size conversion v4l2 transform
rkcamsrc Device Sources rockchip isp camera source v4l2src

Usage

rkximagesink

Pipeline example

  • display : X Display name, for window display : (optional)
  • connector-id : DRM connector id, for drm display : (optional)
  • display-ratio : Enable the aspect ratio display : (default : true)

rgaconvert

Pipeline example

Most of the properties are the same as that of v4l2 transform, below are rockchip extend properties:

  • rotation : 90-degree step rotation mode for the inner video frame : (default : 0)
  • hflip : horizontal flip : (default : false)
  • vflip : vertical flip : (default : false)
  • input-crop : Selection-crop, should be "left"x"top"x"width"x"height": (optional)
  • output-crop : Selection-compose, should be "left"x"top"x"width"x"height" : (optional)
  • vpu-stride : Use 4 alignment for input height, to handle VPU buffer correctly. Note if it's enabled, input-crop are unavailable. : (default : false)

rkcamsrc

Pipeline example

Most of the properties are the same as that of v4l2src, below are rockchip extend properties:

  • disable-autoconf : If false, this plugin will init pad format/selection for isp_subdev/sensor, to make the media pipeline work out-of-box: (default : false)
  • tuning-xml-path : tuning xml file, needed by 3A : (default : "/etc/cam_iq.xml")
  • isp-mode : "0A" to disable 3A, "2A" to enable AWB/AE, "3A" to enable AWB/AE/AF : (default : "false")
  • input-crop : Selection-crop, should be "left"x"top"x"width"x"height": (optional)

NOTE: DO NOT RELY ON disable-autoconf=false!
This feature is only used to make debug conveniently.
rkcamsrc plugin is not designed as a CamHal. It's more like v4l2-ctl, just a simple capture program.
Since the use cases are divers, please handle media-controller and pad format/selection in APP level.

gstreamer-rockchip-extra's People

Contributors

ayufan avatar jeffycn avatar wzyy2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.