atsc_psip_section.pl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. use strict;
  2. return {
  3. #{ 0x80, 0x80, "ATSC stuffing descriptor" },
  4. #{ 0x81, 0x81, "ATSC AC-3 audio descriptor" },
  5. #{ 0x82, 0x85, "ATSC TODO" },
  6. #{ 0x86, 0x86, "ATSC caption service descriptor" },
  7. #{ 0x87, 0x87, "ATSC content advisory descriptor" },
  8. #{ 0x88, 0x8F, "ATSC TODO" },
  9. #{ 0xA0, 0xA0, "ATSC extended channel name descriptor" },
  10. #{ 0xA1, 0xA1, "ATSC service location descriptor" },
  11. #{ 0xA2, 0xA2, "ATSC time-shifted service descriptor" },
  12. #{ 0xA3, 0xA3, "ATSC component name descriptor" },
  13. #{ 0xA4, 0xA7, "ATSC TODO" },
  14. #{ 0xA8, 0xA8, "ATSC DCC departing request descriptor" },
  15. #{ 0xA9, 0xA9, "ATSC DCC arriving request descriptor" },
  16. #{ 0xAA, 0xAA, "ATSC redistribution control descriptor" },
  17. descriptors => [
  18. { id => 0xa0,
  19. name => "ATSC_extended_channel_name_descriptor",
  20. elements => [
  21. descriptor_tag => 8,
  22. descriptor_length => 8,
  23. TODO => 1,
  24. ],
  25. },
  26. { id => 0xa1,
  27. name => "ATSC_service_location_descriptor",
  28. elements => [
  29. descriptor_tag => 8,
  30. descriptor_length => 8,
  31. reserved => 3,
  32. PCR_PID => 13,
  33. number_elements => 8,
  34. ],
  35. }
  36. ],
  37. misc => [
  38. { name => "ATSC_service_location_element",
  39. elements => [
  40. stream_type => 8,
  41. reserved => 3,
  42. elementary_PID => 13,
  43. ISO_639_language_code => 24,
  44. ],
  45. },
  46. { name => "tvct_channel",
  47. elements => [
  48. short_name0 => 16,
  49. short_name1 => 16,
  50. short_name2 => 16,
  51. short_name3 => 16,
  52. short_name4 => 16,
  53. short_name5 => 16,
  54. short_name6 => 16,
  55. reserved0 => 4,
  56. major_channel_number => 10,
  57. minor_channel_number => 10,
  58. modulation_mode => 8,
  59. carrier_frequency => 32,
  60. channel_TSID => 16,
  61. program_number => 16,
  62. ETM_location => 2,
  63. access_controlled => 1,
  64. hidden => 1,
  65. reserved1 => 2,
  66. hide_guide => 1,
  67. reserved2 => 3,
  68. service_type => 6,
  69. source_id => 16,
  70. reserved3 => 6,
  71. descriptors_length => 10,
  72. ],
  73. },
  74. ]
  75. };