[Musix-artelibre] [Musix-usuarios] captura y control sobre webcam

fri jappi frijappi en gmail.com
Lun Ago 9 21:44:20 CEST 2010


El día 9 de agosto de 2010 14:03, joseangon <joseangon47 en gmail.com> escribió:
>
>
> El 9 de agosto de 2010 18:52, fri jappi <frijappi en gmail.com> escribió:
>
>
> Hola.
>
>
>
>> El día 9 de agosto de 2010 13:44, joseangon <joseangon47 en gmail.com>
>> escribió:
>> >
>> >
>> > El 9 de agosto de 2010 15:52, fri jappi <frijappi en gmail.com> escribió:
>> >
>> >
>> > Hola.
>> >
>> >
>> >
>> >> El día 9 de agosto de 2010 09:36, Suso Comesaña <susobaco en gmail.com>
>> >> escribió:
>> >> > arrrgggrrr!!!
>> >> >
>> >> > no entiendo nada,
>> >> >
>> >> > [   17.575592] usbcore: registered new interface driver sn9c20x
>> >> > [   17.575603] sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.04 loaded
>> >> >
>> >> > dice que está cargado el modulo...!!!
>> >> > Si no se te abre konqueror, es porque la orden kdesu konqueror /dev
>> >> > debe
>> >> > hacerse desde consola de usuario, no de root...
>> >> >
>> >> --------------------------------------------
>> >> > konqueror /dev/ (intro)
>> >> cacho en musix2:~$ konqueror /dev/
>> >> --------------------------------------------
>> >>
>> >> esto lo saqué del mail anterior mío
>> >> sí aparece konqueror dev
>> >>
>> >> >> > busca a ver si aparece algún dispositivo video (video0, video1)
>> >>
>> >> no se qué hacer con el cuadro de diálogo en todo caso
>> >> para darte el dato de video
>> >
>> >
>> > quizás pueda valer esto:
>> >
>> >
>> > $ ls -la /dev | grep video
>> >
>> >
>> cacho en musix2:~$ ls -la /dev | grep video
>> crw-rw----  1 root video  10, 175 ago  9 07:17 agpgart
>> crw-rw----  1 root video 226,  64 ago  9 10:18 controlD64
>> crw-rw----  1 root video  29,   0 ago  9 07:17 fb0
>> crw-rw----  1 root video  29,   1 ago  9 10:18 fb1
>> cacho en musix2:~$
>>
>
>
>
>
>
> tantos te sale ? ... no entiendo, aunque varían el Minor Y el Mayor ... pero
> eso debe de dar algún tipo de error, seguro ...
>
> Porqué no repites, pero ahora que muestren todos:
>
>
> $ ls -la /dev | grep video*
>
cacho en musix2:~$ ls -la /dev | grep video*
crw-rw----  1 root video  10, 175 ago  9 11:53 agpgart
crw-rw----  1 root video 226,  64 ago  9 14:54 controlD64
crw-rw----  1 root video  29,   0 ago  9 11:53 fb0
crw-rw----  1 root video  29,   1 ago  9 14:54 fb1

