m3u8 清单文件中的多个音轨
Multiple audio tracks in m3u8 manifest file
我有这个清单文件:
#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio",LANGUAGE="en",AUTOSELECT=YES,URI="audio.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=1758000,RESOLUTION=1280x720,AUDIO="audio-1"
video_720p.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=896000,RESOLUTION=640x480,AUDIO="audio-1"
video_480p.m3u8
我想在创建后添加更多音轨。
我可以只在文件末尾添加吗?像这样?
#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=YES,URI="audio.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=1758000,RESOLUTION=1280x720,AUDIO="audio-1"
video_720p.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=896000,RESOLUTION=640x480,AUDIO="audio-1"
video_480p.m3u8
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio2",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=NO,URI="audio2.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio3",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=NO,URI="audio3.m3u8"
仅供参考,是的,您可以在 m3u8 文件的末尾放置更多曲目。
我有这个清单文件:
#EXTM3U #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio",LANGUAGE="en",AUTOSELECT=YES,URI="audio.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=1758000,RESOLUTION=1280x720,AUDIO="audio-1" video_720p.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=896000,RESOLUTION=640x480,AUDIO="audio-1" video_480p.m3u8
我想在创建后添加更多音轨。 我可以只在文件末尾添加吗?像这样?
#EXTM3U #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=YES,URI="audio.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=1758000,RESOLUTION=1280x720,AUDIO="audio-1" video_720p.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=896000,RESOLUTION=640x480,AUDIO="audio-1" video_480p.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio2",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=NO,URI="audio2.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="Audio3",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=NO,URI="audio3.m3u8"
仅供参考,是的,您可以在 m3u8 文件的末尾放置更多曲目。