It took many hours of looking at and stepping through the source code to discover this solution.
Please, let me know if anyone finds this example helpful.
The following is an actual line from
channels.conf in ATSC
zap format:
We shall describe the line using the following generic format:
Code: Select all
MY_CHANNEL_NAME:nnnnnnnnn:8VSB:xx:yy:p
Using this convention, the proper command to use to launch VLC from the command line is as follows:
Code: Select all
% vlc dvb://frequency=nnnnnnnnn :dvb-adapter=0 :dvb-srate=0 :dvb-modulation=8VSB --program=p
For our specific example (channel KOAT-DT), the command to use for launching VLC is as follows:
Code: Select all
vlc dvb://frequency=177028615 :dvb-adapter=0 :dvb-srate=0 :dvb-modulation=8VSB --program=3
Hopefully, this example for programatically (command-line) tuning ATCS US digital broadcast will be useful to others.
Cheers,
Byron Formwalt