|
FFmpeg
|
#include "libavutil/avassert.h"#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 "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 | SECTION_LENGTH 1020 |
| #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 36 of file mpegtsenc.c.
Referenced by get_pcr(), and mpegts_write_header().
| #define MPEGTS_FLAG_REEMIT_PAT_PMT 0x01 |
Definition at line 87 of file mpegtsenc.c.
Referenced by mpegts_write_packet_internal().
| #define MPEGTS_FLAG_AAC_LATM 0x02 |
Definition at line 88 of file mpegtsenc.c.
Referenced by mpegts_write_header(), and mpegts_write_pmt().
| #define DEFAULT_PES_HEADER_FREQ 16 |
Definition at line 97 of file mpegtsenc.c.
| #define DEFAULT_PES_PAYLOAD_SIZE ((DEFAULT_PES_HEADER_FREQ - 1) * 184 + 170) |
Definition at line 98 of file mpegtsenc.c.
| #define SECTION_LENGTH 1020 |
Definition at line 102 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), and mpegts_write_sdt().
| #define DEFAULT_PROVIDER_NAME "FFmpeg" |
Definition at line 192 of file mpegtsenc.c.
Referenced by mpegts_write_header().
| #define DEFAULT_SERVICE_NAME "Service01" |
Definition at line 193 of file mpegtsenc.c.
Referenced by mpegts_write_header().
| #define SDT_RETRANS_TIME 500 |
Definition at line 196 of file mpegtsenc.c.
Referenced by mpegts_write_header().
| #define PAT_RETRANS_TIME 100 |
Definition at line 197 of file mpegtsenc.c.
Referenced by mpegts_write_header().
| #define PCR_RETRANS_TIME 20 |
Definition at line 198 of file mpegtsenc.c.
|
static |
Definition at line 105 of file mpegtsenc.c.
Referenced by mpegts_write_section1().
Definition at line 153 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), and mpegts_write_section1().
|
static |
Definition at line 162 of file mpegtsenc.c.
Referenced by mpegts_write_pat(), mpegts_write_pmt(), and mpegts_write_sdt().
|
static |
Definition at line 215 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 232 of file mpegtsenc.c.
Referenced by retransmit_si_info().
Definition at line 485 of file mpegtsenc.c.
Referenced by mpegts_write_sdt().
|
static |
Definition at line 501 of file mpegtsenc.c.
Referenced by retransmit_si_info().
|
static |
Definition at line 539 of file mpegtsenc.c.
Referenced by mpegts_write_header().
|
static |
Definition at line 566 of file mpegtsenc.c.
Referenced by mpegts_insert_pcr_only(), mpegts_prefix_m2ts_header(), and mpegts_write_pes().
|
static |
Definition at line 572 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 584 of file mpegtsenc.c.
Referenced by mpegts_write_header().
|
static |
Definition at line 591 of file mpegtsenc.c.
|
static |
Definition at line 823 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 840 of file mpegtsenc.c.
Referenced by mpegts_insert_pcr_only(), and mpegts_write_pes().
|
static |
Definition at line 855 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 871 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 896 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 911 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 927 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
Definition at line 935 of file mpegtsenc.c.
Referenced by mpegts_write_pes().
|
static |
Definition at line 947 of file mpegtsenc.c.
Referenced by mpegts_write_flush(), and mpegts_write_packet_internal().
| int ff_check_h264_startcode | ( | AVFormatContext * | s, |
| const AVStream * | st, | ||
| const AVPacket * | pkt | ||
| ) |
Check presence of H264 startcode.
Definition at line 1191 of file mpegtsenc.c.
Referenced by avi_write_packet(), mpegts_write_packet_internal(), and write_packet().
|
static |
Definition at line 1205 of file mpegtsenc.c.
Referenced by mpegts_write_packet_internal().
|
static |
Definition at line 1217 of file mpegtsenc.c.
Referenced by mpegts_write_packet().
|
static |
Definition at line 1365 of file mpegtsenc.c.
Referenced by mpegts_write_end(), and mpegts_write_packet().
|
static |
Definition at line 1382 of file mpegtsenc.c.
|
static |
Definition at line 1392 of file mpegtsenc.c.
|
static |
Definition at line 1421 of file mpegtsenc.c.
|
static |
Definition at line 1474 of file mpegtsenc.c.
| AVOutputFormat ff_mpegts_muxer |
Definition at line 1481 of file mpegtsenc.c.
1.8.2