HLS EXT-X-VERSION 4多音频无法投射

时间:2019-04-29 08:52:00

标签: jwplayer chromecast google-cast hls

我有一个带有多个音轨的HLS。 Apple的mediastreamvalidator可以验证它,jwplayer可以正常播放,但我不能进行转换。其他多音频HLS流效果很好。

不投放的流:

#EXTM3U
#EXT-X-VERSION:4
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="tve-audios",LANGUAGE="hun",NAME="magyar",AUTOSELECT=YES,DEFAULT=YES,URI="11.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="tve-audios",LANGUAGE="mul",NAME="eredeti",AUTOSELECT=NO,DEFAULT=NO,URI="12.m3u8"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=501372,CODECS="avc1.42c00d,mp4a.40.2",RESOLUTION=320x180,AUDIO="tve-audios"
06.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=858981,CODECS="avc1.42c01e,mp4a.40.2",RESOLUTION=480x270,AUDIO="tve-audios"
05.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1216589,CODECS="avc1.4d401e,mp4a.40.2",RESOLUTION=640x360,AUDIO="tve-audios"
04.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1523111,CODECS="avc1.4d4028,mp4a.40.2",RESOLUTION=854x480,AUDIO="tve-audios"
03.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=147033,CODECS="mp4a.40.2",AUDIO="tve-audios"
11.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=147033,CODECS="mp4a.40.2",AUDIO="tve-audios"
12.m3u8

强制转换的流

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Chinese",FORCED=NO,AUTOSELECT=YES,URI="subtitlelist_lzho_w1728887294_b160000_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8",LANGUAGE="zho"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="French",FORCED=NO,AUTOSELECT=YES,URI="subtitlelist_lfra_w1728887294_b160000_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8",LANGUAGE="fra"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="German",FORCED=NO,AUTOSELECT=YES,URI="subtitlelist_ldeu_w1728887294_b160000_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8",LANGUAGE="deu"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Japanese",FORCED=NO,AUTOSELECT=YES,URI="subtitlelist_ljpn_w1728887294_b160000_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8",LANGUAGE="jpn"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Portuguese",FORCED=NO,AUTOSELECT=YES,URI="subtitlelist_lpor_w1728887294_b160000_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8",LANGUAGE="por"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Spanish; Castilian",FORCED=NO,AUTOSELECT=YES,URI="subtitlelist_lspa_w1728887294_b160000_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8",LANGUAGE="spa"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1728887294_b160000_ao_slen_t64RW5nbGlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="es",NAME="Spanish",DEFAULT=NO,AUTOSELECT=YES,URI="chunklist_w1728887294_b160000_ao_sles_t64U3BhbmlzaA==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="en",NAME="Commentary (eng)",DEFAULT=NO,AUTOSELECT=NO,URI="chunklist_w1728887294_b160000_ao_slen_t64Q29tbWVudGFyeSAoZW5nKQ==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=2962000,NAME="Main",CODECS="avc1.66.30",RESOLUTION=1280x720,AUDIO="aac",SUBTITLES="subs"
chunklist_w1728887294_b2962000_vo_slen_t64TWFpbg==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1427000,NAME="Main",CODECS="avc1.66.30",RESOLUTION=768x432,AUDIO="aac",SUBTITLES="subs"
chunklist_w1728887294_b1427000_vo_slen_t64TWFpbg==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=688000,NAME="Main",CODECS="avc1.66.30",RESOLUTION=448x252,AUDIO="aac",SUBTITLES="subs"
chunklist_w1728887294_b688000_vo_slen_t64TWFpbg==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=331000,NAME="Main",CODECS="avc1.66.30",RESOLUTION=284x160,AUDIO="aac",SUBTITLES="subs"
chunklist_w1728887294_b331000_vo_slen_t64TWFpbg==_cfRWxlcGhhbnRzRHJlYW0vRWxlcGhhbnRzRHJlYW0udHRtbA==.m3u8

当我设置多个音轨时,编码器会自动将EXT-X-VERSION设置为4,因此无法像其他流一样将其设置为3。

请Google Cast团队帮助我。 jwplayer支持团队建议与Cast支持团队联系。

问题是多个音轨。带有一个音频的相同编码器效果很好。

1 个答案:

答案 0 :(得分:0)

请使用Cast Issue Tracker提交错误。

https://developers.google.com/cast/support#report_issues