gstmpegtssection: GStreamer Bad Plugins 1.0 Library Reference Manual

## gstmpegtssection gstmpegtssection |

## Functions

#define | GST_MPEGTS_SECTION_TYPE()
GstMessage * | gst_message_new_mpegts_section ()
GstMpegtsSection * | gst_message_parse_mpegts_section ()
gboolean | gst_mpegts_section_send_event ()
GstMpegtsSection * | gst_event_parse_mpegts_section ()
guint8 * | gst_mpegts_section_packetize ()
GstMpegtsSection * | gst_mpegts_section_new ()
#define | gst_mpegts_section_ref()
#define | gst_mpegts_section_unref()
GPtrArray * | gst_mpegts_section_get_pat ()
GPtrArray * | gst_mpegts_pat_new ()
GstMpegtsPatProgram * | gst_mpegts_pat_program_new ()
GstMpegtsSection * | gst_mpegts_section_from_pat ()
const GstMpegtsPMT * | gst_mpegts_section_get_pmt ()
GstMpegtsPMT * | gst_mpegts_pmt_new ()
GstMpegtsPMTStream * | gst_mpegts_pmt_stream_new ()
GstMpegtsSection * | gst_mpegts_section_from_pmt ()
GPtrArray * | gst_mpegts_section_get_tsdt ()
GPtrArray * | gst_mpegts_section_get_cat ()

## Types and Values

struct | GstMpegtsSection
enum | GstMpegtsSectionTableID
enum | GstMpegtsSectionType
struct | GstMpegtsPatProgram
struct | GstMpegtsPMT
struct | GstMpegtsPMTStream
enum | GstMpegtsStreamType

## Object Hierarchy

        GBoxed
        ╰── GstMpegtsSection
        GEnum
        ├── GstMpegtsSectionTableID
        ├── GstMpegtsSectionType
        ╰── GstMpegtsStreamType

## Description

## Functions

### GST_MPEGTS_SECTION_TYPE()

    #define GST_MPEGTS_SECTION_TYPE(section) (GST_MPEGTS_SECTION (section)->section_type)

### gst_message_new_mpegts_section ()

    GstMessage *
    gst_message_new_mpegts_section (GstObject *parent,
                                    GstMpegtsSection *section);

### gst_message_parse_mpegts_section ()

    GstMpegtsSection *
    gst_message_parse_mpegts_section (GstMessage *message);

### gst_mpegts_section_send_event ()

    gboolean
    gst_mpegts_section_send_event (GstMpegtsSection *section,
                                   GstElement *element);

### gst_event_parse_mpegts_section ()

    GstMpegtsSection *
    gst_event_parse_mpegts_section (GstEvent *event);

### gst_mpegts_section_packetize ()

    guint8 *
    gst_mpegts_section_packetize (GstMpegtsSection *section,
                                  gsize *output_size);

### gst_mpegts_section_new ()

    GstMpegtsSection *
    gst_mpegts_section_new (guint16 pid,
                            guint8 *data,
                            gsize data_size);

### gst_mpegts_section_ref()

    #define gst_mpegts_section_ref(section)   ((GstMpegtsSection*) gst_mini_object_ref (GST_MINI_OBJECT_CAST (section)))

### gst_mpegts_section_unref()

    #define gst_mpegts_section_unref(section) (gst_mini_object_unref (GST_MINI_OBJECT_CAST (section)))

### gst_mpegts_section_get_pat ()

    GPtrArray *
    gst_mpegts_section_get_pat (GstMpegtsSection *section);

### gst_mpegts_pat_new ()

    GPtrArray *
    gst_mpegts_pat_new (void);

### gst_mpegts_pat_program_new ()

    GstMpegtsPatProgram *
    gst_mpegts_pat_program_new (void);

### gst_mpegts_section_from_pat ()

    GstMpegtsSection *
    gst_mpegts_section_from_pat (GPtrArray *programs,
                                 guint16 ts_id);

### gst_mpegts_section_get_pmt ()

    const GstMpegtsPMT *
    gst_mpegts_section_get_pmt (GstMpegtsSection *section);

### gst_mpegts_pmt_new ()

    GstMpegtsPMT *
    gst_mpegts_pmt_new (void);

### gst_mpegts_pmt_stream_new ()

    GstMpegtsPMTStream *
    gst_mpegts_pmt_stream_new (void);

### gst_mpegts_section_from_pmt ()

    GstMpegtsSection *
    gst_mpegts_section_from_pmt (GstMpegtsPMT *pmt,
                                 guint16 pid);

### gst_mpegts_section_get_tsdt ()

    GPtrArray *
    gst_mpegts_section_get_tsdt (GstMpegtsSection *section);

### gst_mpegts_section_get_cat ()

    GPtrArray *
    gst_mpegts_section_get_cat (GstMpegtsSection *section);

## Types and Values

### struct GstMpegtsSection

    struct GstMpegtsSection {
      GstMpegtsSectionType   section_type;

      guint16       pid;
      guint8        table_id;

      guint16       subtable_extension;
      guint8        version_number;

      gboolean      current_next_indicator;

      guint8        section_number;
      guint8        last_section_number;

      guint32       crc;
    };

### enum GstMpegtsSectionTableID

#### Members

