openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

videoGrabber issue in linuxarmv6l: need to be updated install_dependencies.sh #138

Closed kalwalt closed 11 years ago

kalwalt commented 11 years ago

videograbberExample compile fine but when launch the app in th window app there is no video images from my webcam. I installed these with the script provided:

apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev gstreamer0.10-ffmpeg libglew-dev libopenal-dev libsndfile-dev libfreeimage-dev libcairo2-dev libgtk2.0-dev libjack-jackd2-dev python-lxml python-argparse portaudio19-dev

this is not sufficient need also to compile fine: gstreamer0.10-plugins-good

also uvcview don't works good.

what is missed?

danzeeeman commented 11 years ago

Have you tested the webcam with another app to ensure it works on the platform? On Mar 6, 2013 4:39 PM, "Walter Perdan" notifications@github.com wrote:

videograbberExample compile fine but when launch the app in th window app there is no video images from my webcam. I installed these with the script provided:

apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev gstreamer0.10-ffmpeg libglew-dev libopenal-dev libsndfile-dev libfreeimage-dev libcairo2-dev libgtk2.0-dev libjack-jackd2-dev python-lxml python-argparse portaudio19-dev

this is not sufficient need also to compile fine: gstreamer0.10-plugins-good

also uvcview don't works good.

what is missed?

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/138 .

kalwalt commented 11 years ago

i tested guvcview but it doesn't works . i have the windows but no video grab from my web cam. This is due to a plugin missed to install?

arturoc commented 11 years ago

the software that it's most similar to how OF manages the camera is cheese. if cheese works OF should work too

kalwalt commented 11 years ago

thanks @arturoc i will try tomorrow with cheese. will see what happens.

kalwalt commented 11 years ago

@arturoc installing cheese solved the issue with videograbberExample but remain the fact that install_dependencies.sh script do not install all the necessary dependencies. to check again this process means try another sd-card installation. i want to do this but you know this take a bit of time... Another thing: fps is very bad with 320 x 240 px. It is unusable as it is. @jvcleave your addon ofxOMX can be used for this purpose ?

arturoc commented 11 years ago

no, ofxOMX is only for video files. i've done 320x240 and i think 640x480 and it was ok, it could be something with the color conversion, there's a fix in develop but i'm not sure if it's been merged yet

jvcleave commented 11 years ago

@kalwalt like @arturoc said - the OMX stuff is video/audio. There is a OMX camera component that I had some hope for but it is for device/chips like the cameras in an Android phone.

kalwalt commented 11 years ago

it could be something with the color conversion, there's a fix in develop but i'm not sure if it's been merged yet

ok so probably it's due to color conversion and this fix in the develop will solve it. don't close this issue until we update the install_dependencies.sh script.