There is a nice package wxCam that used to be included in the opensuse (last
one was, I think 10.3). Or perhaps I am wrong and it was from the Packman
repo. Who maintains these packages?
I installed it from source and it must have ended up installing about 200MB
of dependencies and dependencies of dependencies.
I am not knowledgeable enough to create an rpm (checkinstall does not seem
to be able to create an rpm). Is there an alternative?
Maybe you will have to wait for a while for the availability from packman.
You can try cheese. It is the one I am using right now. Like you I am still waiting for another app (kino) for my video cam and hoping hat it will be available soon. I lost it since upgrading to 11.2.
Having taken a peek at source code it requires some libs that aren’t packaged for 11.2 anymore, infact it seems some of them never have been thus it would require installing them by hand to be able to compile a working binary.
I suggest you take a look into other programs as a solution.
Chrysantine wrote:
> What’s your “Arch” G? i586 or x86_64?
Arch is x86_64 bit.
> Having taken a peek at source code it requires some libs that aren’t
> packaged for 11.2 anymore, infact it seems some of them never have been
> thus it would require installing them by hand to be able to compile a
> working binary.
I see, yes I wondered if that was from Packman repo rather the official
distribution…
The other one I needed to install by hand was CImg (which is just a .h
file).
> I suggest you take a look into other programs as a solution.
OK, thanks. Any other suggestions of what program might record avi sequences
and work nicely with the Philips SPC900NC webcam?
I am using KDE, if that makes any difference.
That does not work for me in 11.2 (with my Phillips webcam) and I have not had time to investigate, nor do I know why (I suspect something in v4l is packaged different in 11.2 compared to 11.1).
In fact, the only 11.2 program that I have found thus far that works with my webcam is amsn.
> If you figure out, let me know.
Hi oldcpu,
In on machine I did manage to compile wxCam and it works OK.
The only thing I had to observe was that the version of CImg.h was not the
latest, but 1.2.7 which is about the same date of some of the wxCam source
files.
The only down bit of compiling it is that there are so many devel packages
(and their dependencies) to install…
> In fact, the only 11.2 program that I have found thus far that works
> with my webcam is amsn.
Here skype works too after installing the driver:
sn9c20x-kmp-desktop
and some 32 bit libraries (so skype works in the 64bit architecture).
To make skype work in 11.2 x86_64 one needs these:
sudo zypper install xorg-x11-libXv-32bit libqt4-32bit libqt4-x11-32bit
I removed the openSUSE-10.3 wxcam from my openSUSE-11.2, and tried one more time to custom compile wxcam from tarball, and also to rebuild the openSUSE-10.3 from src (with “rpmbuild --rebuild wxcam.src.rpm” ) on my openSUSE-11.2 with no luck.
So per TaraIkeda’s approach, I took at look at the 64-bit .deb file, … Its a newer version of wxcam (1.0.4) than the openSUSE-10.3 version (which is version 0.9.4). The debian " wxcam_1.0.4-1~getdeb1_amd64.deb " did indeed convert to an rpm relatively painlessly with no hiccups with “alien”, possibly because I had the pre-requisite apps already installed.
oldcpu wrote:
>> All functions appear to work but “preferences” , and the openSUSE-10.3
>> wxcam (on 11.2) crashes with a segfault when ever that is pressed.
Oh, I will check this next…
>> removed the openSUSE-10.3 wxcam from my openSUSE-11.2, and tried one
> more time to custom compile wxcam from tarball, and also to rebuild the
> openSUSE-10.3 from src (with “rpmbuild --rebuild wxcam.src.rpm” ) on my
> openSUSE-11.2 with no luck.
Well, I was able to compile the latest tar. What was the error CImage.h
missing? If so, you need an old version of that file (I used 1.2.7) copied
in the folder that you compile from.
> So per TaraIkeda’s approach, I took at look at the 64-bit .deb file,
> … Its a newer version of wxcam (1.0.4) than the openSUSE-10.3 version
> (which is version 0.9.4). The debian " wxcam_1.0.4-1~getdeb1_amd64.deb
> " did indeed convert to an rpm relatively painlessly with no hiccups
> with “alien”, possibly because I had the pre-requisite apps already
> installed.
Yes, I got the error CImage.h missing when I tried to compile from the latest tar. Like you, at that point I copied CImage.h (version 1.3.2) into the folder in which one compiles. But then I got more errors on CImage so I stopped at that point.
Did you build on a 32-bit or a 64-bit ? … or maybe just the functions have changed between 1.2.7 and 1.3.2 of CImage. Here are the final errors:
frame.cpp:473: error: no matching function for call to ‘cimg_library::CImg<unsigned char>::noise()’
../CImg.h:15586: note: candidates are: cimg_library::CImg<T>& cimg_library::CImg<T>::noise(double, unsigned int) [with T = unsigned char]
frame.cpp:478: error: no matching function for call to ‘cimg_library::CImg<unsigned char>::sharpen()’
../CImg.h:20772: note: candidates are: cimg_library::CImg<T>& cimg_library::CImg<T>::sharpen(float, bool, float, float, float) [with T = unsigned char]
frame.cpp:494: error: no matching function for call to ‘cimg_library::CImg<unsigned char>::draw_text(char [80], unsigned int, unsigned int, unsigned char [3], unsigned char [3], int)’
frame.cpp: In member function ‘cimg_library::CImg<unsigned char> Frame::cimg_from_rgb(const unsigned char*, unsigned int, unsigned int)’:
frame.cpp:553: error: ‘struct cimg_library::CImg<unsigned char>’ has no member named ‘ptr’
frame.cpp:553: error: ‘struct cimg_library::CImg<unsigned char>’ has no member named ‘ptr’
frame.cpp:553: error: ‘struct cimg_library::CImg<unsigned char>’ has no member named ‘ptr’
frame.cpp:555: error: invalid use of member (did you forget the ‘&’ ?)
frame.cpp:555: error: invalid use of member (did you forget the ‘&’ ?)
frame.cpp: In member function ‘void Frame::rgb_from_cimg(const cimg_library::CImg<unsigned char>&, unsigned char*)’:
frame.cpp:565: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘dimx’
frame.cpp:565: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘dimy’
frame.cpp:568: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘ptr’
frame.cpp:569: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘dim’
frame.cpp:569: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘ptr’
frame.cpp:570: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘dim’
frame.cpp:570: error: ‘const struct cimg_library::CImg<unsigned char>’ has no member named ‘ptr’
make[2]: *** [frame.o] Error 1
make[2]: Leaving directory `/home/oldcpu/tars/wxcam-1.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oldcpu/tars/wxcam-1.0.4'
make: *** [all] Error 2
> Did you build on a 32-bit or a 64-bit ? … or maybe just the
> functions have changed between 1.2.7 and 1.3.2 of CImage. Here are the
> final errors:
Yes, that is the reason. 1.2.7 is dated about the same time of some wxcam
files. Yes, I got the same errors as you, but it compiles with 1.2.7.
I just converted the .deb to rpm in my laptop, I will test in the desktop
with the webcam next.
Many thanks for all the tips. I learned a lot in this process.
After some a bunch of installs and uncharacteristically horrible notes, I installed camorma, cheese, gqcam, plus have mplayer/mencoder working under openSUSE-11.2 for my phillips web cam: