8000 GitHub - alon/gstreamer1.0-rs: Idiomatic bindings for Gstreamer on Rust.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alon/gstreamer1.0-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Gstreamer 1.0 Rust bindings

Build Status

Idiomatic bindings for Gstreamer on Rust.

To use it you need to install GStreamer first, in linux it's usually installed with the distribution or avaliable through the package manager in other platforms from: http://gstreamer.freedesktop.org/data/pkg/

The wrapped objects do the ref/unref of the native GObjects themselves when references are dropped.

Most of the communication with the library can be done through mpsc::Receivers to get messages, samples...

To build the examples:

cargo test

target/examples/appsink

  • creates a pipeline that opens the default audio input and calculates the rms of the incomming sound.

target/examples/appsrc

  • creates a pipeline using an appsrc that allows to send data into the pipeline. In this case it generates video in rust code that is visualized through a default autovideosink.

target/examples/gst-launch gstreamer-pìpeline

  • creates any gstreamer pipeline, to test for example: target/examples/gst-launch videotestsrc ! autovideosink

target/examples/playbin mediafile

  • creates a playbin opening and playing back the path passed as argument

target/examples/v4l2

  • linux only, opens the default camera and shows the output through the default video sink (uses autovideosink)

The docs can be found at http://rin.rs/docs/gst

About

Idiomatic bindings for Gstreamer on Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
0