Skip to content

Instantly share code, notes, and snippets.

@buldo
Created July 10, 2025 17:01
Show Gist options
  • Save buldo/8082e23615ab1b78ff5ce6d086ba87c7 to your computer and use it in GitHub Desktop.
Save buldo/8082e23615ab1b78ff5ce6d086ba87c7 to your computer and use it in GitHub Desktop.
RPI encode-decode
gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080,framerate=25/1 ! v4l2h264enc extra-controls="controls,h264_profile=0,h264_level=11,video_bitrate=5000000" ! 'video/x-h264,profile=baseline,level=(string)4' ! v4l2h264dec ! video/x-raw,width=1920,height=1080 ! kmssink force-modesetting=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment