Skip to content

Instantly share code, notes, and snippets.

View meee1's full-sized avatar

Michael Oborne meee1

View GitHub Profile
@meee1
meee1 / gist:e6c2e886426fd97cac15d1353799e510
Created February 24, 2023 02:27 — forked from charlie-x/gist:96a92aaaa04346bdf1fb4c3621f3e392
recompile wsl2 kernel, add modules and CAN modules + can utils.
mines ubuntu 20.04 based, WSL2
in windows
wsl --list -v
* Ubuntu-20.04 Stopped 2
in wsl
# the old update routine
sudo apt-get update -y
# add tools to build kernel, apologies if i missed anything as i already have a bunch of dev stuff setup
sudo apt-get install -y autoconf bison build-essential flex libelf-dev libncurses-dev libssl-dev libtool libudev-dev
@meee1
meee1 / gstreamer pipeline
Created January 10, 2023 07:39 — forked from anselmobattisti/gstreamer pipeline
Grab video from webcam and stream it using udpsink via x264
Pipeline to send video (simulating SRC) get the data from video0
gst-launch-1.0 v4l2src device=/dev/video0 \
! decodebin \
! x264enc \
! rtph264pay \
! udpsink host=localhost port=5000
// if you are running it inside a docker container be aware of the host ip in udpsink
gst-launch-1.0 v4l2src device=/dev/video0 \
! decodebin \