#include "libavutil/bswap.h"
#include "libavutil/crc.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavcodec/mpegvideo.h"
#include "avformat.h"
#include "internal.h"
#include "mpegts.h"
Go to the source code of this file.
Data Structures | |
struct | MpegTSSection |
struct | MpegTSService |
struct | MpegTSWrite |
struct | MpegTSWriteStream |
Macros | |
#define | PCR_TIME_BASE 27000000 |
#define | MPEGTS_FLAG_REEMIT_PAT_PMT 0x01 |
#define | MPEGTS_FLAG_AAC_LATM 0x02 |
#define | DEFAULT_PES_HEADER_FREQ 16 |
#define | DEFAULT_PES_PAYLOAD_SIZE ((DEFAULT_PES_HEADER_FREQ - 1) * 184 + 170) |
#define | SECTION_LENGTH 1020 |
#define | DEFAULT_PROVIDER_NAME "Libav" |
#define | DEFAULT_SERVICE_NAME "Service01" |
#define | SDT_RETRANS_TIME 500 |
#define | PAT_RETRANS_TIME 100 |
#define | PCR_RETRANS_TIME 20 |
Typedefs | |
typedef struct MpegTSSection | MpegTSSection |
typedef struct MpegTSService | MpegTSService |
typedef struct MpegTSWrite | MpegTSWrite |
typedef struct MpegTSWriteStream | MpegTSWriteStream |
Variables | |
static const AVOption | options [] |
static const AVClass | mpegts_muxer_class |
AVOutputFormat | ff_mpegts_muxer |
#define DEFAULT_PES_HEADER_FREQ 16 |
Definition at line 87 of file mpegtsenc.c.
#define DEFAULT_PES_PAYLOAD_SIZE ((DEFAULT_PES_HEADER_FREQ - 1) * 184 + 170) |
Definition at line 88 of file mpegtsenc.c.
#define DEFAULT_PROVIDER_NAME "Libav" |
Definition at line 215 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define DEFAULT_SERVICE_NAME "Service01" |
Definition at line 216 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define MPEGTS_FLAG_AAC_LATM 0x02 |
Definition at line 82 of file mpegtsenc.c.
Referenced by mpegts_write_header(), and mpegts_write_pmt().
#define MPEGTS_FLAG_REEMIT_PAT_PMT 0x01 |
Definition at line 81 of file mpegtsenc.c.
Referenced by mpegts_write_packet_internal().
#define PAT_RETRANS_TIME 100 |
Definition at line 220 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define PCR_RETRANS_TIME 20 |
Definition at line 221 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define PCR_TIME_BASE 27000000 |
Definition at line 32 of file mpegtsenc.c.
Referenced by get_pcr(), and mpegts_write_header().
#define SDT_RETRANS_TIME 500 |
Definition at line 219 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define SECTION_LENGTH 1020 |
Definition at line 127 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), and mpegts_write_sdt().
typedef struct MpegTSSection MpegTSSection |
typedef struct MpegTSService MpegTSService |
typedef struct MpegTSWrite MpegTSWrite |
typedef struct MpegTSWriteStream MpegTSWriteStream |
Definition at line 793 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 702 of file mpegtsenc.c.
Referenced by mpegts_insert_pcr_only(), and mpegts_write_pes().
Definition at line 801 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 464 of file mpegtsenc.c.
Referenced by mpegts_write_header().
|
static |
Definition at line 723 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 738 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 1160 of file mpegtsenc.c.
|
static |
Definition at line 1132 of file mpegtsenc.c.
Referenced by mpegts_write_end(), and mpegts_write_packet().
|
static |
Definition at line 489 of file mpegtsenc.c.
|
static |
Definition at line 1150 of file mpegtsenc.c.
|
static |
Definition at line 1000 of file mpegtsenc.c.
Referenced by mpegts_write_packet().
|
static |
Definition at line 236 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 814 of file mpegtsenc.c.
Referenced by mpegts_write_flush(), and mpegts_write_packet_internal().
|
static |
Definition at line 253 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 426 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 130 of file mpegtsenc.c.
Referenced by mpegts_write_section1().
|
static |
Definition at line 185 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), and mpegts_write_sdt().
Definition at line 176 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), and mpegts_write_section1().
Definition at line 410 of file mpegtsenc.c.
Referenced by mpegts_write_sdt().
|
static |
Definition at line 684 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 483 of file mpegtsenc.c.
Referenced by mpegts_write_header().
Definition at line 777 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 708 of file mpegtsenc.c.
Referenced by mpegts_insert_pcr_only(), and mpegts_write_pes().
Definition at line 762 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
AVOutputFormat ff_mpegts_muxer |
Definition at line 1189 of file mpegtsenc.c.
|
static |
Definition at line 118 of file mpegtsenc.c.
|
static |
Definition at line 90 of file mpegtsenc.c.