FFmpeg  4.0
Functions
hlsplaylist.c File Reference
#include "config.h"
#include <stdint.h>
#include "libavutil/time_internal.h"
#include "avformat.h"
#include "hlsplaylist.h"

Go to the source code of this file.

Functions

void ff_hls_write_playlist_version (AVIOContext *out, int version)
 
void ff_hls_write_audio_rendition (AVIOContext *out, char *agroup, char *filename, int name_id, int is_default)
 
void ff_hls_write_stream_info (AVStream *st, AVIOContext *out, int bandwidth, char *filename, char *agroup, char *codecs, char *ccgroup)
 
void ff_hls_write_playlist_header (AVIOContext *out, int version, int allowcache, int target_duration, int64_t sequence, uint32_t playlist_type)
 
void ff_hls_write_init_file (AVIOContext *out, char *filename, int byterange_mode, int64_t size, int64_t pos)
 
int ff_hls_write_file_entry (AVIOContext *out, int insert_discont, int byterange_mode, double duration, int round_duration, int64_t size, int64_t pos, char *baseurl, char *filename, double *prog_date_time)
 
void ff_hls_write_end_list (AVIOContext *out)
 

Function Documentation

◆ ff_hls_write_playlist_version()

void ff_hls_write_playlist_version ( AVIOContext out,
int  version 
)

◆ ff_hls_write_audio_rendition()

void ff_hls_write_audio_rendition ( AVIOContext out,
char *  agroup,
char *  filename,
int  name_id,
int  is_default 
)

Definition at line 38 of file hlsplaylist.c.

Referenced by create_master_playlist(), and write_manifest().

◆ ff_hls_write_stream_info()

void ff_hls_write_stream_info ( AVStream st,
AVIOContext out,
int  bandwidth,
char *  filename,
char *  agroup,
char *  codecs,
char *  ccgroup 
)

Definition at line 48 of file hlsplaylist.c.

Referenced by create_master_playlist(), and write_manifest().

◆ ff_hls_write_playlist_header()

void ff_hls_write_playlist_header ( AVIOContext out,
int  version,
int  allowcache,
int  target_duration,
int64_t  sequence,
uint32_t  playlist_type 
)

Definition at line 74 of file hlsplaylist.c.

Referenced by hls_window(), and output_segment_list().

◆ ff_hls_write_init_file()

void ff_hls_write_init_file ( AVIOContext out,
char *  filename,
int  byterange_mode,
int64_t  size,
int64_t  pos 
)

Definition at line 94 of file hlsplaylist.c.

Referenced by hls_window(), and output_segment_list().

◆ ff_hls_write_file_entry()

int ff_hls_write_file_entry ( AVIOContext out,
int  insert_discont,
int  byterange_mode,
double  duration,
int  round_duration,
int64_t  size,
int64_t  pos,
char *  baseurl,
char *  filename,
double *  prog_date_time 
)

Definition at line 103 of file hlsplaylist.c.

Referenced by hls_window(), and output_segment_list().

◆ ff_hls_write_end_list()

void ff_hls_write_end_list ( AVIOContext out)

Definition at line 156 of file hlsplaylist.c.

Referenced by hls_window(), and output_segment_list().