You do not always need to write these files from scratch. The LinuxTV community maintains a massive repository of initial tuning files for locations all over the world.
Add -v for verbose output to see exactly what dvbv5scan is doing: dvbv5scan initial file
Happy scanning, and enjoy your glitch-free DVB experience on Linux. You do not always need to write these files from scratch