diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-01-23 18:52:02 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-01-31 16:17:02 +0800 |
commit | 6a25bb5aa42285441dbe7d3372f598bb7ac7c4bf (patch) | |
tree | 10ab8c8b06b860e5d9386d7cd5aee25fb4b64592 /libavformat/hlsplaylist.h | |
parent | 62e8644bcadb82e0ed542b6baacff1c9e15b88c2 (diff) | |
download | ffmpeg-6a25bb5aa42285441dbe7d3372f598bb7ac7c4bf.tar.gz |
avformat/hlsenc: add var_stream_map DEFAULT field status parameter
use a:0,agroup:aud_low,default:Yes a:1,agroup:aud_low,
a:2,agroup:aud_high,default:Yes a:3, agroup:aud_high,
v:0,agroup:aud_low v:1,agroup:aud_high
create master m3u8 list.
result:
EXTM3U
EXT-X-VERSION:3
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_0",DEFAULT=YES,URI="out_0.m3u8"
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_1",DEFAULT=NO,URI="out_1.m3u8"
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_2",DEFAULT=YES,URI="out_2.m3u8"
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_3",DEFAULT=NO,URI="out_3.m3u8"
EXT-X-STREAM-INF:BANDWIDTH=1170400,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_low"
out_4.m3u8
EXT-X-STREAM-INF:BANDWIDTH=3440800,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_high"
out_5.m3u8
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/hlsplaylist.h')
0 files changed, 0 insertions, 0 deletions