FFmpeg
|
#include "config.h"
#include "config_components.h"
#include <stdint.h>
#include "libavutil/avassert.h"
#include "libavutil/mathematics.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/log.h"
#include "libavutil/time.h"
#include "libavutil/time_internal.h"
#include "libavcodec/avcodec.h"
#include "avformat.h"
#include "avio_internal.h"
#include "avc.h"
#include "hlsplaylist.h"
#include "internal.h"
#include "mux.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 MAX_URL_SIZE |
#define | HLS_MICROSECOND_UNIT 1000000 |
#define | BUFSIZE (16 * 1024) |
#define | POSTFIX_PATTERN "_%d" |
#define | SEPARATOR '/' |
#define | OFFSET(x) offsetof(HLSContext, x) |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
Variables | |
static const AVOption | options [] |
static const AVClass | hls_class |
const FFOutputFormat | ff_hls_muxer |
#define LINE_BUFFER_SIZE MAX_URL_SIZE |
#define OFFSET | ( | x | ) | offsetof(HLSContext, x) |
#define E AV_OPT_FLAG_ENCODING_PARAM |
enum CodecAttributeStatus |
enum HLSFlags |
enum SegmentType |
|
static |
Definition at line 263 of file hlsenc.c.
Referenced by hls_init(), and hls_start().
|
static |
Definition at line 286 of file hlsenc.c.
Referenced by create_master_playlist(), hls_delete_file(), hls_init_file_resend(), hls_mux_init(), hls_start(), hls_window(), hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 307 of file hlsenc.c.
Referenced by append_single_file(), create_master_playlist(), hls_delete_file(), hls_init_file_resend(), hls_window(), hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 327 of file hlsenc.c.
Referenced by create_master_playlist(), do_encrypt(), hls_delete_file(), hls_encryption_start(), hls_init_file_resend(), hls_mux_init(), hls_start(), hls_window(), hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 346 of file hlsenc.c.
Referenced by hls_write_header().
|
static |
Definition at line 437 of file hlsenc.c.
Referenced by format_name(), and hls_delete_old_segments().
|
static |
Definition at line 477 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 525 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 535 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 556 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 568 of file hlsenc.c.
Referenced by hls_delete_old_segments().
|
static |
Definition at line 592 of file hlsenc.c.
Referenced by hls_append_segment().
Definition at line 703 of file hlsenc.c.
Referenced by do_encrypt().
|
static |
Definition at line 717 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 790 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 849 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 969 of file hlsenc.c.
Referenced by hls_append_segment().
|
static |
Definition at line 979 of file hlsenc.c.
Referenced by hls_append_segment().
|
static |
Definition at line 1019 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 1042 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 1062 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1069 of file hlsenc.c.
Referenced by hls_start().
|
static |
Definition at line 1113 of file hlsenc.c.
Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().
|
static |
Definition at line 1202 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 1315 of file hlsenc.c.
Referenced by hls_deinit().
|
static |
Definition at line 1326 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1341 of file hlsenc.c.
Referenced by create_master_playlist().
|
static |
Definition at line 1361 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 1377 of file hlsenc.c.
Referenced by hls_window().
|
static |
Definition at line 1543 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
Definition at line 1686 of file hlsenc.c.
Referenced by hls_init(), and hls_write_packet().
|
static |
Definition at line 1871 of file hlsenc.c.
Referenced by hls_init().
Definition at line 1887 of file hlsenc.c.
Referenced by hls_init().
Definition at line 1906 of file hlsenc.c.
Referenced by hls_init().
Definition at line 1940 of file hlsenc.c.
Referenced by hls_init().
|
static |
Definition at line 1986 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,default:1,language:ENG a:1,agroup:a1,default:0 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. sgroup: is key to specify subtitle group. A string can be given as value.
Definition at line 2004 of file hlsenc.c.
Referenced by update_variant_stream_info().
|
static |
Definition at line 2147 of file hlsenc.c.
Referenced by update_variant_stream_info().
|
static |
Definition at line 2224 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 2262 of file hlsenc.c.
Referenced by hls_init().
|
static |
|
static |
Definition at line 2365 of file hlsenc.c.
Referenced by hls_write_packet().
|
static |
Definition at line 2382 of file hlsenc.c.
Referenced by hls_write_packet(), and hls_write_trailer().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3117 of file hlsenc.c.
Referenced by create_master_playlist(), do_encrypt(), hls_encryption_start(), hls_init_file_resend(), hls_mux_init(), hls_start(), hls_window(), hls_write_packet(), hls_write_trailer(), hlsenc_io_open(), and set_http_options().
|
static |
const FFOutputFormat ff_hls_muxer |