Ok, Sorry.. The previous post I informed I've been using the v4l driver The point is, I got an erro on LD_PRELOAD I googled for it and found out that v4l is already included in kernels 2.6.XX see here:http://linux.bytesex.org/v4l2/build.html Since I'm using 2.6.24, I think this module is already loaded in the kernel so it makes no sense using LD_PRELOAD. Am I right? So I did modprobe bttv (which a think is the v4l driver available on the kernel 2.6) and tried to open motion - got a green screen, same with mplayer without the LD_PRELOAD. cam stream also didn't work Here is the output of lsmod qith all the relevant drivers loaded Module Size Used by bttv 164884 0 firmware_class 9472 1 bttv ir_common 35076 1 bttv compat_ioctl32 1440 1 bttv i2c_algo_bit 6020 1 bttv videobuf_dma_sg 13476 1 bttv videobuf_core 16836 2 bttv,videobuf_dma_sg btcx_risc 4840 1 bttv tveeprom 15088 1 bttv dm_mod 56004 2 dm_snapshot,dm_mirror sn9c20x 56180 0 microdia 59136 0 soundcore 7680 1 snd videodev 26432 3 bttv,sn9c20x,microdia v4l2_common 16736 2 bttv,videodev v4l1_compat 12612 2 bttv,videodev i2c_core 22656 5 bttv,i2c_algo_bit,tveeprom,nvidia,i2c_nforce2 usbcore 127724 5 sn9c20x,microdia,ehci_hcd,ohci_hcd
My question now is: bttv has the same functionality of vi4l2_convert.so? I have no v4l2convert.so nor a /usr/lib/libv4l/ folder... I'll load bttv on boot-time and see what happens.. On Jan 10, 4:15 pm, kihoma <[email protected]> wrote: > I guess I didn't make myself clear enough. I'benn using the mcirodia > driver + v4l2 with all the mentioned softwares. > The LD_PRELOAD hack I sued only on mplayer. I'll try the other > softwares with the same approach and post the results here. > > On Jan 9, 10:15 am, Vasily Khoruzhick <[email protected]> wrote: > > > On Friday 09 January 2009 14:02:10 kihoma wrote: > > > > Well, I tried the following softwares: > > > Camstream > > > Frame-something > > > Motion -http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > webcam - aptitude install webcam > > > > All of then work with v4l2 driver. All of then gave me a green > > > screen. > > > The "best" result was with motion, when a set the config file to use > > > jpeg instead os sn9 or all others configuration possibilities. > > > I get pictures with a black, green and their respective intermediate > > > colors. > > > > So, now I have used softwares that work with v4l2, which is necessary > > > for the microdia driver. And I could not get a clean image at all. > > > > Anyway, I would like to thank you for the help. I'm starting to > > > consider the possibility of buying another webcam with already > > > available drivers. ... > > > Almost all v4l2-applications can't work with sn9c20x driver directly (same > > for > > gspca included in 2.6.27 kernel, same for uvc). You need to install libv4l > > and use LD_PRELOAD hack. > > > The thing is sn9c20x driver supports only bayer, sn9c20x-custom-yuv420 and > > jpeg output formats, and applications just know nothing about these > > formats... > > > I'll repeat one more time: same situation for gspca and uvc drivers. > > > Regards > > Vasily > > > signature.asc > > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
