linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] linphone and webcam video not working


From: Simon Morlat
Subject: Re: [Linphone-users] linphone and webcam video not working
Date: Mon, 15 Jan 2007 17:19:27 +0100
User-agent: KMail/1.9.5

Hi,

Linphone expects the camera to return the exact video size, so no resizer is 
used.
I would prefer the capture filter to crop the picture to fit into the 
requested size. (I'll implement that later).

Simon


Le vendredi 12 janvier 2007 12:45, Aymeric Moizard a écrit :
> This camera is working only in QVGA mode: I'm using it with mediastreamer2
> and have fixed the CVS 2 days ago to make it work :)
>
> I don't think linphone can currently handle the workaround that was found
> for mediastreamer: a resizer must be pluggued after the capture filter and
> I don't think there is one currently? Simon? Can you comment on this?
>
> tks,
> Aymeric MOIZARD / ANTISIP
> amsip - http://www.antisip.com
> osip2 - http://www.osip.org
> eXosip2 - http://savannah.nongnu.org/projects/exosip/
>
> On Fri, 12 Jan 2007, Simon Morlat wrote:
> > Hi,
> >
> > The problem is with that driver or camera that isn't able to provide the
> > CIF or QCIF standart resolution.
> > We are working on this problem to find a workaround in linphone.
> >
> > Simon
> >
> > Le mercredi 10 janvier 2007 16:29, Tomi Hautakoski a écrit :
> >> Hello all,
> >>
> >> I've been using linphone for a while now and it seems great! However,
> >> now I needed to use it's video capabilities with a webcam (Logitech
> >> Quickcam Messenger Plus) and looks like linphone doesnt know how to set
> >> the devices properties right:
> >>
> >> address@hidden qc-usb-messenger-1.6]# ortp-message-oRTP-0.12.0
> >> initialized.
> >> ortp-message-Card ALSA: default device added
> >> ortp-message-Card ALSA: Intel 82801BA-ICH2 added
> >> ortp-message-Card ALSA: Camera added
> >> ortp-message-Card OSS: /dev/dsp added
> >> ortp-message-Card OSS: /dev/dsp added
> >> ortp-message-Card OSS: /dev/dsp1 added
> >> ortp-message-Cannot open directory /opt/lp/lib/mediastreamer/plugins: No
> >> such file or directory
> >>
> >> | INFO2 | <eXosip.c: 409> IPv6 is enabled. Pls report bugs
> >> | ERROR | <eXutils.c: 131> Error in connect: Network is unreachable
> >> |WARNING| <eXutils.c: 139> Could not find interface to reach
> >>
> >> 2001:638:500:101:2e0:81ff:fe24:37c6
> >>
> >> | INFO1 | <eXosip.c: 333> eXosip: Reseting timer to 15s before waking
> >> | up!
> >>
> >> ortp-message-v4l_start: open, fd=25
> >> ortp-message-Found Logitech QuickCam USB device.
> >> ortp-message-Getting video channel Camera
> >> ortp-message-Channel is a camera
> >> ortp-message-A valid video channel was found.
> >> ortp-message-Default picture properties:
> >> brightness=32768,hue=32768,colour=32768,contrast=32768,depth=24,
> >> palette=4.
> >> ortp-warning-Could not set picture properties: Invalid argument
> >> ortp-message-Driver does not support YUV420P, trying RGB24...
> >> ortp-message-Driver supports RGB24, using that format.
> >> ortp-error-Could not set window size: Invalid argument
> >> ortp-message-ms_filter_link: MSV4l:0x826c598,0-->MSPixConv:0x83095e0,0
> >> ortp-message-ms_filter_link:
> >> MSPixConv:0x83095e0,0-->MSSdlOut:0x826c6d8,0 ortp-message-v4l_thread
> >> starting
> >> ortp-warning-We are late of 58 miliseconds.
> >> ortp-message-Using 1-frames mmap'd buffer at 0xb5eb9000, len 321408
> >> ortp-warning-v4l_grab_image_mmap: error in VIDIOCMCAPTURE: Invalid
> >> argument.
> >> ortp-message-linphone_friend_apply() done.
> >> ortp-message-linphone_friend_apply() done.
> >> ortp-warning-We are late of 61 miliseconds.
> >> ortp-warning-v4l_grab_image_mmap: error in VIDIOCMCAPTURE: Invalid
> >> argument.
> >> ortp-warning-v4l_grab_image_mmap: error in VIDIOCMCAPTURE: Invalid
> >> argument.
> >>
> >> ...
> >>
> >> ortp-warning-v4l_grab_image_mmap: error in VIDIOCMCAPTURE: Invalid
> >> argument.
> >> ortp-message-munmap() done (0xb5eb9000,321408)
> >> ortp-message-v4l_thread exited.
> >> ortp-message-v4l thread has joined.
> >> ortp-message-ms_filter_unlink: MSV4l:0x826c598,0-->MSPixConv:0x83095e0,0
> >> ortp-message-ms_filter_unlink:
> >> MSPixConv:0x83095e0,0-->MSSdlOut:0x826c6d8,0
> >>
> >> This error above is repeated endlessly until I hit the 'enable video'
> >> button again to make video window shutdown. The driver for the webcam is
> >> qc-usb-messenger-1.6 and here's what it's conf program tells about the
> >> device:
> >>
> >> # qcset -i
> >> Name          : Logitech QuickCam USB
> >> Type          : capture
> >> Channels      : 1
> >> Audio devices : 0
> >> Maxsize       : 324,248
> >> Minsize       : 160,120
> >> Overlay coords: 1532713819,1532713819
> >> Capture size  : 324,248
> >> Chromakey     : 1532713819
> >> Flags         :
> >> Channel       : 0
> >> Name          : Camera
> >> Tuners        : 0
> >> Flags         :
> >> Type          : camera
> >> Norm          : 0
> >> Brightness    : 32768
> >> Hue           : 32768
> >> Color         : 32768
> >> Contrast      : 32768
> >> Whiteness     : 32768
> >> Depth         : 24
> >> Palette       : RGB888 packed into 24bit words.
> >>
> >> Otherwise my system is a FC 3(also tried with FC 4) with kernel
> >> 2.6.15.7. I tested the webcam with gimp & sane and it produced a fine
> >> picture so the v4l should work. Any ideas how to get video running?
> >>
> >> Thanks,
> >>
> >> Tomi Hautakoski
> >> address@hidden
> >>
> >>
> >> _______________________________________________
> >> Linphone-users mailing list
> >> address@hidden
> >> http://lists.nongnu.org/mailman/listinfo/linphone-users
> >
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/linphone-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]