FFmpeg
4.0
|
Apple HTTP Live Streaming demuxer http://tools.ietf.org/html/draft-pantos-http-live-streaming. More...
#include "libavformat/http.h"
#include "libavutil/avstring.h"
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "libavutil/time.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
#include "id3v2.h"
Go to the source code of this file.
Data Structures | |
struct | segment |
struct | playlist |
struct | rendition |
struct | variant |
struct | HLSContext |
struct | variant_info |
struct | key_info |
struct | init_section_info |
struct | rendition_info |
Macros | |
#define | INITIAL_BUFFER_SIZE 32768 |
#define | MAX_FIELD_LEN 64 |
#define | MAX_CHARACTERISTICS_LEN 512 |
#define | MPEG_TIME_BASE 90000 |
#define | MPEG_TIME_BASE_Q (AVRational){1, MPEG_TIME_BASE} |
#define | OFFSET(x) offsetof(HLSContext, x) |
#define | FLAGS AV_OPT_FLAG_DECODING_PARAM |
Enumerations | |
enum | KeyType { KEY_NONE, KEY_AES_128, KEY_SAMPLE_AES } |
enum | PlaylistType { PLS_TYPE_UNSPECIFIED, PLS_TYPE_EVENT, PLS_TYPE_VOD, PLAYLIST_TYPE_NONE, PLAYLIST_TYPE_EVENT, PLAYLIST_TYPE_VOD, PLAYLIST_TYPE_NB } |
enum | ReadFromURLMode { READ_NORMAL, READ_COMPLETE, READ_NORMAL, READ_COMPLETE } |
Variables | |
static const AVOption | hls_options [] |
static const AVClass | hls_class |
AVInputFormat | ff_hls_demuxer |
Apple HTTP Live Streaming demuxer http://tools.ietf.org/html/draft-pantos-http-live-streaming.
Definition in file hls.c.
#define INITIAL_BUFFER_SIZE 32768 |
Definition at line 42 of file hls.c.
Referenced by hls_read_header().
#define MPEG_TIME_BASE 90000 |
Definition at line 47 of file hls.c.
Referenced by set_stream_info_from_input_stream().
#define MPEG_TIME_BASE_Q (AVRational){1, MPEG_TIME_BASE} |
Definition at line 48 of file hls.c.
Referenced by compare_ts_with_wrapdetect(), fill_timing_for_id3_timestamped_stream(), and get_timebase().
#define OFFSET | ( | x | ) | offsetof(HLSContext, x) |
#define FLAGS AV_OPT_FLAG_DECODING_PARAM |
enum PlaylistType |
enum ReadFromURLMode |
Definition at line 219 of file hls.c.
Referenced by free_playlist_list(), and parse_playlist().
Definition at line 231 of file hls.c.
Referenced by free_playlist_list().
|
static |
Definition at line 242 of file hls.c.
Referenced by hls_close().
|
static |
Definition at line 277 of file hls.c.
Referenced by hls_close().
|
static |
Definition at line 289 of file hls.c.
Referenced by hls_close().
Definition at line 302 of file hls.c.
Referenced by hls_read_packet(), hls_read_seek(), and new_playlist().
|
static |
Definition at line 308 of file hls.c.
Referenced by new_rendition(), and new_variant().
|
static |
Definition at line 333 of file hls.c.
Referenced by ensure_playlist(), and parse_playlist().
|
static |
Definition at line 359 of file hls.c.
Referenced by parse_playlist().
|
static |
Definition at line 383 of file hls.c.
Referenced by parse_playlist().
|
static |
Definition at line 403 of file hls.c.
Referenced by parse_playlist().
|
static |
Definition at line 440 of file hls.c.
Referenced by parse_playlist().
|
static |
Definition at line 464 of file hls.c.
Referenced by parse_playlist().
|
static |
Definition at line 542 of file hls.c.
Referenced by parse_playlist().
|
static |
Definition at line 586 of file hls.c.
Referenced by parse_playlist().
Definition at line 596 of file hls.c.
Referenced by hls_read_header().
|
static |
Definition at line 604 of file hls.c.
Referenced by open_url(), and parse_playlist().
|
static |
Definition at line 622 of file hls.c.
Referenced by open_input().
|
static |
Definition at line 703 of file hls.c.
Referenced by hls_read_header(), read_data(), and select_cur_seq_no().
Definition at line 927 of file hls.c.
Referenced by intercept_id3(), and read_data().
Definition at line 932 of file hls.c.
Referenced by read_data().
|
static |
Definition at line 945 of file hls.c.
Referenced by intercept_id3(), read_data(), and update_init_section().
|
static |
Definition at line 969 of file hls.c.
Referenced by handle_id3().
|
static |
Definition at line 995 of file hls.c.
Referenced by handle_id3().
|
static |
Definition at line 1024 of file hls.c.
Referenced by intercept_id3().
Definition at line 1066 of file hls.c.
Referenced by read_data().
|
static |
Definition at line 1166 of file hls.c.
Referenced by read_data(), and update_init_section().
Definition at line 1266 of file hls.c.
Referenced by read_data().
|
static |
Definition at line 1323 of file hls.c.
Referenced by read_data(), and select_cur_seq_no().
Definition at line 1330 of file hls.c.
Referenced by read_data(), and recheck_discard_flags().
Definition at line 1376 of file hls.c.
Referenced by hls_read_header().
|
static |
Definition at line 1524 of file hls.c.
Referenced by hls_read_header().
|
static |
Definition at line 1548 of file hls.c.
Referenced by hls_read_header().
|
static |
Definition at line 1580 of file hls.c.
Referenced by hls_read_seek(), and select_cur_seq_no().
|
static |
Definition at line 1606 of file hls.c.
Referenced by hls_read_header(), and recheck_discard_flags().
|
static |
Definition at line 1645 of file hls.c.
Referenced by hls_read_header().
|
static |
Definition at line 1667 of file hls.c.
Referenced by hls_read_header().
|
static |
Definition at line 1677 of file hls.c.
Referenced by update_streams_from_subdemuxer().
|
static |
Definition at line 1703 of file hls.c.
Referenced by hls_read_packet(), and update_streams_from_subdemuxer().
|
static |
Definition at line 1722 of file hls.c.
Referenced by hls_read_header(), and hls_read_packet().
|
static |
Definition at line 1747 of file hls.c.
Referenced by hls_read_header(), and hls_read_packet().
|
static |
Definition at line 1768 of file hls.c.
Referenced by hls_read_header().
|
static |
|
static |
Definition at line 1996 of file hls.c.
Referenced by hls_read_packet().
Definition at line 2035 of file hls.c.
Referenced by hls_read_packet().
|
static |
Definition at line 2060 of file hls.c.
Referenced by compare_ts_with_wrapdetect(), and hls_read_packet().
|
static |
Definition at line 2068 of file hls.c.
Referenced by hls_read_packet().
|
static |
|
static |
|
static |
|
static |
|
static |
AVInputFormat ff_hls_demuxer |