From c81865ba4f0bd71b75b7f6a98263ca55ba39db8d Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sun, 11 Apr 2021 11:52:51 -0400 Subject: [PATCH] add pi0 webcam setup helper --- zshrc.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc.org b/zshrc.org index 50eb4cc..093daa9 100644 --- a/zshrc.org +++ b/zshrc.org @@ -92,6 +92,10 @@ Each environment has slightly different setups, which will be tangled to differe adb -s $ANDROID_BLU forward --remove tcp:8097 } +setup-pi-webcam() +{ + ffmpeg -i http://192.168.0.41:8080/stream/video.mjpeg -map 0:v -pix_fmt yuv420p -f v4l2 /dev/video2 +} #+end_src *** Misc helpers - wttr.in