docs.rs failed to build cu-gstreamer-0.6.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
cu-gstreamer-0.12.0
GStreamer Appsink Source for Copper
Compatibility
It should be broad, any buffer you can send to a gstreamer Sink should be able to be handled on the Copper Side.
Usage
Add the driver like any other source in Copper:
tasks: [
(
id: "src",
type: "cu_gstreamer::CuDefaultGStreamer", // the default is a pool of 8 images, you can define your own type to change this pool size.
config: { // a gstreamer pipeline example that takes a mjpeg webcam and converts it to NV12. IMPORTANT: the appsink has to be named "copper"
"pipeline": "v4l2src device=/dev/video0 ! image/jpeg, width=1920, height=1080 ! jpegdec ! videoconvert ! video/x-raw, format=NV12 ! appsink name=copper",
"caps": "video/x-raw, format=NV12, width=1920, height=1080", // this is what the Copper source will accept, here we just match the pipeline we define.
},
),
],
When you connect this driver to the rest of the system you need to use the cu_gstreamer::CuGstBuffer message type.
cnx: [
(src: "src", dst: "dst", msg: "cu_gstreamer::CuGstBuffer"),
],
You can see a small test application in the tests/ folder on github.