This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 \ |