Atterratio / obs-gphoto

Allows connect DSLR cameras with obs-studio through gPhoto on Linux
GNU General Public License v2.0
44 stars 16 forks source link

No Capture on Canon EOS 1200D #4

Open ghost opened 6 years ago

ghost commented 6 years ago

I created gPhoto live preview capture and it gets the Camera and stuff but it doesn't show a video capture. In my terminal there is the following: error: glMapBuffer failed, glGetError returned 0x505 error: gs_texture_map (GL) failed

Versions: aur/obs-gphoto 0.3.0-1 community/obs-studio 21.0.2-1

Atterratio commented 6 years ago

At now, it's a strange question, but you are using a 32 or 64 bit OS? Can you show "pacman -Qs gstreamer" comand output?

Atterratio commented 6 years ago

I'm found somefing like this "glGetError 0x505 == out of memory reported by the opengl gpu driver". Can it be that you are using an old or integrated video card with a small RAM size?

ghost commented 6 years ago

pacman -Qs gstreamer ~ local/gst-editing-services 1.12.4-1 GStreamer library for creating audio/video editors local/gst-libav 1.12.4-1 GStreamer Multimedia Framework ffmpeg Plugin local/gst-plugins-bad 1.12.4-3 GStreamer Multimedia Framework Bad Plugins local/gst-plugins-base 1.12.4-1 GStreamer Multimedia Framework Base Plugins local/gst-plugins-base-libs 1.12.4-1 GStreamer Multimedia Framework Base Plugin libraries local/gst-plugins-good 1.12.4-2 GStreamer Multimedia Framework Good Plugins local/gst-plugins-ugly 1.12.4-3 GStreamer Multimedia Framework Ugly Plugins local/gst-python 1.12.4-1 GStreamer Python 3 binding overrides local/gst-transcoder 1.12.2-1 GStreamer Transcoding API library local/gstreamer 1.12.4-1 GStreamer open-source multimedia framework core library local/phonon-qt5-gstreamer 4.9.0-4 Phonon GStreamer backend for Qt5 local/pitivi 0.99-4 Editor for audio/video projects using the GStreamer framework

ghost commented 6 years ago

Graphics card is NVIDIA Geforce GTX 970 4GB that uses round 1.8GB (45%) Manjaro 64bit

Atterratio commented 6 years ago

I have no ideas, because I use the same distrib and camera as you. last try ldd /usr/lib/obs-plugins/obs-gphoto.so output?

Atterratio commented 6 years ago

Try to update the system and rebuild the plugin, if you have't do so already. Are there any other programs that can be occupied by the camera, such as a photo manager or automatic camera storage? Does the camera do any actions, before it starts to show preview it should raise the mirror? Any errors at "gphoto2 --capture-preview", obs should not been run?

BenBarker commented 6 years ago

I had a similar issue with a Canon 80D in Lubuntu. Camera recognized by the plug-in but no picture. It turns out that Lubuntu was automatically mounting the camera as a USB device when it was plugged in. "Ejecting" or unmounting the camera before starting OBS fixed the issue.

Just as a side note, the file manager strangely showed two cameras connected. I was only able to unmount one of them. But that seemed to solve the issue. I think that may be some weirdness with my desktop manager and has nothing to do with this plugin or obs.