linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] video call on raspberry pi


From: Russell
Subject: Re: [Linphone-developers] video call on raspberry pi
Date: Tue, 23 Jun 2015 12:57:06 +0800

Hi, Guillaume

Actually linphone-python does have log outputs, I just forgot that I had configured python logging to write log output to a file.
So following is lines of output before my application aborted.

INFO:root:open '/dev/snd/pcmC0D0c' failed (-2)
WARNING:root:alsa_open_r: Error opening PCM device default
INFO:root:Stun packet sent for session [0x17356e8]
INFO:root:RtpSession [0x1747060] sending to rtp [218.5.96.230:36576] rtcp [218.5.96.230:36577
INFO:root:Using permissive algorithm
INFO:root:Stun packet sent for session [0x1747060]
INFO:root:Using WebM Project VP8 Encoder v1.3.0
INFO:root:Using the default video configuration list
INFO:root:Limiting bitrate of video encoder to 1500000 bits/s for stream [0x75590fd8]
INFO:root:Video configuration set: bitrate=1500000bits/s, fps=12.000000, vsize=352x288 for encoder [0x7554fca8]
INFO:root:Driver is bm2835 mmal, version is 201230
INFO:root:format MS_YUV420P : max_fps=90, native=1, compressed=0
INFO:root:format MS_YUYV : max_fps=90, native=1, compressed=0
INFO:root:format MS_RGB24 : max_fps=90, native=1, compressed=0
INFO:root:format MS_MJPEG : max_fps=90, native=1, compressed=1
INFO:root:Candidate: 0
INFO:root:MSAudioMixer [0x7555e7b0] is entering bypass mode.
INFO:root:alsa_open_w: opening default at 8000Hz, bits=16, stereo=0
WARNING:root:alsa_set_params: periodsize:256 Using 512
INFO:root:V4L2: selected format is MS_YUV420P
WARNING:root:alsa_set_params: period:8 Using 8
INFO:root:alsa_open_w: Audio params set
INFO:root:Size of webcam delivered pictures is 352x288. Format:0x00000001
INFO:root:Output video size adjusted to match camera resolution (352x288)
INFO:root:Video configuration set: bitrate=300000bits/s, fps=18.000000, vsize=352x288 for encoder [0x7554fca8]
INFO:root:Setting sent vsize=352x288, fps=18.000000
INFO:root:Video configuration set: bitrate=300000bits/s, fps=18.000000, vsize=352x288 for encoder [0x7554fca8]
INFO:root:ms_filter_link: MSV4L2Capture:0x7554f718,0-->MSPixConv:0x7558c058,0
INFO:root:ms_filter_link: MSPixConv:0x7558c058,0-->MSTee:0x7558fa58,0
INFO:root:ms_filter_link: MSTee:0x7558fa58,0-->MSSizeConv:0x7554f830,0
INFO:root:ms_filter_link: MSSizeConv:0x7554f830,0-->MSVp8Enc:0x7554fca8,0
INFO:root:ms_filter_link: MSVp8Enc:0x7554fca8,0-->MSRtpSend:0x7554d7b0,0
INFO:root:ms_filter_link: MSTee:0x7558fa58,2-->MSJpegWriter:0x75595910,0
INFO:root:Using WebM Project VP8 Decoder v1.3.0
ERROR:root:no such method on filter MSVp8Dec, fid=16389 method index=7
CRITICAL:root:No video display filter could be instantiated. Please check build-time configuration
Aborted


I spent some time with mediastreamer2 recently, before I noticed that I missed above log outputs. It does not seems a difficult probelm to solve, I will look into it in details, but if you can provide some guidance, that would be very helpful.
We will build the mediastreamer2 plugin for raspberrypi if we feel neccessary. I am glad to contribute, although I have little experience with C.

By the way, distribution provided linphoen of ubuntu-mate running on raspberrypi is of version 3.6.1, which use GLXVideo as the video display filter by default. That is why linphone on can display video on ubuntu-mate.





On Tue, Jun 2, 2015 at 11:43 AM, Russell <address@hidden> wrote:
Hi 

this is what I got on gdb session, any idea that I can get a full stacktrace?

Program received signal SIGABRT, Aborted.
0x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0  0x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0x76d1e65c in abort () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0x00000120 in ?? ()
#3  0x00000120 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)


On Mon, Jun 1, 2015 at 6:50 PM, Guillaume Bienkowski <address@hidden> wrote:
Well, there’s no automatic way to use the OMX driver of the RasPi through V4L, so no, we don’t use it (yet).
If you feel like contributing to the effort of adding a mediastreamer2 plugin for it, be our guest!

Also, your problem with XV is that you must be using a non-accelerated desktop which does not support XV as graphics acceleration. 
Check out how to enable it in your distribution.

The problem of python on RPi2 is strange though. Could you run it into GDB and grab a stracktrace to have an idea of the problem ?

Guillaume Bienkowski

Le 1 juin 2015 à 12:39, Russell <address@hidden> a écrit :

There is a saying that the video lags because linphone does not "use the PI hardware acceleration for video encode/decode". Is that (still) true? maybe that is what causes the problem of ubuntu mate on raspberry pi.

On Mon, Jun 1, 2015 at 6:35 PM, Russell <address@hidden> wrote:
Hi,

Is it possible to make a video call on the raspbian system, I tested it with linphone 3.8.2 and the video preview windows just shows a black screen (ortp-error-Could not find suitable format or Xv port to work with). The ubuntu mate system installed on raspberry pi 2 does show video preview, but it lag a pretty long time.

linphone python claims to be working on raspberry pi, but when I enable video on the other end (a linphone-android app), the end running linphone python aborted without much information.

Thanks,
Russell

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




reply via email to

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