FFmpeg
|
#include "libavutil/bswap.h"
#include "libavutil/crc.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/avassert.h"
#include "libavcodec/internal.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 | DEFAULT_PROVIDER_NAME "FFmpeg" |
#define | DEFAULT_SERVICE_NAME "Service01" |
#define | SDT_RETRANS_TIME 500 |
#define | PAT_RETRANS_TIME 100 |
#define | PCR_RETRANS_TIME 20 |
Variables | |
static const AVOption | options [] |
static const AVClass | mpegts_muxer_class |
AVOutputFormat | ff_mpegts_muxer |
#define PCR_TIME_BASE 27000000 |
Definition at line 34 of file mpegtsenc.c.
Referenced by get_pcr(), and mpegts_write_header().
#define MPEGTS_FLAG_REEMIT_PAT_PMT 0x01 |
Definition at line 84 of file mpegtsenc.c.
Referenced by mpegts_write_packet_internal().
#define MPEGTS_FLAG_AAC_LATM 0x02 |
Definition at line 85 of file mpegtsenc.c.
Referenced by mpegts_write_header(), and mpegts_write_pmt().
#define DEFAULT_PES_HEADER_FREQ 16 |
Definition at line 91 of file mpegtsenc.c.
#define DEFAULT_PES_PAYLOAD_SIZE ((DEFAULT_PES_HEADER_FREQ - 1) * 184 + 170) |
Definition at line 92 of file mpegtsenc.c.
#define DEFAULT_PROVIDER_NAME "FFmpeg" |
Definition at line 220 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define DEFAULT_SERVICE_NAME "Service01" |
Definition at line 221 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define SDT_RETRANS_TIME 500 |
Definition at line 224 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define PAT_RETRANS_TIME 100 |
Definition at line 225 of file mpegtsenc.c.
Referenced by mpegts_write_header().
#define PCR_RETRANS_TIME 20 |
Definition at line 226 of file mpegtsenc.c.
Referenced by mpegts_write_header().
|
static |
Definition at line 135 of file mpegtsenc.c.
Referenced by mpegts_write_section1().
Definition at line 181 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), and mpegts_write_section1().
|
static |
Definition at line 190 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), and mpegts_write_sdt().
|
static |
Definition at line 242 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 259 of file mpegtsenc.c.
Referenced by retransmit_si_info().
Definition at line 421 of file mpegtsenc.c.
Referenced by mpegts_write_sdt().
|
static |
Definition at line 437 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 475 of file mpegtsenc.c.
Referenced by mpegts_write_header().
|
static |
Definition at line 494 of file mpegtsenc.c.
Referenced by mpegts_insert_pcr_only(), mpegts_prefix_m2ts_header(), and mpegts_write_pes().
|
static |
Definition at line 500 of file mpegtsenc.c.
Referenced by mpegts_insert_null_packet(), mpegts_insert_pcr_only(), mpegts_write_pes(), and section_write_packet().
|
static |
Definition at line 512 of file mpegtsenc.c.
Referenced by mpegts_write_header().
|
static |
Definition at line 519 of file mpegtsenc.c.
|
static |
Definition at line 725 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 743 of file mpegtsenc.c.
Referenced by mpegts_insert_pcr_only(), and mpegts_write_pes().
|
static |
Definition at line 758 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 774 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 799 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 814 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 830 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 838 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 851 of file mpegtsenc.c.
Referenced by mpegts_write_flush(), and mpegts_write_packet_internal().
|
static |
Definition at line 1067 of file mpegtsenc.c.
Referenced by mpegts_write_packet().
|
static |
Definition at line 1212 of file mpegtsenc.c.
Referenced by mpegts_write_end(), and mpegts_write_packet().
|
static |
Definition at line 1230 of file mpegtsenc.c.
|
static |
Definition at line 1240 of file mpegtsenc.c.
|
static |
Definition at line 94 of file mpegtsenc.c.
|
static |
Definition at line 127 of file mpegtsenc.c.
AVOutputFormat ff_mpegts_muxer |
Definition at line 1269 of file mpegtsenc.c.