Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GStreamer #67

Open
mxochicale opened this issue Mar 20, 2024 · 0 comments
Open

GStreamer #67

mxochicale opened this issue Mar 20, 2024 · 0 comments

Comments

@mxochicale
Copy link
Owner

mxochicale commented Mar 20, 2024

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/

  • Playing video
gst-launch-1.0 v4l2src device=/dev/video2 ! videoconvert ! videoscale ! video/x-raw, width=640, height=480, framerate=30/1 ! autovideosink
gst-launch-1.0 videotestsrc ! autovideosink
gst-launch-1.0 videotestsrc ! ximagesink

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant