WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: linphone - does it still work with the actual dependencies?  (Read 7279 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
linphone - does it still work with the actual dependencies?
« on: December 10, 2011, 07:22:18 AM »
hi bmarkus,

i want to use linphone extensively in the future, because i want to communicate with friends abroad.

i use mc4.1 and after loading linphone ondemand i get following error messages:


tc@box:~$ linphone

(linphone-3:10390): GLib-GObject-WARNING **: g_object_set_valist: object class `GtkSettings' has no property named `gtk-menu-images'
(linphone-3:10390): GLib-GObject-WARNING **: g_object_set_valist: object class `GtkSettings' has no property named `gtk-button-images'
ortp-warning-Cannot read config, no core created yet.
(linphone-3:10390): libglade-WARNING **: Error loading image: Failed to open file '/usr/local/share/linphone/linphone2.png': No such file or directory
(linphone-3:10390): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `icon'
(linphone-3:10390): libglade-WARNING **: Radio button group video_item could not be found
(linphone-3:10390): libglade-WARNING **: Error loading image: Failed to open file '/usr/local/share/linphone/linphone2.png': No such file or directory
(linphone-3:10390): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `icon'
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:0
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 1
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:1
Segmentation fault


by the way, i tried at first a working oss- and lateralso a alsa-configuration,
after some missing dependencies i tried some additional alsa-packages, too.
but no result, the linphone window opens just for a very short moment and closes immediately.

would you be so kind a give me some hints that i can solve this problem?
every help is appreciated!
thank you.
« Last Edit: December 10, 2011, 08:29:09 AM by netnomad »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: linphone - does it still work with the actual dependencies?
« Reply #1 on: December 10, 2011, 09:10:12 AM »
I tried cca. 2 weeks ago on a clean TC 4.1 and it was working fine including video. Will take a look.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: linphone - does it still work with the actual dependencies?
« Reply #2 on: December 10, 2011, 09:14:55 AM »
that would be really great and kind of you!
i didn't have the courage to ask for the video...
hard to believe that tc supports even linphone with video...
that would be great to have a real alternative to the proprietary skype!
« Last Edit: December 10, 2011, 09:17:38 AM by netnomad »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: linphone - does it still work with the actual dependencies?
« Reply #3 on: December 10, 2011, 09:44:35 AM »
I'm getting the same warnings as you up except I have only one set of ALSA messages. After that it works, see attached pictures just taken.

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: linphone - does it still work with the actual dependencies?
« Reply #4 on: December 10, 2011, 09:57:34 AM »
you are right, we have the same error messages...
with the exception of "Segmentation fault".

by the way: on my current notebook i have no webcam,
only loudspeakers and microfon, could that be a source for the errors?
i use a Intel(R) Pentium(R) M processor 1.73GHz with 1GB RAM
with intel pci-express-grafic on board.

then i tried the same configuration on my acer aspire one netbook,
that has a built-in webcam.
i get the same segmentation fault,
but i see the two windows for 1-2 seconds,
a good looking sip-gui-window and a black webcam-window.
is there a way to start sip without the video-option?
perhaps my webcam isn't enough configured?

the same misbehavior happens with very basic boot codes: norestore
just basic microcore xvesa plus fluxbox plus linphone!

thank you in advance for every help and hint.
perhaps you could give me a list of your loaded programs?
on that base i could find missing dependency that wasn't noticed yet?
« Last Edit: December 10, 2011, 10:26:26 AM by netnomad »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: linphone - does it still work with the actual dependencies?
« Reply #5 on: December 10, 2011, 04:43:20 PM »
hi bmarkus,

after deactivating the video function, i can start linphone properly.
after my registration at sip.linphone.org, i can ring and hang up from my note- to my netbook and backwards.
though i have no headset yet and cause i'm not sure whether i configured the right hardware-devices
for the headphone, loudspeaker and microphone, i plan to buy me a external webcam with built-in microphone.

can you recommend your webcam? does it have a built-in microphone?
do you prefer certain manufactures and models?
i've read that certain drivers are in the kernels and others are proprietary.

thanks for every help.
« Last Edit: December 10, 2011, 04:45:28 PM by netnomad »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: linphone - does it still work with the actual dependencies?
« Reply #6 on: December 10, 2011, 05:31:06 PM »
hi bmarkus,

now i tried

mplayer -v tv://

and my builtin-webcam in my acer-aspire-one-netbook started to work!

these a the messages by mplayer:
Code: [Select]
tc@box:~$ mplayer -v tv://
MPlayer SVN-r33811-snapshot-4.4.3 (C) 2000-2011 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Intel(R) Atom(TM) CPU N270   @ 1.60GHz (Family: 6, Model: 28, Stepping: 2)
extended cpuid-level: 8
extended cache-info: 33587264
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/tc/.mplayer/codecs.conf'
Reading /home/tc/.mplayer/codecs.conf: Can't open '/home/tc/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
init_freetype
get_path('font/font.desc') -> '/home/tc/.mplayer/font/font.desc'
font: can't open file: /home/tc/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/tc/.mplayer/fonts'
Configuration: --disable-real --disable-xanim --enable-runtime-cpudetection --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include --disable-mad --disable-fontconfig --disable-mencoder --disable-alsa --disable-sdl --disable-gl --disable-qtx
CommandLine: '-v' 'tv://'
Using nanosleep() timing
get_path('input.conf') -> '/home/tc/.mplayer/input.conf'
Can't open input config file /home/tc/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('.conf') -> '/home/tc/.mplayer/.conf'

Playing tv://.
get_path('sub/') -> '/home/tc/.mplayer/sub/'
STREAM: [tv] tv://
STREAM: Description: TV Input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: Acer Crystal Eye webcam
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Format YUYV   (16 bits, YUV 4:2:2 (YUYV)): Packed YUY2
 Current format: YUYV
v4l2: set format: YVU420
v4l2: ioctl set format failed: Invalid argument
v4l2: set format: YUV420
v4l2: ioctl set format failed: Invalid argument
v4l2: set format: UYVY
v4l2: ioctl set format failed: Invalid argument
v4l2: set format: YUYV
v4l2: set input: 0
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Selected norm : pal
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
==> Found video stream: 0
v4l2: get format: YUYV
v4l2: get fps: 30.000000
v4l2: get width: 640
v4l2: get height: 480
Using a ring buffer for maximum 2 frames, 1 MB total size.
v4l2: ioctl set mute failed: Invalid argument
v4l2: set Brightness: 75 [0, 180]
v4l2: set Hue: 0 [-100, 100]
v4l2: set Saturation: 106 [0, 180]
v4l2: set Contrast: 64 [0, 127]
[V] filefmt:9  fourcc:0x32595559  size:640x480  fps:30.000  ftime:=0.0333
get_path('sub/') -> '/home/tc/.mplayer/sub/'
v4l2: going to capture
X11 opening display: :0.0
Xlib:  extension "XFree86-VidModeExtension" missing on display ":0.0".
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x600 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports ABOVE state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
Xlib:  extension "XVideo" missing on display ":0.0".
[VO_XV] Sorry, Xv not supported by this X11 version/driver
[VO_XV] ******** Try with  -vo x11  or  -vo sdl  *********
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32595559)
[swscaler @ 0x97ca5b0] BICUBIC scaler, from yuyv422 to bgra using MMX2
REQ: flags=0x4C7  req=0x0 
VO: [x11] 640x480 => 640x480 BGRA
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
Sharing memory.
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
v4l2: select timeout
*** [scale] Exporting mp_image_t, 640x480x16bpp YUV packed, 614400 bytes
*** [vo] Allocating mp_image_t, 640x480x32bpp BGR packed, 1228800 bytes
get_path('subfont.ttf') -> '/home/tc/.mplayer/subfont.ttf'
Unicode font: 373 glyphs.
get_path('subfont.ttf') -> '/home/tc/.mplayer/subfont.ttf'
Unicode font: 373 glyphs.

