how to build tzap (and [acs]zap too; dvb-t/dvb-c/atsc tuning)

Juergen Lock nox at
Sat Jul 24 14:44:11 UTC 2010

Just in case someone is testing e.g. webcamd and looks for this info...

 These four are part of the Linux dvb-apps tree which seems to be
full of Linuxisms and thus not easy to port, but at least the [acst]zap
utilities build with little effort:

	hg clone
	cd dvb-apps/util/szap
	gmake 'CFLAGS+=-I/usr/local/include -DO_LARGEFILE=0'

 This leaves the binaries as dvb-apps/util/szap/?zap and needs
devel/mercurial for the checkout as well as at least devel/gmake
for the build and multimedia/v4l_compat for the linux dvb
headers.  There are some example channel.conf files in
dvb-apps/util/szap/channels-conf/ - you can also use multimedia/w_scan
to generate channels.conf files, see the w_scan homepage at:

and the zap and w_scan utilities linuxtv wiki pages at:


for examples; see especially w_scan options -c, -f, and -X; and -h
as well as -H to make it list the rest of the options it knows.

 And finally for completeness sake, if you use dvb-s(2) you probably
should better use szap-s2 which is already in ports as multimedia/szap-s2:

and its linuxtv wiki page:

 Enjoy, :)

More information about the freebsd-multimedia mailing list