dvb_ts_packet_header(3)

πŸ“¦
version 1.32.0 Β· 2 versions
, in fedora 43

✨ NAME ✨

dvb_ts_packet_header β€” bestie, it's the header of a MPEG-TS transport packet πŸ’– like the little name tag every transport packet wears before it walks into the party πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <header.h>

🫢 Data Fields 🫢

okay so here's the whole squad, laid out exactly as they show up:

uint8_t sync_byte
union {
   uint16_t bitfield
   struct {
      uint16_t pid:13
      uint16_t transport_priority:1
      uint16_t payload_unit_start_indicator:1
      uint16_t transport_error_indicator:1
   }
};
uint8_t continuity_counter:4
uint8_t adaptation_field_control:2
uint8_t transport_scrambling_control:2
uint8_t adaptation_field_length
struct {
   uint8_t extension:1
   uint8_t private_data:1
   uint8_t splicing_point:1
   uint8_t OPCR:1
   uint8_t PCR:1
   uint8_t priority:1
   uint8_t random_access:1
   uint8_t discontinued:1
};

πŸ’… Detailed Description πŸ’…

Header of a MPEG-TS transport packet. that's it, that's the whole vibe 🫑

🌸 Parameters 🌸

the glow-up checklist, one by one:

  • sync_byte β€” sync byte ✨
  • pid β€” Program ID
  • transport_priority β€” transport priority
  • payload_unit_start_indicator β€” payload unit start indicator
  • transport_error_indicator β€” transport error indicator
  • continuity_counter β€” continuity counter
  • adaptation_field_control β€” adaptation field control
  • transport_scrambling_control β€” transport scrambling control
  • adaptation_field_length β€” adaptation field length

πŸ‘€ See also πŸ‘€

http://www.etherguidesystems.com/Help/SDOs/MPEG/Semantics/MPEG-2/transport_packet.aspx

lowkey go read it, iykyk πŸ“–

Definition at line 57 of file header.h.

πŸ‘‘ Field Documentation πŸ‘‘

every field gets its own moment, no cap πŸ‘‘

🌈 union { ... } dvb_ts_packet_header

🌈 struct { ... } dvb_ts_packet_header

πŸ“ uint8_t dvb_ts_packet_header::adaptation_field_control

Definition at line 69 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::adaptation_field_length

Definition at line 73 of file header.h.

πŸ“ uint16_t dvb_ts_packet_header::bitfield

Definition at line 60 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::continuity_counter

Definition at line 68 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::discontinued

Definition at line 83 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::extension

Definition at line 76 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::OPCR

Definition at line 79 of file header.h.

πŸ“ uint16_t dvb_ts_packet_header::payload_unit_start_indicator

Definition at line 64 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::PCR

Definition at line 80 of file header.h.

πŸ“ uint16_t dvb_ts_packet_header::pid

Definition at line 62 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::priority

Definition at line 81 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::private_data

Definition at line 77 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::random_access

Definition at line 82 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::splicing_point

Definition at line 78 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::sync_byte

Definition at line 58 of file header.h.

πŸ“ uint16_t dvb_ts_packet_header::transport_error_indicator

Definition at line 65 of file header.h.

πŸ“ uint16_t dvb_ts_packet_header::transport_priority

Definition at line 63 of file header.h.

πŸ“ uint8_t dvb_ts_packet_header::transport_scrambling_control

Definition at line 70 of file header.h.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for libdvbv5 from the source code. yeah, a robot wrote it, and honestly? it ate πŸ€–βœ¨


that's the whole page bestie, tysm for reading πŸ’– this was libdvbv5, Version 1.32.0, served to you as dvb_ts_packet_header(3) β€” mwah, go forth and parse those packets πŸ‘‘πŸ’…πŸŽ€

πŸ“¦ where this page comes from