Digital TV tuning on Linux has evolved significantly with the dvbv5 suite of tools. At the heart of the channel scanning process lies the initial file — a critical yet often misunderstood component. This article explains what the initial file is, how it works, and how to use it effectively.
For terrestrial TV (antenna), you must define the center frequency and bandwidth. Below is a standard DVB-T initial file for a region using UHF frequencies with 8MHz bandwidth. dvbv5scan initial file
File: dvbt-initial.conf
# Delivery system definition
DELIVERY_SYSTEM = DVBT
Verbose Scanning
Add -v for verbose output to see exactly what dvbv5scan is doing: Understanding the DVBv5-Scan Initial File: A Guide to
dvbv5scan -a 0 -f 0 -I my_initial.ini -v -o channels.conf
You will see lines like:
>>> Trying to lock to frequency 514000000
>>> Lock succeed (status: 0x1f)
>>> Service: Das Erste HD (service_id: 0x1111)
Frequency Bandwidth
4. Example: DVB-S (Satellite)
Satellite files are more complex because they require orbital position, polarization, and symbol rates. You will see lines like: >>> Trying to
File: dvbs-initial.conf
DELIVERY_SYSTEM = DVBS
5. Practical Usage of the Initial File