Ask a Question
GoPro Support Hub Ask a question. Share an answer. Find a solution. Stay stoked.
Announcements
Is your GoPro gear up to date? Check to see If it is on our Update page.
GoPro Apps for Desktop
Reply
Tourist
Posts: 2

GoPro as webcam in Linux

[ New ]

Is there a chance that someday i will can use my GoPro as a webcam in Linux?

Sightseer
Posts: 1

Betreff: GoPro as webcam in Linux

[ New ]

Gleiche Frage hier!

 

Habe keine Lust mir eine 90 € MediaMod abzocke zu kaufen, nur damit aus dem USB-C Anschluss ein Bild kommt, aus dem genau gleichen Anschluss, aus dem der MediaMod einen HDMI holt.......

 

Bin ich eigentlich der einzige der sich da abgezockt fühlt???

Tourist
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

I would love to see this as well.

@GoPro
Please also make the webcam app available for linux (ubuntu). As there exists one for MacOS it should be super easy to compile something equivalent for the linux world.
If you don't have the man power just publish some details about the usb Protocol somebody will build something to foreward the image data to a video device.

GoPro
Posts: 19,754

Re: GoPro as webcam in Linux

[ New ]

Hello Everyone. We appreciate your suggestions. We will share this with the team. Thanks!

Hiker
Posts: 7

Rif.: GoPro as webcam in Linux

[ New ]
Lo spero vivamente!
Hiker
Posts: 7

Betreff: GoPro as webcam in Linux

[ New ]

Mac and Win works!!! I hope will come soon also on Linux!

Hiker
Posts: 7

Re: GoPro as webcam in Linux

[ New ]

I agree! Yes please we need it!

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

I'd definitely love to see this on Linux. Come on, multiplatform developement in 2020 should've been a standard!

Tourist
Posts: 2

Re: GoPro as webcam in Linux

[ New ]

Hello Tanya.
Did you had a chance to share this feature request with team? Are there any answers from them? I don't expect any hard commitments or statements. Just curious if this on the table or i should not wait for it at all.

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

One more voice crying in the wilderness for GoPro Linux support!

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Been checking this thread weekly for any updates.

 

Just a heads up, that webcam support for GoPro on Linux is the only thing stopping me from picking up a Hero 9. I don't want to have to purchase a Cam Link AND a media mod, when it can be connected to a PC via software.

 

I feel like extending support to Linux is a small cost for a substantial appeal to a large (and only growing) ecosystem.

 

I will continue to wait for any updates :)

Hiker
Posts: 7

Re: GoPro as webcam in Linux

[ New ]

The missing webcam support for GoPro on Linux, also for me, is the only thing stopping me from picking up a Hero 9. I'll buy it immediately when it will be implemented.

Thank you for supporting Linux

Tourist
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Yes please we need it!

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Make it +1, I also would like an out of the box support in Linux...

Tourist
Posts: 2

Re: GoPro as webcam in Linux

[ New ]

Oh yes, please.

Tourist
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

I do confirm the wish to have my Hero 5 available as a webcam when connected using the USB C cable to my laptop.

GoPro team, be my hero !

Thanks in advance

Hans

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]
+1 for GoPro for Linux
Tourist
Posts: 2

Re: GoPro as webcam in Linux

[ New ]

Today i received a brand new hero 9, exiting! 

I just plugged it in my ubuntu computer and it didn't work.

I bought this as webcam for work, which I also could use for other things (sounds like a win-win scenario).

Sadly it doesn't do what i want, I am thinking about to return it.

Hiker
Posts: 7

Re: GoPro as webcam in Linux

[ New ]
and I will not buy it till it will not work!
Hiker
Posts: 29

Re: GoPro as webcam in Linux

[ New ]

My python package for GoPro can emulate a Linux virtual device for Hero9 over USB just like in Windows. https://github.com/KonradIT/gopro-py-api/blob/master/examples/v4l2-hero9-webcam.py

 

Read code first, run modprobe commands, then run python script (make sure to install deps first). ctrl c to kill it. It'll be integrated into my gopro media management tool GoPro Dashboard too.

 

Lag is minimal.

IMG_20201121_131853~01.jpg
Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

That works beautifully :) Thank you. It's always disappointing to see when a supposed "premium" brand has to rely on one person to do in their spare time what they as a company apparently couldn't.

 

Any objections if I have a go at building a simple UI around this that may make it more accessible for the average user?

Hiker
Posts: 7

Re: GoPro as webcam in Linux

[ New ]

