IS SKYPE VIDEO LINUX ALWAYS A PROBLEM

This article helps to fix video issue on Skype installed on Linux. Refer to the solution section for resolution.


Topic

  • How to get Skype video working with Linux/Fedora/Ubuntu/Debina/Centos/RHEL?
  • Skype video is not working on Linux.
  • Webcam is not working for Skype on Linux.


Solution


  • Make sure that libv4l package is installed on the system.

  • libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class.

  • libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.

  • libv4lconvert offers functions to convert from any (known) pixel-format to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.

  • If the library package libv4l is not found default in OS repository then we check at https://pkgs.org/download/libv4l2.so.0()(64bit) to download the library manually for installation.


Start Skype on Fedora/CentOS/RHEL/Scientific Linux
  • After libv4l package is installed execute the following command in command line to declare a variable LD_PRELOAD for libv4l library path and then lunch Skype.
$ env LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so /usr/bin/skypeforlinux

  • To make this permanent, modify the exec parameter in the Skype application launcher program file /usr/share/applications/skypeforlinux.desktop and add the same command listed above.
$ cat /usr/share/applications/skypeforlinux.desktop |head

[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=env LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so /usr/bin/skypeforlinux %U
Icon=skypeforlinux
Terminal=false
Type=Application
StartupNotify=true
StartupWMClass=Skype


Start Skype on Debian/Ubuntu
  • Install libv4l package
$ sudo apt-get build-dep v4l-utils v4l-conf v4l2ucp libwebcam0 sudo
$ apt-get install v4l-utils v4l-conf v4l2ucp libwebcam0

  • Locate libv4l installed library location
$ locate v4l1compat.so
$ locate skype

  • For example following is the result of above locate command
/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/usr/bin/skypeforlinux

  • Now start Skype from command line using the following command
$ env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/skypeforlinux

In order to make it permanent for every time, modify the application launcher as per the steps given for Fedora/RHEL/Centos.


You May Also Like

avatar

About the Author: TekFik

TekFik is a technical blogging site helps techies and engineers to solve their day to day issues and also allows everyone to share knowledge and feedback. Please feel free to contact us at tekfik.rd@gmail.com if there is anything.

Leave a Reply

Your email address will not be published. Required fields are marked *