>
>
> Saludos.
>
>
Saludos
>
>
>>
>> >
>> >
>> >>
>> >> Vamos mejor de lo que piensas entonces Suso
>> >> el módulo está cargado y aparece konqueror dev
>> >>
>> >> ¿Qué debo hacer en konqueror dev para darte el dato que pides?
>> >>
>> >> > No uso squeeze, por ahora...pronto empezaran las pruebas...(creo que
>> >> > ese
>> >> > kernel ya da soporte a las microdia...
>> >>
>> >> será bueno.
>> >>
>> >> Haré la instalación que ordenas.
>> >> Todo bien,
>> >> no te apures,
>> >>
>> >> salu2, c
>> >>
>> >
>> >
>> >
>> > Saludos.
>> >
>> >
>> >
>> >
>> >>
>> >> > El 9 de agosto de 2010 10:46, fri jappi <frijappi en gmail.com>
>> >> > escribió:
>> >> >>
>> >> >> El día 9 de agosto de 2010 03:23, Suso Comesaña <susobaco en gmail.com>
>> >> >> escribió:
>> >> >> > Hola Cacho...
>> >> >> >
>> >> >> Hola Suso
>> >> >>
>> >> >> > voy bastante perdido, y no tengo ninguna microdía a mano para
>> >> >> > hacer
>> >> >> > una
>> >> >> > instalación ( que ya la he hecho...)
>> >> >> >
>> >> >> quien usa microdia puede ayudar
>> >> >>
>> >> >> > otra comprobación...
>> >> >> >
>> >> >> > abre consola:
>> >> >> >
>> >> >> > konqueror /dev/ (intro)
>> >> >> cacho en musix2:~$ konqueror /dev/
>> >> >>
>> >> >>
>> >> >>
>> >> >> Aparecen 686 objetos
>> >> >> no se qué son
>> >> >>
>> >>
>> >> >>
>> >> >> dev konqueror petacular
>> >> >> no se qué es
>> >> >> >
>> >> >> > busca a ver si aparece algún dispositivo video (video0, video1)
>> >> >> >
>> >> >> seguro apareció más que eso
>> >> >> no se que hacer
>> >> >>
>> >> >> debe estar ahí
>> >> >> hay algo como para desplazarse por dierctorios, carpetas, etcs.
>> >> >> nidea,
>> >> >>
>> >> >> nunca lo hice en 15 años de win$
>> >> >> seguro 15 años de pecado
>> >> >>
>> >> >>
>> >> >> musix2:/home/cacho# konqueror /dev/
>> >> >> No protocol specified
>> >> >> konqueror: cannot connect to X server :0.0
>> >> >>
>> >> >> ojalá sirva
>> >> >> tal vez esté pidiendo a un programa
>> >> >> abra un directorio
>> >>
>> >> esto nada que ver
>> >> no servía
>> >> >>
>> >> >>
>> >> >> usas squeeze?
>> >> >> ya quisiera yo
>> >> >>
>> >> >>
>> >> >> > en consola...
>> >> >> >
>> >> >> > dmesg | grep sn9c20x (intro)
>> >> >> >
>> >> >> > pega lo que pone...
>> >> >> >
>> >> >> cacho en musix2:~$  dmesg | grep sn9c20x
>> >> >> [   17.575592] usbcore: registered new interface driver sn9c20x
>> >> >> [   17.575603] sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.04
>> >> >> loaded
>> >> >>
>> >> >>
>> >> >> > en consola...
>> >> >> >
>> >> >> > lsmod | grep compat-ioctl32 (intro)
>> >> >> >
>> >> >> > pega lo que pone...
>> >> >> >
>> >> >> cacho en musix2:~$  lsmod | grep compat-ioctl32
>> >> >> cacho en musix2:~$
>> >> >>
>> >> >>
>> >> >>
>> >> >> > Salud!!!
>> >> >> >
>> >> >> >
>> >> >> Salud a todo España!
>> >> >> >
>> >> >> > El 6 de agosto de 2010 22:08, fri jappi <frijappi en gmail.com>
>> >> >> > escribió:
>> >> >> >>
>> >> >> >> :)
>> >> >> >>
>> >> >> >> Tranqui Suso
>> >> >> >> estamos salvados
>> >> >> >>
>> >> >> >> no te apures
>> >> >> >> carnaval
>> >> >> >>
>> >> >> >> El día 6 de agosto de 2010 14:52, joseangon
>> >> >> >> <joseangon47 en gmail.com>
>> >> >> >> escribió:
>> >> >> >> > todo lo siguiente es sólo una linea:
>> >> >> >> >
>> >> >> >> > LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
>> >> >> >> > driver=v4l2:width=640:height=480:fps=25:device=/dev/video0
>> >> >> >> >
>> >> >> >> y me lo dijeron...
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Suerte !!!
>> >> >> >> >
>> >> >> >> ahora es más segura
>> >> >> >> la estoy teniendo entonces
>> >> >> >>
>> >> >> >>
>> >> >> >> Ahí va, todo en una línea
>> >> >> >>
>> >> >> >> Salud y suerte!
>> >> >> >> c
>> >> >> >>
>> >> >> >> cacho en musix2:~$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer
>> >> >> >> tv:// -tv
>> >> >> >> driver=v4l2:width=640:height=480:fps=25:device=/dev/video0
>> >> >> >> MPlayer 1.0rc2-4.3.2-DFSG-free (C) 2000-2007 MPlayer Team
>> >> >> >> CPU: Genuine Intel(R) CPU           T2060  @ 1.60GHz (Family: 6,
>> >> >> >> Model: 14, Stepping: 12)
>> >> >> >> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> >> >> >> Compiled with runtime CPU detection.
>> >> >> >> mplayer: could not connect to socket
>> >> >> >> mplayer: No such file or directory
>> >> >> >> Failed to open LIRC support. You will not be able to use your
>> >> >> >> remote
>> >> >> >> control.
>> >> >> >>
>> >> >> >> Playing tv://.
>> >> >> >> TV file format detected.
>> >> >> >> Selected driver: v4l2
>> >> >> >>  name: Video 4 Linux 2 input
>> >> >> >>  author: Martin Olschewski <olschewski en zpr.uni-koeln.de>
>> >> >> >>  comment: first try, more to come ;-)
>> >> >> >> v4l2: unable to open '/dev/video0': No such device or address
>> >> >> >> v4l2: ioctl set mute failed: Bad file descriptor
>> >> >> >> v4l2: 0 frames successfully processed, 0 frames dropped.
>> >> >> >>
>> >> >> >>
>> >> >> >> Exiting... (End of file)
>> >> >> >>
>> >> >> >>
>> >> >> >> El día 6 de agosto de 2010 14:52, joseangon
>> >> >> >> <joseangon47 en gmail.com>
>> >> >> >> escribió:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > El 6 de agosto de 2010 19:06, fri jappi <frijappi en gmail.com>
>> >> >> >> > escribió:
>> >> >> >> >>
>> >> >> >> >> El día 6 de agosto de 2010 11:23, Suso Comesaña
>> >> >> >> >> <susobaco en gmail.com>
>> >> >> >> >> escribió:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Hola.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> > Hola....Don Cacho...esto se complica...o por lo menos, eso
>> >> >> >> >> > me
>> >> >> >> >> > parece
>> >> >> >> >> > a
>> >> >> >> >> > mi...
>> >> >> >> >> >
>> >> >> >> >> jaj! ok
>> >> >> >> >>
>> >> >> >> >> > mas pruebas...
>> >> >> >> >> >
>> >> >> >> >> > abrimos consola..logueamos root..y ponemos:
>> >> >> >> >> >
>> >> >> >> >> > mknod /dev/video0 c 81 0 (intro)
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > chmod a+rw /dev/video0 (intro)
>> >> >> >> >> >
>> >> >> >> >> > exit (intro)
>> >> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > todo lo siguiente es sólo una linea:
>> >> >> >> >
>> >> >> >> > LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
>> >> >> >> > driver=v4l2:width=640:height=480:fps=25:device=/dev/video0
>> >> >> >> >
>> >> >> >> y me lo dijeron...
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Suerte !!!
>> >> >> >> >
>> >> >> >> ahora es más segura
>> >> >> >> la estoy teniendo entonces
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >> > LD_PRELOAD=/usr/lib/libv4l/
>> >> >> >> >> > v4l2convert.so mplayer
>> >> >> >> >> > tv:// -tv
>> >> >> >> >> > driver=v4l2:width=640:height=480:fps=25:device=/dev/video0
>> >> >> >> >> > -vo x11 (intro)
>> >> >> >> >> >
>> >> >> >> >> musix2:/home/cacho# mknod /dev/video0 c 81 0
>> >> >> >> >> musix2:/home/cacho#
>> >> >> >> >> musix2:/home/cacho# chmod a+rw /dev/video0
>> >> >> >> >> musix2:/home/cacho# exit
>> >> >> >> >> exit
>> >> >> >> >> cacho en musix2:~$ LD_PRELOAD=/usr/lib/libv4l/
>> >> >> >> >> cacho en musix2:~$ v4l2convert.so mplayer
>> >> >> >> >> bash: v4l2convert.so: command not found
>> >> >> >> >> cacho en musix2:~$ tv:// -tv
>> >> >> >> >> driver=v4l2:width=640:height=480:fps=25:device=/dev/video0
>> >> >> >> >> bash: tv://: No existe el fichero o el directorio
>> >> >> >> >> cacho en musix2:~$ -vo x11
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> > ufffff!!!....se pone duro esto...
>> >> >> >> >> >
>> >> >> >> >> tal vez haga algo mal
>> >> >> >> >> no se
>> >> >> >> >>
>> >> >> >> >> > Salud!!
>> >> >> >> >> >
>> >> >> >> >> Salud y gracias, c
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Saludos.
>> >> >> >> >
>> >> >> Veritas liberabit nos
>> >> >>
>> >> >> _______________
>>
>> _______________________________________________
>> Musix GNU+Linux - www.musix.org.ar
>> Musix-usuarios mailing list
>> Musix-usuarios en lists.ourproject.org
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-usuarios
>
>
>
> --
> José A. González
>
> Siempre GNU Linux.
>
> _______________________________________________
> Musix GNU+Linux - www.musix.org.ar
> Musix-usuarios mailing list
> Musix-usuarios en lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-usuarios
>
>



-- 
Veritas liberabit nos



Más información sobre la lista de distribución Musix-artelibre