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 "hlsplaylist.h"
#include "internal.h"
#include "os_support.h"
Go to the source code of this file.
Data Structures | |
struct | HLSSegment |
struct | VariantStream |
struct | ClosedCaptionsStream |
struct | HLSContext |
Macros | |
#define | KEYSIZE 16 |
#define | LINE_BUFFER_SIZE 1024 |
#define | HLS_MICROSECOND_UNIT 1000000 |
#define | POSTFIX_PATTERN "_%d" |
#define | OFFSET(x) offsetof(HLSContext, x) |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
Variables | |
static const AVOption | options [] |
static const AVClass | hls_class |
AVOutputFormat | ff_hls_muxer |
#define KEYSIZE 16 |
Definition at line 66 of file hlsenc.c.
Referenced by do_encrypt(), hls_encryption_start(), and hls_start().
#define HLS_MICROSECOND_UNIT 1000000 |
Definition at line 68 of file hlsenc.c.
Referenced by sls_flags_filename_process().
#define POSTFIX_PATTERN "_%d" |
Definition at line 69 of file hlsenc.c.
Referenced by append_postfix(), and hls_init().
#define OFFSET | ( | x | ) | offsetof(HLSContext, x) |
#define E AV_OPT_FLAG_ENCODING_PARAM |
enum CodecAttributeStatus |
enum HLSFlags |
enum SegmentType |
|
static |
Definition at line 232 of file hlsenc.c.
Referenced by create_master_playlist(), hls_mux_init(), hls_start(), hls_window(), hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 249 of file hlsenc.c.
Referenced by create_master_playlist(), hls_window(), hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 264 of file hlsenc.c.
Referenced by create_master_playlist(), hls_mux_init(), hls_start(), hls_window(), and hls_write_packet().
|
static |
Definition at line 282 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
Definition at line 327 of file hlsenc.c.
Referenced by format_name(), hls_delete_old_segments(), hls_start(), sls_flag_use_localtime_filename(), and sls_flags_filename_process().
|
static |
Definition at line 376 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 386 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 409 of file hlsenc.c.
Referenced by hls_append_segment().
Definition at line 538 of file hlsenc.c.
Referenced by do_encrypt().
|
static |
Definition at line 552 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 621 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 673 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 785 of file hlsenc.c.
Referenced by hls_append_segment().
|
static |
Definition at line 795 of file hlsenc.c.
Referenced by hls_append_segment().
|
static |
Definition at line 838 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 861 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 881 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 888 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 936 of file hlsenc.c.
Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().
|
static |
Definition at line 1024 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 1114 of file hlsenc.c.
Referenced by hls_write_trailer().
|
static |
Definition at line 1125 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1140 of file hlsenc.c.
Referenced by create_master_playlist().
|
static |
Definition at line 1158 of file hlsenc.c.
Referenced by create_master_playlist().
|
static |
Traverse through the list of audio only rendition streams and find the rendition which has highest bitrate in the same audio group
Definition at line 1173 of file hlsenc.c.
Referenced by hls_window().
|
static |
Definition at line 1332 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1449 of file hlsenc.c.
Referenced by hls_init(), and hls_write_packet().
|
static |
Definition at line 1636 of file hlsenc.c.
Referenced by hls_init().
Definition at line 1652 of file hlsenc.c.
Referenced by hls_init().
Definition at line 1671 of file hlsenc.c.
Referenced by hls_init().
Definition at line 1710 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 1756 of file hlsenc.c.
Referenced by parse_variant_stream_mapstring().
|
static |
Expected format for var_stream_map string is as below: "a:0,v:0 a:1,v:1" "a:0,agroup:a0 a:1,agroup:a1 v:0,agroup:a0 v:1,agroup:a1" This string specifies how to group the audio, video and subtitle streams into different variant streams. The variant stream groups are separated by space.
a:, v:, s: are keys to specify audio, video and subtitle streams respectively. Allowed values are 0 to 9 digits (limited just based on practical usage)
agroup: is key to specify audio group. A string can be given as value.
Definition at line 1774 of file hlsenc.c.
Referenced by update_variant_stream_info().
|
static |
Definition at line 1877 of file hlsenc.c.
Referenced by update_variant_stream_info().
|
static |
Definition at line 1956 of file hlsenc.c.
Referenced by hls_init().
|
static |
if output file's directory has v, variants are created in sub-directories then master is created at the sub-directories level
Definition at line 1997 of file hlsenc.c.
Referenced by hls_init().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2804 of file hlsenc.c.
Referenced by create_master_playlist(), hls_delete_old_segments(), hls_mux_init(), hls_start(), and hls_window().
|
static |
AVOutputFormat ff_hls_muxer |