linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] no image while local video capturing.


From: maillist66
Subject: [Linphone-developers] no image while local video capturing.
Date: Tue, 7 Aug 2007 15:19:12 +0800 (CST)

I cross compiled linphone-1.6.0 to i.MX31 successfully,Now I can run linphone well in graphic mode.
 
But I can not receive local image.The vedio window is black.
I got the following messages with command line : linphonec -V -d 6
 
INFO: no logfile, logging to stdout
ortp-message-oRTP-0.13.0 initialized.
ortp-message-Registering all filters...
ortp-message-Registering all soundcard handlers
ortp-message-Card ALSA: default device added
ortp-message-Card ALSA: PMIC-audio added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Loading plugins
ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No such file or directory
ortp-message-ms_init() done
| ERROR | <eXutils.c: 131> Error in connect: Network is unreachable
|WARNING| <eXutils.c: 139> Could not find interface to reach 15.128.128.93
Ready
| INFO1 | <eXosip.c: 333> eXosip: Reseting timer to 15s before waking up!
linphonec> ortp-message-v4l_start: open, fd=8
ortp-message-v4lv2: YUV420P choosen
ortp-message-Device is a video4linux V2 one.
ortp-message-ms_filter_link: MSV4l:0x262a0,0-->MSPixConv:0x26478,0
ortp-message-ms_filter_link: MSPixConv:0x26478,0-->MSVideoOut:0x263f0,0
ortp-message-v4l_thread starting
ortp-error-VIDIOC_STREAMON failed: Invalid argument
ortp-message-Using yuv overlay.
| INFO1 | <eXosip.c: 333> eXosip: Reseting timer to 15s before waking up!
 
so I tried to fix this, I uncomment these lines in file mediastream2/src/msv4l.c
/*      for (i = 0; i < s->frame_max; ++i) {
                struct v4l2_buffer buf;
                memset(&buf,0,sizeof(buf));
                buf.type        = V4L2_BUF_TYPE_VIDEO_CAPTURE;
                buf.memory      = V4L2_MEMORY_MMAP;
                buf.index       = i;
                if (-1==ioctl (s->fd, VIDIOC_QBUF, &buf)){
                        ms_error("VIDIOC_QBUF failed: %s",strerror(errno));
                }
        }
*/ 
 
But there is no local image neither in the video window but filled with color green.
 
this time I got these messages:
INFO: no logfile, logging to stdout
ortp-message-oRTP-0.13.0 initialized.
ortp-message-Registering all filters...
ortp-message-Registering all soundcard handlers
ortp-message-Card ALSA: default device added
ortp-message-Card ALSA: PMIC-audio added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Loading plugins
ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No such file or directory
ortp-message-ms_init() done
| ERROR | <eXutils.c: 131> Error in connect: Network is unreachable
|WARNING| <eXutils.c: 139> Could not find interface to reach 15.128.128.93
Ready
| INFO1 | <eXosip.c: 333> eXosip: Reseting timer to 15s before waking up!
linphonec> ortp-message-v4l_start: open, fd=8
ortp-message-v4lv2: YUV420P choosen
ortp-message-Device is a video4linux V2 one.
ortp-message-ms_filter_link: MSV4l:0x262a0,0-->MSPixConv:0x26478,0
ortp-message-ms_filter_link: MSPixConv:0x26478,0-->MSVideoOut:0x263f0,0
ortp-message-v4l_thread starting
ortp-message-videoout
ortp-message-Using yuv overlay.
ortp-warning-We are late of 593 miliseconds.
ortp-warning-We are late of 546 miliseconds.
ortp-warning-We are late of 960 miliseconds.
...
 
I tested my video camera with the factory's testing program , the cam is OK .
 
Please help me.
Thanks in advance.
 
 
 
 



你 玩 过 大 富 翁 吗?与 朋 友 网 络 对 战,还 能 一 起 挑 战 GM >>
reply via email to

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