FFmpeg
|
#include "config.h"
#include <float.h>
#include <stdint.h>
#include "libavutil/avassert.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "libavutil/log.h"
#include "libavutil/time_internal.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "os_support.h"
Go to the source code of this file.
Data Structures | |
struct | HLSSegment |
struct | HLSContext |
Macros | |
#define | KEYSIZE 16 |
#define | LINE_BUFFER_SIZE 1024 |
#define | HLS_MICROSECOND_UNIT 1000000 |
#define | OFFSET(x) offsetof(HLSContext, x) |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
Enumerations | |
enum | StartSequenceSourceType { HLS_START_SEQUENCE_AS_START_NUMBER = 0, HLS_START_SEQUENCE_AS_SECONDS_SINCE_EPOCH = 1, HLS_START_SEQUENCE_AS_FORMATTED_DATETIME = 2 } |
enum | HLSFlags { HLS_SINGLE_FILE = (1 << 0), HLS_DELETE_SEGMENTS = (1 << 1), HLS_ROUND_DURATIONS = (1 << 2), HLS_DISCONT_START = (1 << 3), HLS_OMIT_ENDLIST = (1 << 4), HLS_SPLIT_BY_TIME = (1 << 5), HLS_APPEND_LIST = (1 << 6), HLS_PROGRAM_DATE_TIME = (1 << 7), HLS_SECOND_LEVEL_SEGMENT_INDEX = (1 << 8), HLS_SECOND_LEVEL_SEGMENT_DURATION = (1 << 9), HLS_SECOND_LEVEL_SEGMENT_SIZE = (1 << 10), HLS_TEMP_FILE = (1 << 11), HLS_PERIODIC_REKEY = (1 << 12) } |
enum | SegmentType { PALETTE_SEGMENT = 0x14, OBJECT_SEGMENT = 0x15, PRESENTATION_SEGMENT = 0x16, WINDOW_SEGMENT = 0x17, DISPLAY_SEGMENT = 0x80, SEGMENT_TYPE_MPEGTS, SEGMENT_TYPE_FMP4 } |
enum | PlaylistType { PLS_TYPE_UNSPECIFIED, PLS_TYPE_EVENT, PLS_TYPE_VOD, PLAYLIST_TYPE_NONE, PLAYLIST_TYPE_EVENT, PLAYLIST_TYPE_VOD, PLAYLIST_TYPE_NB } |
Variables | |
static const AVOption | options [] |
static const AVClass | hls_class |
AVOutputFormat | ff_hls_muxer |
#define KEYSIZE 16 |
Definition at line 56 of file hlsenc.c.
Referenced by do_encrypt(), hls_encryption_start(), and hls_start().
#define HLS_MICROSECOND_UNIT 1000000 |
Definition at line 58 of file hlsenc.c.
Referenced by sls_flags_filename_process().
#define OFFSET | ( | x | ) | offsetof(HLSContext, x) |
#define E AV_OPT_FLAG_ENCODING_PARAM |
enum HLSFlags |
enum SegmentType |
enum PlaylistType |
|
static |
Definition at line 183 of file hlsenc.c.
Referenced by hls_window().
|
static |
Definition at line 188 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 221 of file hlsenc.c.
Referenced by hls_mux_init(), hls_start(), and hls_window().
|
static |
Definition at line 237 of file hlsenc.c.
Referenced by hls_start(), sls_flag_use_localtime_filename(), and sls_flags_filename_process().
|
static |
Definition at line 289 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 299 of file hlsenc.c.
Referenced by hls_append_segment().
Definition at line 406 of file hlsenc.c.
Referenced by do_encrypt().
|
static |
Definition at line 420 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 489 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 541 of file hlsenc.c.
Referenced by parse_playlist().
|
static |
Definition at line 549 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
Definition at line 652 of file hlsenc.c.
Referenced by hls_append_segment().
|
static |
Definition at line 662 of file hlsenc.c.
Referenced by hls_append_segment().
|
static |
Definition at line 708 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
Definition at line 731 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
Definition at line 751 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 758 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 812 of file hlsenc.c.
Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().
|
static |
Definition at line 898 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
Definition at line 983 of file hlsenc.c.
Referenced by hls_write_trailer().
|
static |
Definition at line 994 of file hlsenc.c.
Referenced by hls_window().
|
static |
Definition at line 1007 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1018 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1163 of file hlsenc.c.
Referenced by hls_write_header(), and hls_write_packet().
|
static |
Definition at line 1319 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
|
static |
|
static |
|
static |
Definition at line 1806 of file hlsenc.c.
Referenced by hls_delete_old_segments(), hls_mux_init(), hls_start(), and hls_window().
|
static |
AVOutputFormat ff_hls_muxer |