Open Danzibar1 opened 6 years ago
What are you trying to use as a camera?
Logitech C920 webcam. Is V4L supported?
Hi I have the same problem as the built-in camera of my laptop as with the Logitech C922. In other applications, such as OBS, it works perfectly. Could someone solve it? Greetings from Argentina.
@Danzibar1 @charliemartinez
I'll re-post my comment here:
The camera capture feature is using Qt's QCamera class. I'm not so familiar with Linux, but according to this, someone advised as follows:
It looks like some GStreamer plugins are missing. Are all of them installed on your machine? (For GStreamer 0.10) Make sure gst-plugins-good, gst-plugins-ugly and gst-plugins-bad are installed.
Also in the Qt Manual it says;
To run applications that use Qt Multimedia, you might also need to install the following GStreamer plugins: 'good', 'ugly', 'bad', ffmpeg (0.10), and libav (1.x). These additional plugins contain various codecs for audio and video decoding, as well as the necessary components for using the camera APIs.
@shun-iwasawa I'm not sure but I think that in Linux, portable .appimage programs come with their dependencies included. I would like to know if someone else happens and if it happens only with webcams or also with reflex cameras. Greetings.
It looks like some dependencies are missing in our .appimage version. Need to investigate this...
Good! my Logitech C920 works with Debian Buster's new OpenToon repository. I'm happy, but I still wonder what's different there and it's not in morevna's appimage or official and morevna snap (where the cameras still don't work).
@Danzibar1 Were you able to have any succcess with @shun-iwasawa's references?
Unfortunately I haven't managed to get it working on Fedora. I tried the suggestions above but no joy. I was planning on compiling it from source to see if I could get it working like that but I had problems with loads of missing dependencies. Maybe using alien to convert the Debian package would work, I'll give it a try when I get some free time.
Cheers
On Sun, 12 Jan 2020, 05:48 Rodney, notifications@github.com wrote:
@Danzibar1 https://github.com/Danzibar1 Were you able to have any succcess with @shun-iwasawa https://github.com/shun-iwasawa's references?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/opentoonz/opentoonz/issues/1834?email_source=notifications&email_token=AIZQFFK6MVIM5B4STZBKBOLQ5KVJTA5CNFSM4ESVUKV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWSOPI#issuecomment-573384509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZQFFPS2WP2GNVGPLJJOOLQ5KVJTANCNFSM4ESVUKVQ .
The OTX linux AppImage version likely has the same problem, though I can't tell since I can't get my integrated camera to work with my virtual linux machine to test it.
If you do manage to make it work, please let me know what you did and I can see about fixing OTX builds.
I discovered that the problem lies in missing libs. What I find strange is that these have not been included in the appimages. If OpenToonz is installed from Debian Multimedia on Debian Buster it works, since it comes with the necessary libraries by default. What are the necessary libraries? It would be nice if the OpenToonz team could identify and list them. Saying that OpenToonz requires "qt" libraries is not enough. I've read that OpenToonz requires "GStreamer plugins: 'good', 'ugly', 'bad', ffmpeg (0.10), and libav (1.x)" but that's not enough either. There are others, and I don't know what they are, but unless they are also included in the appimages there will still be webcam models that cannot be used. I checked that the appimages do not recognize the webcam in Debian Buster either, so I say that they should include the libraries in the executable.
@quirinux-so - it might just be a path issue - not that required libraries aren't included.
Hi all,
Well things are getting better, I can see my camera in the dropdown and the light comes on but unfortunately...
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.confno alsa devices available(OpenToonz:3421): GStreamer-CRITICAL : 00:19:18.063: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed(OpenToonz:3421): GStreamer-CRITICAL : 00:19:18.063: gst_object_unref: assertion 'object != NULL' failedCameraBin error: "GStreamer error: negotiation problem."CameraBin error: "Internal data stream error."CameraBin error: "Internal data stream error."
So close but not there yet and I don't want to have to install windows on my laptop.
Thanks for everyone's hard work Dan
x
On Sun, 2 Feb 2020 at 21:07, artisteacher notifications@github.com wrote:
@quirinux-so https://github.com/quirinux-so - it might just be a path issue - not that required libraries aren't included.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/opentoonz/opentoonz/issues/1834?email_source=notifications&email_token=AIZQFFOT5PD6ZY2QJ72Z5C3RA4YZ7A5CNFSM4ESVUKV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKSBANA#issuecomment-581177396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZQFFPUOABUNG26MTQFFSLRA4YZ7ANCNFSM4ESVUKVQ .
The problem still persist on fedora 38 for me.
Hi,
I've not had any joy getting camera capture to work in the 1.2.0.2 morevna linux version.
Any tips or workarounds welcome?
Cheers
Dan