AnsweredAssumed Answered

Linphone with mfw_v4lsrc (MXC) camera - maybe use gstreamer?

Question asked by varsmolta on Jul 21, 2013
Latest reply on May 15, 2014 by Konstantin Kovalev

I am able to install linphone on sabrelite running yocto dylan and I can use a usb v4l2 camera with it to make calls. But I cannot use the mfw_v4lsrc (freescale's camera API) with linphone. When I run linphone with the OV5642 camera from boundary devices, I get the following:

 

root@imx6qsabrelite:~# linphonec -V

ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0

ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:0

ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:0

ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:0

ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1

ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:1

ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown mx6_csi0_powerdown: powerdown=0, power_gp=0x6

PCM default:1

ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:1

mx6_csi0_powerdown: powerdown=1, power_gp=0x6

ERROR: v4l2 capture: slave not found!

Ready

linphonec> mx6_csi0_powerdown: powerdown=0, power_gp=0x6

ortp-error-Could not find supportmx6_csi0_powerdown: powerdown=1, power_gp=0x6

ed pixel format for 352x288

ortp-error-Could not find supported pixel format for 320x240

ortp-error-Could not find supported pixel format for 176x144

mx6_csi0_powerdown: powerdown=0, power_gp=0x6

ortp-error-Could not find suitable format or Xv port to work with.

Refreshing

ortp-error-Could not open display (null)

ortp-error-Could not find supportmx6_csi0_powerdown: powerdown=1, power_gp=0x6

ed pixel format for 352x288

ortp-error-Could not find supported pixel format for 320x240

ortp-error-Could not find supported pixel format for 176x144

 

It seems linphone is still using the V4L2 api but we need to modify this to work with the MXC camera. Has anyone had any experience with linphone and freescale's mxc camera interface? Hopefully I can use gstreamer plugin to capture the camera frame and feed it to linphone via the mediastreamer2 API?

Outcomes