gopro_as_webcam_on_linux icon indicating copy to clipboard operation
gopro_as_webcam_on_linux copied to clipboard

Unable to connect to stream via local network

Open laurencepike opened this issue 2 years ago • 0 comments

GoPro HERO8 is connected to Ubuntu machine. Able to start connection and view preview on vlc on Ubuntu machine via the following commands:

sudo gopro webcam -n --fov "narrow" --user $USER
vlc -vvv --network-caching=300 --sout-x264-preset=ultrafast --sout-x264-tune=zerolatency --sout-x264-vbv-bufsize 0 --sout-transcode-threads 4 --no-audio udp://@:8554

I opened up port 8554 to any machine for udp traffic

sudo ufw allow from any to any port 8554 proto udp
> Rules updated
> Rules updated (v6

From here I would like to view the stream on other machines in the local network. I've tried opening a network stream in VLC on a different computer (windows) with the following URL: udp://xxx.x.x.xxx:8554 with the local IP of the Ubuntu machine. VLC doesn't show any errors, and the playback bar has a bouncing orange "loading" animation. The stream never starts.

I don't know much about the tech stacks here so any insight as to what I've got set up incorrectly, or if this script even supports this use case would be greatly appreciated.

laurencepike avatar Mar 25 '22 09:03 laurencepike