zapchannel.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /**
  2. * The zapchannel file format specifies tuning parameters for channels. Each line describes
  3. * a single channel, and consists of multiple options separated by ':'. The exact
  4. * format of each line depends on the DVB type of the channel (i.e. DVBS, DVBT, DVBC, or ATSC).
  5. *
  6. * Note: the lines have been split across multiple lines in the following due to length issues.
  7. *
  8. * The format for DVBT channels is:
  9. *
  10. * <name>:<frequency>:<inversion>:<bandwidth>:<fec_hp>:<fec_lp>:
  11. * <constellation>:<transmission>:<guard_interval>:<hierarchy>:
  12. * <video_pid>:<audio_pid>:<channel_number>
  13. *
  14. * name: name of the channel
  15. * frequency: frequency in Hz
  16. * inversion: one of INVERSION_OFF, INVERSION_ON, or INVERSION_AUTO.
  17. * bandwidth: one of BANDWIDTH_6_MHZ, BANDWIDTH_7_MHZ, or BANDWIDTH_8_MHZ.
  18. * fec_hp: FEC of the high priority stream, one of: FEC_1_2, FEC_2_3,
  19. * FEC_3_4, FEC_4_5, FEC_5_6, FEC_6_7, FEC_7_8, FEC_8_9, or FEC_AUTO.
  20. * fec_lp: FEC of the low priority stream, one of: FEC_1_2, FEC_2_3,
  21. * FEC_3_4, FEC_4_5, FEC_5_6, FEC_6_7, FEC_7_8, FEC_8_9, FEC_AUTO, or FEC_NONE.
  22. * constellation: one of QPSK, QAM_128, QAM_16, QAM_256, QAM_32, or QAM_64.
  23. * transmission: one of TRANSMISSION_MODE_2K, or TRANSMISSION_MODE_8K.
  24. * guard_interval: one of GUARD_INTERVAL_1_32, GUARD_INTERVAL_1_16, GUARD_INTERVAL_1_8, or GUARD_INTERVAL_1_4.
  25. * hierarchy: one of HIERARCHY_NONE, HIERARCHY_1, HIERARCHY_2, or HIERARCHY_4.
  26. * video_pid: PID of the video stream.
  27. * audio_pid: PID of the audio stream.
  28. * channel_number: Transport stream channel number of the program.
  29. *
  30. * DVBC:
  31. *
  32. * <name>:<frequency>:<inversion>:<symbol_rate>:<fec>:
  33. * <modulation>:<video_pid>:<audio_pid>:<channel_number>
  34. *
  35. * name: name of the channel
  36. * frequency: frequency in Hz
  37. * inversion: one of INVERSION_OFF, INVERSION_ON, or INVERSION_AUTO.
  38. * symbol_rate: Symbol rate of the channel in ksyms.
  39. * fec: One of: FEC_1_2, FEC_2_3, FEC_3_4, FEC_4_5, FEC_5_6, FEC_6_7,
  40. * FEC_7_8, FEC_8_9, or FEC_AUTO.
  41. * modulation: one of QAM_16, QAM_32, QAM_64, QAM_128, QAM_256, QAM_AUTO.
  42. * video_pid: PID of the video stream.
  43. * audio_pid: PID of the audio stream.
  44. * channel_number: Transport stream channel number of the program.
  45. *
  46. * DVBS:
  47. *
  48. * <name>:<frequency>:<polarization>:<satellite_switches>:<symbol_rate>:<video_pid>:<audio_pid>:<channel_number>
  49. *
  50. * name: name of the channel
  51. * frequency: frequency in kHz
  52. * polarization: one of H,V,L, or R.
  53. * satellite_switches: Treated as a 2 bit value controlling switches in SEC equipment:
  54. * bit 0: controls "satellite switch", 0: A, 1: B
  55. * bit 1: controls "switch option", 0: A, 1: B
  56. * symbol_rate: Symbol rate of the channel in ksyms.
  57. * video_pid: PID of the video stream.
  58. * audio_pid: PID of the audio stream.
  59. * channel_number: Transport stream channel number of the program.
  60. *
  61. * ATSC:
  62. *
  63. * <name>:<frequency>:<inversion>:<modulation>:<video_pid>:<audio_pid>:<channel_number>
  64. *
  65. * name: name of the channel
  66. * frequency: frequency in GHz
  67. * inversion: one of INVERSION_OFF, INVERSION_ON, or INVERSION_AUTO.
  68. * modulation: one of 8VSB, 16VSB, QAM_64, or QAM_256.
  69. * video_pid: PID of the video stream.
  70. * audio_pid: PID of the audio stream.
  71. * channel_number: Transport stream channel number of the program.
  72. */