so the webcam is working...
but i don't find any device-name in the terminal-messages?
could you give me a hint,
what i need to get the webcam configured for linphone!?

thank you for your help.
« Last Edit: December 10, 2011, 05:40:01 PM by netnomad »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: linphone - does it still work with the actual dependencies?
« Reply #7 on: December 11, 2011, 01:52:18 AM »
I have a webcam built into the notebook (ACER Aspire 5720Z) and also a built-in microphone. I did not configure cam, it is just working and no experience with other cams with Linux.

Maybe there is somwhere a compatibility list for v4l, or check kernel source.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: linphone - does it still work with the actual dependencies?
« Reply #8 on: December 12, 2011, 03:08:22 PM »
hi bmarkus,

i found nice compatibility lists and bought me a logitec c270...
i was told that it should be a well-linux-supported webcam, based on the uvc-driver.
actually i don't think that i have driver problems, because both webcams work flawless with mplayer.
i guess the problem is linphone, that crashes.
perhaps pulseaudio could hide another problem as well.
i read in forums that alsa and pulseaudio can cause some difficulties.

so it would be really great, if you want to update the version to 3.4.3 by the next time?
meanwhile i do heavy testing and inform you about the results.
« Last Edit: December 12, 2011, 03:10:49 PM by netnomad »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: linphone - does it still work with the actual dependencies?
« Reply #9 on: December 12, 2011, 03:34:40 PM »
In January
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: linphone - does it still work with the actual dependencies?
« Reply #10 on: December 15, 2011, 04:13:05 AM »
hi bmarkus,

i took all my three different platforms and tried with debian squeeze the linphone 3.3.2

and all my webcams work just fine with linphone, that's just great!!!!!!!

for the reason that tinycore became my favorite distribution now
(it's really the minimum requirement toolbox that works for all my needs and
additionally it works on so different hardware, so unbelievable flawless!!!!!!!)
it would be really great to have such a great video-function with linphone on tinycore, too.

i tried to convert the deb- to tcz-packages, but i ran into multiple dependencies
and this debian-converted linphone reported error messages that i couldn't solve yet.
the make-install-instructions of the source are not so easy to understand,
perhaps you could give me a hint
what environment- oder compile-packages of the repository are needed.

thank you for every kind of help!
PS: i have there a little christmas wish... ;-)
just joking, don't care...  care for you!
« Last Edit: December 15, 2011, 04:16:57 AM by netnomad »