GST_MTS_TABLE_ID_PROGRAM_ASSOCIATION |  |
GST_MTS_TABLE_ID_CONDITIONAL_ACCESS |  |
GST_MTS_TABLE_ID_TS_PROGRAM_MAP |  |
GST_MTS_TABLE_ID_TS_DESCRIPTION |  |
GST_MTS_TABLE_ID_14496_SCENE_DESCRIPTION |  |
GST_MTS_TABLE_ID_14496_OBJET_DESCRIPTOR |  |
GST_MTS_TABLE_ID_METADATA |  |
GST_MTS_TABLE_ID_IPMP_CONTROL_INFORMATION |  |
GST_MTS_TABLE_ID_DSM_CC_MULTIPROTO_ENCAPSULATED_DATA |  |
GST_MTS_TABLE_ID_DSM_CC_U_N_MESSAGES |  |
GST_MTS_TABLE_ID_DSM_CC_DOWNLOAD_DATA_MESSAGES |  |
GST_MTS_TABLE_ID_DSM_CC_STREAM_DESCRIPTORS |  |
GST_MTS_TABLE_ID_DSM_CC_PRIVATE_DATA |  |
GST_MTS_TABLE_ID_DSM_CC_ADDRESSABLE_SECTIONS |  |
GST_MTS_TABLE_ID_UNSET |  |

### enum GstMpegtsSectionType

#### Members

GST_MPEGTS_SECTION_UNKNOWN |  |
GST_MPEGTS_SECTION_PAT |  |
GST_MPEGTS_SECTION_PMT |  |
GST_MPEGTS_SECTION_CAT |  |
GST_MPEGTS_SECTION_TSDT |  |
GST_MPEGTS_SECTION_EIT |  |
GST_MPEGTS_SECTION_NIT |  |
GST_MPEGTS_SECTION_BAT |  |
GST_MPEGTS_SECTION_SDT |  |
GST_MPEGTS_SECTION_TDT |  |
GST_MPEGTS_SECTION_TOT |  |
GST_MPEGTS_SECTION_ATSC_TVCT |  |
GST_MPEGTS_SECTION_ATSC_CVCT |  |
GST_MPEGTS_SECTION_ATSC_MGT |  |
GST_MPEGTS_SECTION_ATSC_ETT |  |
GST_MPEGTS_SECTION_ATSC_EIT |  |
GST_MPEGTS_SECTION_ATSC_STT |  |

### struct GstMpegtsPatProgram

    struct GstMpegtsPatProgram {
      guint16 program_number;
      guint16 network_or_program_map_PID;
    };

### struct GstMpegtsPMT

    struct GstMpegtsPMT {
      guint16    pcr_pid;
      guint16    program_number;

      GPtrArray *descriptors;
      GPtrArray *streams;
    };

### struct GstMpegtsPMTStream

    struct GstMpegtsPMTStream {
      guint8      stream_type;
      guint16     pid;

      GPtrArray  *descriptors;
    };

### enum GstMpegtsStreamType

#### Members

GST_MPEGTS_STREAM_TYPE_RESERVED_00 |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_MPEG1 |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_MPEG2 |  |
GST_MPEGTS_STREAM_TYPE_AUDIO_MPEG1 |  |
GST_MPEGTS_STREAM_TYPE_AUDIO_MPEG2 |  |
GST_MPEGTS_STREAM_TYPE_PRIVATE_SECTIONS |  |
GST_MPEGTS_STREAM_TYPE_PRIVATE_PES_PACKETS |  |
GST_MPEGTS_STREAM_TYPE_MHEG |  |
GST_MPEGTS_STREAM_TYPE_DSM_CC |  |
GST_MPEGTS_STREAM_TYPE_H_222_1 |  |
GST_MPEGTS_STREAM_TYPE_DSMCC_A |  |
GST_MPEGTS_STREAM_TYPE_DSMCC_B |  |
GST_MPEGTS_STREAM_TYPE_DSMCC_C |  |
GST_MPEGTS_STREAM_TYPE_DSMCC_D |  |
GST_MPEGTS_STREAM_TYPE_AUXILIARY |  |
GST_MPEGTS_STREAM_TYPE_AUDIO_AAC_ADTS |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_MPEG4 |  |
GST_MPEGTS_STREAM_TYPE_AUDIO_AAC_LATM |  |
GST_MPEGTS_STREAM_TYPE_SL_FLEXMUX_PES_PACKETS |  |
GST_MPEGTS_STREAM_TYPE_SL_FLEXMUX_SECTIONS |  |
GST_MPEGTS_STREAM_TYPE_SYNCHRONIZED_DOWNLOAD |  |
GST_MPEGTS_STREAM_TYPE_METADATA_PES_PACKETS |  |
GST_MPEGTS_STREAM_TYPE_METADATA_SECTIONS |  |
GST_MPEGTS_STREAM_TYPE_METADATA_DATA_CAROUSEL |  |
GST_MPEGTS_STREAM_TYPE_METADATA_OBJECT_CAROUSEL |  |
GST_MPEGTS_STREAM_TYPE_METADATA_SYNCHRONIZED_DOWNLOAD |  |
GST_MPEGTS_STREAM_TYPE_MPEG2_IPMP |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_H264 |  |
GST_MPEGTS_STREAM_TYPE_AUDIO_AAC_CLEAN |  |
GST_MPEGTS_STREAM_TYPE_MPEG4_TIMED_TEXT |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_RVC |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_H264_SVC_SUB_BITSTREAM |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_H264_MVC_SUB_BITSTREAM |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_JP2K |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_MPEG2_STEREO_ADDITIONAL_VIEW |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_H264_STEREO_ADDITIONAL_VIEW |  |
GST_MPEGTS_STREAM_TYPE_VIDEO_HEVC |  |
GST_MPEGTS_STREAM_TYPE_IPMP_STREAM |  |