gstreamer
Gstreamer driver. More...
Gstreamer driver.
This driver takes image data from Gstreamer infrastructure and publish them through provided camera interface.
- Compile-time dependencies
- GStreamer
- Provides
- This driver supports the camera interface.
- Requires
- none
- Configuration requests
- none
- Configuration file options
- source (string)
- Default: ""
- A string describing GStreamer source.
- trace (bool)
- Default: false
- Trace gstreamer object allocation.
- jpeg (integer)
- Default: 0
- If set to 1, expect and publish JPEG images
- Example
driver ( name "cameragst" provides ["camera:0"] # read/write image sequence # source "multifilesrc location=%05d.jpg ! jpegdec ! ffmpegcolorspace ! queue" # source "v4l2src ! video/x-raw-yuv,width=640,height=480 ! tee name=tee ! ffmpegcolorspace ! jpegenc ! multifilesink location=%05d.jpg tee. ! queue ! ffmpegcolorspace" # read/write movie file # source "filesrc location=movie.ogg ! decodebin ! ffmpegcolorspace" # source "v4l2src ! video/x-raw-yuv,width=640,height=480 ! tee name=tee tee. ! ffmpegcolorspace ! theoraenc ! queue ! oggmux name=mux mux. ! queue ! filesink location=movie.ogg tee. ! ffmpegcolorspace ! queue" # read data from V4L2 compatibile camera (UVC works too!) # source "v4l2src ! videoscale ! video/x-raw-yuv, width=640, height=480 ! ffmpegcolorspace" # test source source "videotestsrc ! timeoverlay ! ffmpegcolorspace" trace false )
- Todo:
- Add support for mono images