![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() |
Skype crash when I start my webcam
If I try to start my webcam in a call or if I try to press the test button in skype options it crashes. Just skype. After opening it again I it works fine until I do the same thing.
After opening skype in terminal this is what I get when I press the test button in Video Options: Code:
Skype V4L: Failed to set picture format Skype V4L: Could not find a suitable capture format Starting the process... Skype Xv: Xv ports available: 1 Skype XShm: XShm support enabled Skype Xv: Using Xv port 84 Aborted I tried searching this forum for a solution for my problem but I did not found one. I hope someone will help me and I hope I did not missed the category for this thread. All the best, Dimitar |
|
|
|
|
|
#2 | |
|
Just Give Me the Beans!
![]() Join Date: Mar 2008
Beans: 68
|
Re: Skype crash when I start my webcam
Quote:
|
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() |
Re: Skype crash when I start my webcam
In Intrepid, to fix this problem, I installed the libv4l-0 package and preload it with Skype like this:
Code:
env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2007
Beans: 8
|
Re: Skype crash when I start my webcam
Thanks! That advice was spot on for me!
|
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Feb 2005
Beans: 51
|
Re: Skype crash when I start my webcam
Is the following an environment variable and if so where does it get set, (i.e. the .profile file, etc.)?
env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype TNX |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2008
Beans: 6
Ubuntu 8.04 Hardy Heron
|
Re: Skype crash when I start my webcam
Guys, I'd really appreciate some help. Thanks.
The problem: I've been trying to get my camera work in skype for a few weeks now. If i click on test or start my video, the program crashes. The solution: http://mrk.sed.pl/node/22 has a script that routes a gstreamer stream as a fake webcam into skype, appropriately called skype video hijacker. this is the script: #!/bin/bash # # setup gstfakevideo preload to hijack calls made # to /dev/video0 # #This script runs Skype with libskype_dsp_hijacker.so "filter" #It allows redefining of what devices Skype uses for #microphone, speakers and mixer (especially microphone and #speakers can use different devices) # -- CONFIGURATION -- #default configuration when no option is specified export HIJACKVIDEO="/dev/video0" export GST_PIPE="videotestsrc is-live=true ! video/x-raw-yuv,width=640,height=480,framerate=10/1 ! videoscale ! ffmpegcolorspace ! vertigotv ! ffmpegcolorspace" function help { cat <<EOT Redirect Skype video to gstreamer pipeline Usage: $0 [pipeline definition, gst-launch syntax] Edit the script for full flexibility EOT } case "$1" in -h|--help) help; exit;; # broken --video) export HIJACKVIDEO="$2" shift shift ;; esac export GST_PIPE="$*" test -n "$GST_PIPE" || unset GST_PIPE prefix=/usr/local exec_prefix=${prefix} #prefer use of libskype_dsp_hijacker from current directory if test -f ./libgstfakevideo.so; then libdir=. else libdir=${exec_prefix}/lib fi LD_PRELOAD=${libdir}/libgstfakevideo.so if test -f /lib/libdl.so.2; then LD_PRELOAD=$LD_PRELOAD:/lib/libdl.so.2 fi export LD_PRELOAD # ! video/x-raw-yuv,width=320,height=240,format=(fourcc)YV12 ! identity" # invoke the program with the args given exec skype The problem with the solution: The author is very brief on the instructions and i don't have the knowledge to supplement. Skype doesn't crash, but instead displays a test image: vertical colored bars and a snowy field. When I run the script from the terminal, output is this: $ ./gstfakevideo gst.c create_pipeline (155): pipeline created gst.c create_pipeline (159): pipeline linked gst.c shim_ioctl (201): request=80685600 nr 0 gst.c shim_ioctl (313): result=-1 error=515 Unknown error 515 gst.c shim_ioctl (201): request=803c7601 nr 1 gst.c shim_ioctl (20 gst.c shim_ioctl (313): result=0 error=0 Success gst.c shim_ioctl (201): request=80685600 nr 0 gst.c shim_ioctl (313): result=-1 error=515 Unknown error 515 gst.c shim_ioctl (201): request=803c7601 nr 1 gst.c shim_ioctl (20 gst.c shim_ioctl (313): result=0 error=0 Success gst.c shim_ioctl (201): request=800e7606 nr 6 gst.c shim_ioctl (236): VIDIOCGPICT gst.c shim_ioctl (313): result=0 error=0 Success gst.c shim_ioctl (201): request=400e7607 nr 7 gst.c shim_ioctl (243): VIDIOCSPICT depth:24, colorspace:15 gst.c shim_ioctl (313): result=0 error=0 Success gst.c shim_ioctl (201): request=80207609 nr 9 gst.c shim_ioctl (255): VIDIOCGWIN gst.c shim_ioctl (313): result=0 error=0 Success gst.c shim_ioctl (201): request=4020760a nr 10 gst.c shim_ioctl (259): VIDIOCSWIN gst.c shim_ioctl (313): result=0 error=0 Success Starting the process... Skype Xv: Xv ports available: 1 Skype XShm: XShm support enabled Skype Xv: Using Xv port 84 What I have: The webcam works very well in ekiga using a v4l2 plugin. My hardware drivers app shows GSPCA ZC03xx/VC3xx USB Camera Driver enabled and in use. My system Ubuntu 8.04 running a 2.6.24-21-generic kernel Skype version 2.0.0.72 The newest available UVC driver pack installed a few days ago from http://linuxtv.org/hg/~pinchartl/uvcvideo/file/0280330fd4a0 could someone please help?!? Thanks P.S. I installed libv4l to try one of the suggestions above. i guess the v4l1compat.so resides in /usr/local/lib/libv4l on 8.04, but camera doesn't work, even with that path. the output: $ env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored. Last edited by bradosav; December 5th, 2008 at 04:02 AM.. Reason: added info and edited |
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2008
Location: Tempe, Arizona 'merica
Beans: 27
Ubuntu 9.04 Jaunty Jackalope
|
Thanks AmyRose! Creative Webcam NX and Skype worked under 8.04 but totally failed under 8.10. This solution fixed it right up!
__________________
SGAZ 9.04 32 bit AMD Phenom 9600 2.3GHz /4GB DDR2 1066 / Gigabyte MA790FX-DS5 /Gecube ATI HD3850 |
|
|
|
|
|
#8 |
|
Ubuntu Member
![]() |
This worked beautifully for me too, with my Logitech QuickCam Chat. I edited the entry in my Applications menu so it runs that command instead of just skype when I click it. Thanks so much!
__________________
'To be nobody but yourself in a world which is doing its best, night and day, to make you like everybody else means to fight the hardest battle which any human being can fight; and never stop fighting.' --e.e. cummings |
|
|
|
|
|
#9 |
|
Gee! These Aren't Roasted!
![]() |
Re: Skype crash when I start my webcam
Thanks a lot man! I was having the same problem with Skype video and this fixed it.
|
|
|
|
|
|
#10 |
|
Quad Shot of Ubuntu
![]() |
Re: Skype crash when I start my webcam
Thanksk,
this was unfortunately needed in Jauty as well. However, this fixed the problem with the vertical green lines. Now I hope it fixed the crashing issues as well.
__________________
Mapex: Asus A8R-MVP 939 | Athlon 64 3800+ 2.6GHz | 2GB Kingston pc3200 | Passive Cooled GeForce 8500 | 74GB WD Raptor SATA2 | 750GB Seagate SATA2 | Antec Solo | SilverStone Strider 600W Tama (new): Sony Vaio VGN-NW150J Notebook |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|