jschmid1 / gopro_as_webcam_on_linux

Allows to use your GoPro camera as a webcam on linux
Apache License 2.0
516 stars 64 forks source link

GoPro 10 connection in Ubuntu 20.04 #65

Closed SergeyMalashenko closed 1 week ago

SergeyMalashenko commented 1 month ago

Good day, I installed your app, connected my GoPro10 to USB and turned it on. After that I ran your app and got the following result.

sudo gopro webcam
Running GoPro Webcam Util for Linux [0.0.3]

       Launch Options     
==========================
 * Non-interactive:  0
 * Autostart:        0
 * Preview:          0
 * Resolution:       1080p
 * FOV:              linear
==========================

v4l2loopback is loaded!
v4l2loopback was unloaded successfully.
v4l2loopback was successfully loaded.
Please plug in your GoPro and switch it on. If it booted successfully (Charger icon on screen), hit Return

Guessing the GoPro's device name...
I can only make an uneducated guess wrt the name of the interface that the GoPro exposes.
For me the name of the interface is 'enxf64854ee7472'. This script will try to discover the device
that was added *last*, as you just plugged in the camera, hence the interface added last should be the one we're looking for.

Discovered: wlo1.
Using wlo1 to discover the GOPRO_IP.
Found 192.168.0.244
To control the GoPro, we need to contact another interface (GOPRO_IP ending with .51).. Adapting internally..
Now using this GOPRO_IP internally: 192.168.0.51
Error while starting the Webcam mode. # TODO Useful message.
SergeyMalashenko commented 1 month ago

Please help me understand what to do?

tdeboeser commented 1 month ago

I get the same output:

Discovered: wlp0s20f3. Using wlp0s20f3 to discover the GOPRO_IP. Found 192.168.1.231 To control the GoPro, we need to contact another interface (GOPRO_IP ending with .51).. Adapting internally.. Now using this GOPRO_IP internally: 192.168.1.51 Error while starting the Webcam mode. # TODO Useful message.

heltonteixeira92 commented 1 week ago

@tdeboeser It worked for me: Swipe down on the back LCD screen. Tap Connections. Tap on USB Connection and select GoPro Connect.

SergeyMalashenko commented 1 week ago

Sorry. Currently all is ok!