TeamViewer with video transmission in Linux?

oh well.. I thought it would never work but then I struggled over a tutorial regarding v4l2… and I got TeamViewer working in Ubuntu (12.04 – bit)

It is so damn simple.

apt-get install v4l2ucp

Test it / Start it:

env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l2convert.so /opt/teamviewer9/tv_bin/script/teamviewer

The webcam is shown in Teamviewer..

I then edited /opt/teamviewer9/tv_bin/script/teamviewer and added the above env line like this:

#!/bin/bash

# If you see this message, you probably attempted to start TeamViewer.
# Please open a terminal (Konsole, gnome-terminal, xterm),
# navigate to this folder (type 'cd /path/to/teamviewer' [Enter])
# then execute TeamViewer (type './teamviewer' [Enter])

TV_SCRIPT_DIR="$(dirname "$(readlink -e "$0")")"
env LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libv4l/v4l2convert.so"

source "$TV_SCRIPT_DIR/tvw_main"

Main "$@";

If you do it that way the good thing is that even the Desktop link will use that preloading library.

Very great..

« back to Blog ListPrint out

Leave a Reply

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