[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] videodisplay fails(Segmentation fault)
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] videodisplay fails(Segmentation fault) |
Date: |
Mon, 04 Jan 2010 16:14:07 +0100 |
Hi,
Many of the problems due to incomplete drivers (usually new cameras)
relying on libv4l2 are now solved in svn tree.
Please checkout a linphone svn and use oRTP and mediastreamer2 from it.
Then make sure you have libv4l2 and libv4l1 header files installed
(usually in libv4l2-dev or -devel package), then run ./configure in
mediastreamer2.
You should see a message indicating libv4l2 and libv4l1 are found.
Simon
Le lundi 28 décembre 2009 à 16:09 +0800, Atom Chan a écrit :
> Hi,
>
> I used Fedora 12(2.6.31.6-166.fc12.i686), and I tried to study the
> Mediastreamer2 only(not linphone3).
>
> First, I have yum install speex-devel SDL-devel libtheora-devel and
> ffmpeg-devel-0.5-5.20091026svn.fc12.i686.
>
> Then I have install ortp-0.16.1.tar.gz and mediastreamer-2.3.0.tar.gz
> too.
> During the installation, there were no errors.
>
> My camera is Logitech QuickCam Express, I didn't install sepicial
> driver for it, I launched Cheese and it works, but not very fine.
>
> I launched mediastreamer-2.3.0/tests/videodisplay, however the program
> crashed.
> Please help me to see what's the problem.
>
> I also attach the output of gdb.
>
>
> address@hidden tests]$ ./videodisplay
> ortp-message-Registering all filters...
> ortp-message-Registering all soundcard handlers
> ortp-message-Card ALSA: default device added
> ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
> ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:0
> ortp-warning-Could not attach mixer to card: Invalid argument
> ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
> ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:0
> ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
> ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:0
> ortp-warning-Strange, sound card Intel 82801DB-ICH4 does not seems to
> be capable of anything, retrying with plughw...
> ortp-message-Card ALSA: Intel 82801DB-ICH4 added
> ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 1
> ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:1
> ortp-warning-Could not attach mixer to card: Invalid argument
> ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 1
> ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:1
> ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 1
> ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:1
> ortp-warning-Strange, sound card Intel 82801DB-ICH4 Modem does not
> seems to be capable of anything, retrying with plughw...
> ortp-message-Card ALSA: Intel 82801DB-ICH4 Modem added
> ortp-message-Registering all webcam handlers
> ortp-message-Webcam V4L2: /dev/video1 added
> ortp-message-Webcam V4L: /dev/video1 added
> ortp-message-Webcam StaticImage: Static picture added
> ortp-message-Loading plugins
> ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No
> such file or directory
> ortp-message-ms_init() done
> ortp-message-Video size set to 352x288
> ortp-message-Driver is zc3xx
> ortp-message-v4lv2: YUV420P choosen
> ortp-message-Size of webcam delivered pictures is 320x240
> ortp-message-Video size set to 352x288
> ortp-message-ms_filter_link:
> MSV4L2Capture:0x9e38828,0-->MSPixConv:0x9e470c0,0
> ortp-message-ms_filter_link:
> MSPixConv:0x9e470c0,0-->MSVideoOut:0x9e3c578,0
> ortp-message-V4L2 video capture started.
> ortp-message-Using yuv overlay.
> ortp-message-352 x 288 YUV overlay created: hw_accel=0,
> pitches=352,176,176
> ortp-message-planes= 0xb75ab008 0xb75c3c08 0xb75c9f08 101376 25344
> Segmentation fault (core dumped)
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
- Re: [Linphone-developers] videodisplay fails(Segmentation fault),
Simon Morlat <=