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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,845 Views
varsmolta
Contributor V

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?

Labels (1)
2 Replies

751 Views
konstantinkoval
Contributor II

Hello! If you solve your problem with linphone, please write the solution. I have faced the same issue on my freescale sabre board. Also I can't find "v4l2src" to change.

I will appreciate for any response!

0 Kudos

751 Views
LeonardoSandova
Specialist I

I do not have experience with Linphone.But as I can see, you need to indicate to use mfw_v4lsrc instead of v4l2src somewhere on the source code. BTW, you need to load the corresponding modules (modprobe) before capturing data with the MXC camera.

Leo