The media tree contains the latest drivers for V4L/DVB and Remote Controller.
The v4l-utils tree contains the latest libv4l and other userspace tools for V4L/DVB and Remote Controllers.
The dvb-apps tree contains the latest userspace library and some applications for DVB.
The xawtv3 tree contains the latest version of xawtv version 3 userspace application.
The xawtv4 tree contains the latest version of xawtv version 4 userspace application.
The media build tree contains a building system that allows its compilation with older kernels, for test, plus a system to download the latest drivers. Don't use it for production, as the backport procces is to just check if compilation doesn't break with older kernels. The drivers might not work properly, as they're not consistently tested on older kernels.
Individual developer repositories are available at: http://git.linuxtv.org and (legacy) developer repositores are available at: http://linuxtv.org/hg
The procedure to retrieve a git repository is generally described together with the corresponding repository.
In order to get the latest sources from git from a drivers tree, you need to first clone from Linus git tree, and then add a remote pointing to the tree yo need.For example, to clone the master development repository, install git, and run:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git v4l-dvb
cd v4l-dvb
git remote add linuxtv git://linuxtv.org/media-tree.git
git remote update
git checkout -b media-master remotes/staging/v2.6.37
If you want to clone a different repository, just replace the URL at the
In order to update your repository, you should do:git remote addline above.
git pull . remotes/staging/v2.6.37
And to put your work on the top of a stanging branch:
git rebase remotes/staging/v2.6.37
Follow this procedure to download a tarball containing the latest sources for mercurial trees via the web interface:
To download a tarball containing older sources via the web interface:
To acquire the latest sources, you must first have mercurial installed*.
Some Linux distributions already include it. If yours doesn't, you can
download a binary package or
retrieve the source.
To retrieve the v4l-dvb source tree:
hg clone http://linuxtv.org/hg/v4l-dvb
To update the sources later on:
cd v4l-dvb hg pull -u http://linuxtv.org/hg/v4l-dvb
To retrieve the dvb-apps source tree:
hg clone http://linuxtv.org/hg/dvb-apps
*requires python-2.3 or later.
cd v4l-dvb
make
make install
make clean
make distclean
make unload
make load
make reload
You can browse the files in the CVS repository with viewcvs. You can also download on-the-fly generated tarballs, but please use this feature sparingly as it puts a high load on the machine. If you find yourself downloading the newest sources regularly you should consider using anon-cvs access, as described above.
To browse the video4linux CVS select the "v4l" tree in the upper right of the viewcvs page, or use the link below.
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login
(use an empty password)
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-dvb
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login
(use an empty password)
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P dvb-kernel
If you want to check out the current drivers for the 2.4 kernel:
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P -rlinux_2_4 dvb-kernel
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login
(use an empty password)
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P dvb-apps
(Replace "dvb-apps" with the name of any other module that you want to retrieve.
Look in viewcvs to see which modules exist)
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-kernel
You can later update your sources by running:
cvs -z3 up -dP