Questions tagged [gphoto2]
15 questions
5
votes
0 answers
Turned my DSLR into a webcam but Chrome does not recognize it
I followed this other post and managed to turn my DSLR into a webcam successfully. To test it, I can see the live video in applications like guvcview and my DSLR is recognized as Dummy video device (0x0000).
But the same device can not be found in…
Mehran
- 1,827
4
votes
0 answers
Supply correct pixel format & parameters from gphoto2 feeding into ffmpeg using v4l2loopback
I have Nikon D3300 camera and want to feed video output into my computer as part of live streaming with OBS.
I successfully installed v4l2loopback as well as gphoto2 on my Ubuntu 18.04. I already had ffmpeg installed. (Their all version information…
haxpor
- 209
3
votes
3 answers
How can I install Gphoto2?
I'm new to (K)ubuntu. Does anybody know how to install the gphoto2 software?
Cheese129
- 39
- 1
- 1
- 6
2
votes
0 answers
gphoto2 /FFmpeg: Could not write header for output file #0 (incorrect codec parameters ?):
First question here as I have been finding answers to everything else I had issues with previously, thanks to all who contribute here..
I followed this guide to use gphoto2 and ffmpeg to use my Fuji X-T2 live feed as a…
N00buntu
- 21
2
votes
3 answers
Problem setting dslr up as webcam
I am trying to set up my nikon d7000 dslr as a video device for Ubuntu 18.04, as shown in this article.
When I try to start the video stream/device with
gphoto2 --capture-movie --stdout | ffmpeg -loglevel verbose -i - -vcodec rawvideo -pix_fmt…
Valentin H.
- 21
1
vote
0 answers
gphoto2 movie capture error: no Viewfinder mode for Canon EOS 400D Rebel XTi
I recently got an Canon EOS 400D to use as a webcam for recording videos. I checked gphoto2 documentation to make sure that it can work as a webcam. The documentation says "Yes" for the Liveview/webcam column for 400D:
I used THIS YouTube tutorial…
Shihab Khan
- 407
1
vote
0 answers
Using a DSLR camera as a webcam to stream on OBS
I've recently changed from Windows to Ubuntu and I'm trying to get my DSLR camera (Canon Rebel T3) to function as a webcam so I can make those cool videos about old racing games and its cars (remember the Renault Espace with an F1 engine from Gran…
1
vote
2 answers
How to improve gphoto2 liveview output?
I tried adding my Canon EOS M50 as a webcam using v4l2 loopback like this:
gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
It works but the picture is 512x288.
On the other hand…
minder
- 131
1
vote
0 answers
FFmpeg - Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
I have a Nikon D7000 which is supported by gphoto2 and can successfully take a photo.
However I cannot get this camera to work as a webcam as I thought I would be able to. Please see below:
hutber@hutber:~$ gphoto2 --stdout --capture-movie | ffmpeg…
Jamie Hutber
- 614
1
vote
1 answer
install gphoto2 without libgphoto
I've been trying to install gphoto 2-2.5.20 and libgphoto2-2.5.22 but whenever i install gphoto it uses the older libgphoto2-2.5.12 which dosn't work with my camera(Olympus E-M1 Mark II) . Is there any good tutorial out there how to install…
user9119742
- 11
- 2
0
votes
1 answer
digiKam 4.14.0 cannot download photos from my PTP camera in Kubuntu 16.10
Ubuntu 16.10/Kubuntu 16.10 ship with the photo management program digiKam 4.14.0.
digiKam 4.14.0 can detect my PTP camera (Canon Powershot G1 X); the camera is listed under "Import -> Cameras -> xyz". When I click on my camera name nothing happens.…
Stéphane Tréboux
- 3,239
0
votes
1 answer
how to automate kill PIDs to solve `Could not claim the USB device`?
I have the same problem in this link, but the problem is I want to automate this process in an executable file, without the need to kill first PIDs every time.
in fact, I want my executable file to detect these PIDs each time, and then kill them if…
Nima
- 1
- 1
0
votes
1 answer
DSLR with gphoto2
I'm trying to use my Nikon D3100 DSLR camera to make timelapses of my 3D prints with Octolapse. However, when I send the gphoto2 --capture-image command the camera freezes and it enters in a some kind of never-ending loading state. I'm running…
Andrei
- 1
0
votes
1 answer
Ubuntu focal fossa and Sony A7RII usb tethering
I cannot connect my Sony A7RII camera except for file transfer; lsusb shows not output related to the camera.
The latest gphoto2 is installed and gphoto2 --list-cameras| grep -i "A7R II" claims that the camera is supported (libgphoto2 web page…
lrkwz
- 304
0
votes
1 answer
gphoto2 - GUI and save settings?
Just discovered gphoto2 2.5.15 on Ubuntu 18.04, and it connects to my camera - and this works:
$ gphoto2 --list-all-config
/main/actions/focuslock
Label: Focus Lock
Readonly: 0
Type:…
sdaau
- 3,154