Skip to content

there-was-a-face/1-GStreamer-video

Repository files navigation

GStreamer video processing pipeline

GStreamer video processing pipeline with raw sample handling, for an RTSP stream, web camera, or pretty much any GStreamer pipeline.

Uses GStreamer-Sharp for .NET Core.

Main purpose of this sample is to introduce GstVideoStream helper class that helps creating video procesing pipelines and handling raw video frames.

Made for Video capture using GStreamer and gstreamer-netcore post.

Requirements

  • .NET Core SDK 3.1+
  • Visual Studio Code or Visual Studio 2019+
  • Gstreamer 16.2+

How to run

  1. Build in Visual Studio, Visual Studio Code or with dotnet build command
  2. Run in one of 3 ways:
  • with --camera_index option - provide index of web cam device connected to your machine (use 0 if not sure): GStreamerDotNet --camera_index 0
  • with --source_uri option - provide uri to use as the source: GStreamerDotNet --source_uri rtsp://admin:[email protected]:554/
  • any gstreamer pipeline command line (without 'gst-launch-1.0' and its switches). It must end with an appsink element: GStreamerDotNet uridecodebin uri=https://someurl ! queue ! videoconvert ! appsink

Read this post for the details.

About

GStreamer video processing pipeline for RTSP or Web camera

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages