[Doc] Fix a few problems
- Add --time_shift_buffer_depth to HLS doc. - Fix a problem in HLS tutorial Partially address #304, fixes #305 Change-Id: I60bc1eb659a30beb0a6ab73433f4cc99a7deab07
This commit is contained in:
parent
c03c447e0b
commit
fcc334d652
|
@ -21,3 +21,8 @@ HLS options
|
|||
VOD, EVENT, or LIVE. This defines the EXT-X-PLAYLIST-TYPE in the HLS
|
||||
specification. For hls_playlist_type of LIVE, EXT-X-PLAYLIST-TYPE tag is
|
||||
omitted.
|
||||
|
||||
--time_shift_buffer_depth <seconds>
|
||||
|
||||
Guaranteed duration of the time shifting buffer for LIVE playlist, in
|
||||
seconds.
|
||||
|
|
|
@ -46,11 +46,11 @@ The examples below uses the H264 streams created in :doc:`encoding`.
|
|||
* TS output::
|
||||
|
||||
$ packager \
|
||||
'in=h264_baseline_360p_600.mp4,stream=audio,output=audio_$Number$.ts,playlist_name=audio.m3u8,hls_group_id=audio,hls_name=ENGLISH' \
|
||||
'in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p_$Number$.ts,playlist_name=h264_360p.m3u8' \
|
||||
'in=h264_main_480p_1000.mp4,stream=video,output=h264_480p_$Number$.ts,playlist_name=h264_480p.m3u8' \
|
||||
'in=h264_main_720p_3000.mp4,stream=video,output=h264_720p_$Number$.ts,playlist_name=h264_720p.m3u8' \
|
||||
'in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p_$Number$.ts,playlist_name=h264_1080p.m3u8' \
|
||||
'in=h264_baseline_360p_600.mp4,stream=audio,segment_template=audio_$Number$.ts,playlist_name=audio.m3u8,hls_group_id=audio,hls_name=ENGLISH' \
|
||||
'in=h264_baseline_360p_600.mp4,stream=video,segment_template=h264_360p_$Number$.ts,playlist_name=h264_360p.m3u8' \
|
||||
'in=h264_main_480p_1000.mp4,stream=video,segment_template=h264_480p_$Number$.ts,playlist_name=h264_480p.m3u8' \
|
||||
'in=h264_main_720p_3000.mp4,stream=video,segment_template=h264_720p_$Number$.ts,playlist_name=h264_720p.m3u8' \
|
||||
'in=h264_high_1080p_6000.mp4,stream=video,segment_template=h264_1080p_$Number$.ts,playlist_name=h264_1080p.m3u8' \
|
||||
--hls_master_playlist_output h264_master.m3u8
|
||||
|
||||
The above packaging command creates five single track TS streams
|
||||
|
|
|
@ -96,9 +96,10 @@ const char kUsage[] =
|
|||
" EXT-X-MEDIA. Defaults to the base of the playlist name.\n"
|
||||
" - hls_group_id: Used for HLS audio to set the GROUP-ID attribute for\n"
|
||||
" EXT-X-MEDIA. Defaults to 'audio' if not specified.\n"
|
||||
" - playlist_name: Used for HLS video. The name of the playlist to create.\n"
|
||||
" Usually ends with '.m3u8'. If unspecified, defaults to something of\n"
|
||||
" the form 'stream_0.m3u8', 'stream_1.m3u8', 'stream_2.m3u8', etc.\n";
|
||||
" - playlist_name: The HLS playlist file to create. Usually ends with\n"
|
||||
" '.m3u8', and is relative to --hls_master_playlist_output. If\n"
|
||||
" unspecified, defaults to something of the form 'stream_0.m3u8',\n"
|
||||
" 'stream_1.m3u8', 'stream_2.m3u8', etc.\n";
|
||||
|
||||
// Labels for parameters in RawKey key info.
|
||||
const char kDrmLabelLabel[] = "label";
|
||||
|
|
Loading…
Reference in New Issue