Wonderful, I hope gopro officially supports this method, this means I can now buy gopro 9! Thank you very much. (I'll try it when gopro arrives to me!)

Hiker
Posts: 29

Re: GoPro as webcam in Linux

[ New ]

Sure thing, you can do a GUI wrapper. Also if you want something similar to GoPro Quik for browsing media check out GoPro Dashboard: http://github.com/konradit/goprodashboard . It uses the gopro-py-api python package and flask to run a front end for displaying the media on the camera.

Tourist
Posts: 3

Re: GoPro as webcam in Linux

[ New ]
Does this lib work against the Hero 8? I can't seem to get it to work.
Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

I can't get it to work with Hero 8 either. Steps I follow:

1. ifconfig gives the name of the Ethernet over USB connection for the gopro as "enx3662cc6fcb4c"

2.Install dependencies, run the modprobe command and run the aforementioned python script by "python v4l2-hero9-webcam.py enx3662cc6fcb4c" which then outputs:

 

Waking up...
Camera successfully connected!
Connected to 172.25.182.51

and a bunch of ffmpeg settings but no window/gui showing video.

 

3. ls /dev/video* confirms that /dev/video44 exists.

4. v4l2-ctl -d /dev/video44 --info outputs:

 

Driver Info:
Driver name : v4l2 loopback
Card type : GoPro
Bus info : platform:v4l2loopback-044
Driver version : 5.4.73
Capabilities : 0x85208002
Video Output
Video Memory-to-Memory
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05208002
Video Output
Video Memory-to-Memory
Read/Write
Streaming
Extended Pix Format

 

5. No program (tried VLC, Cheese, Zoom, Firefox) can find the video stream. VLC logs say:

 

main debug: creating access: v4l2:///dev/video44
main debug: (path: /dev/video44)
main debug: looking for access module matching "v4l2": 28 candidates
v4l2 debug: opening device '/dev/video44'
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
v4l2 debug: device GoPro using driver v4l2 loopback (version 5.4.73) on platform:v4l2loopback-044
v4l2 debug: with capabilities 0x05208002 (overall 0x85208002)
v4l2 error: not a video capture device
main debug: no access modules matched
main debug: dead input

 

among other things.

 

Can anyone help identify where things are going wrong?

Hiker
Posts: 7

Re: GoPro as webcam in Linux

[ New ]

Nice!
I would also like to jump in and say that I've purchased the GoPro because it also has the webcam support.

I regularly use linux too, and would love to see it supported.

Tourist
Posts: 3

Re: GoPro as webcam in Linux

[ New ]

I tried two other machines and I got it to work without any issues.  For some reason, it won't work with my ThinkPad.  I'm using the same version of Fedora and v4l2loopback module.  

Tourist
Posts: 2

Re: GoPro as webcam in Linux

[ New ]

One more asking gopro to make this happen. It should work as webcam on Linux simply plugging it in. All these jumping all sorts of hoops or installing some proprietary software is not good. Although that would be improvement over current situation if gopro released they software for Linux.

Tourist
Posts: 3

Re: GoPro as webcam in Linux

[ New ]

Proprietary Software?  All the software required to make this work on Linux is Open Source.  If GoPro released an "official" solution, that would be closed source.  

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Hi Gopro,

 

Really, still no Linux support. Considering a lot major hardware providers now create software (even if its closed source) for Linux. Packaging is not an issue with formats like snap, flatpak or appimage you can bundle your own software with the libraries you choose to support. There is no real excuse. This is 2021.

 

Regards

Bevan

Sightseer
Posts: 4

Betreff: GoPro as webcam in Linux

[ New ]

I created a script that makes the process a bit more simple. See here:

https://github.com/jschmid1/gopro_as_webcam_on_linux

Tourist
Posts: 2

Betreff: GoPro as webcam in Linux

[ New ]

Thank you for your efforts. I tried running the script, everything seems to work. But when I then run vlc nothing happens, I can see the webcam text on the gopro screen but vlc does not show anything. I'm running Fedora 33

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Guys Is gorpo hero 9 works with ubuntu ? 

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Gibt es schon eine Möglichkeit die GoPro7 mit Linux als Webcam zu benutzen?

Sightseer
Posts: 4

Re: GoPro as webcam in Linux

[ New ]

See: 

I created a script that makes the process a bit more simple. See here:

https://github.com/jschmid1/gopro_as_webcam_on_linux

 

someone tested this successfully with a GP9

Sightseer
Posts: 4

Re: GoPro as webcam in Linux

[ New ]

Yes, this:

 

I created a script that makes the process a bit more simple. See here:

https://github.com/jschmid1/gopro_as_webcam_on_linux

Tourist
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Is there any way to get the Hero 7 Black to work in linux as webcam?

 

All stuff from github is only working with 8 or 9

 

Why is GoPro not suppoorting Linux natively?? Definitly not buying a single GoPro product again for their **bleep**ty support

Tourist
Posts: 2

Re: GoPro as webcam in Linux

[ New ]

This script is very nice, thanks.  But there is a delay of 60sec. When I use the VLC preview, the delay is only 1s. I use the Gopro Hero 9.

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]
Same question here!
Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Dear GoPro,

we need this! Please make it happen...

Sightseer
Posts: 1

Betreff: GoPro as webcam in Linux

[ New ]
This is spot on! Sure, it could use some extra user-friendly commands and such for more novice users, but it worked for me without a problem! I add an alias to .zshrc because I won't remember the command for streaming feed to Google Meets. Good job!
Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

Fantastic works for me GoPro9 Manjaro and Jitsi

Sightseer
Posts: 1

Re: GoPro as webcam in Linux

[ New ]

That's great since it's almost the same setup as I have currently. As other people have said it's quite a shame that they did not give any feedback to our request yet, anyways!