Streaming USB Webcam from One Raspberry Pi to Another

Jelly Comb 60FPS Streaming Webcam with Adjustable Ring Light Auto-Focus HD 60FPS, 1080P Web Camera with Privacy Cover and Dual Mic for YouTube, Skype, Zoom, Twitch, OBS, Xsplit and Video Calling, W15 (Jelly Comb Affiliate)
US: https://www.jellycomb.com/products/w15-stream-camera?ref=d60zd2uafo

Promo code (10%off): RICKMAKES

CanaKit Raspberry Pi 4 (4GB) Starter Kit (Amazon Affiliate)
US: https://amzn.to/3azJgrW
UK: https://amzn.to/2JdMq9o
CA: https://amzn.to/3bwiRvY
ES: https://amzn.to/2T06LnM (similar)
FR: https://amzn.to/3cvIZrs (similaire)
IT: https://amzn.to/2Ar74Sj (simile)
DE: https://amzn.to/2AqfWHQ (ähnlich)
IN: https://amzn.to/3ey6fWj
AU: https://amzn.to/2VTUt1C
NL: https://amzn.to/3f5NdsD (vergelijkbaar)

Raspberry Pi Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPvIdR5BEqDgO7DsGAla_AZ

Install V4L and FFmpeg
sudo apt install v4l-utils ffmpeg
View IP Address (run on both systems)
ip a
Run Viewer
ffplay udp://ip_of_webcam_pi:1234
Run Webcam Streamer
ffmpeg -f v4l2 -input_format yuyv422 -video_size 1920x1080 -framerate 60 -i /dev/video0 -vcodec h264_omx -pix_fmt yuv420p -b:v 3500k -f mpegts udp://ip_of_viewer_pi:1234

Leave a comment

Your email address will not be published. Required fields are marked *