mxochicale / code

:computer: :school_satchel: code
0 stars 0 forks source link

GStreamer #67

Open mxochicale opened 4 months ago

mxochicale commented 4 months ago

GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing. https://gstreamer.freedesktop.org/

gst-launch-1.0 -vvv videotestsrc ! 'video/x-raw,width=1280,height=720,format=RGB,framerate=60/1' ! autovideosink gst-launch-1.0 -vvv videotestsrc ! 'video/x-raw,width=1280,height=720,format=YV12,framerate=30/1' ! autovideosink

* Options

v4l2src: Reads frames from a linux video device. videotestsrc: Creates a test video stream. videoconvert: Converts video format. videoscale: Resizes video. autovideosink: Automatically detects video sink.


* features of devices 

v4l2-ctl --list-formats-ext --device /dev/video2



### References
* https://en.wikipedia.org/wiki/GStreamer
* https://gist.github.com/hum4n0id/cda96fb07a34300cdb2c0e314c14df0a
* https://gstreamer.freedesktop.org/
* https://nnstreamer.github.io/tutorial1_playing_video.html