Closed mazz closed 2 years ago
Do both language options appear in Shaka Player? https://shaka-player-demo.appspot.com/demo/#panel=CUSTOM%20CONTENT
it shows one, and calls it "undetermined" when I choose it, it will show the ru captions. So I must be misconfiguring things, do you have any suggestions?
When I choose English(the base language) the English captions do not appear.
I found a fix, I needed to insert language=<isolang>
for each row. Thanks @joeyparrish for directing to me the online shaka player.
This issue helped me: https://github.com/shaka-project/shaka-packager/issues/473
~/bin/packager-osx-x64 \
'in=input-360.mp4,stream=audio,segment_template=audio/$Number$.aac,playlist_name=audio/main.m3u8,hls_group_id=audio,hls_name=ENGLISH' \
'in=en.vtt,stream=text,segment_template=text/$Number$.en.vtt,playlist_name=text/en.m3u8,hls_group_id=text,language=en,hls_name=ENGLISH' \
'in=es.vtt,stream=text,segment_template=text/$Number$.es.vtt,playlist_name=text/es.m3u8,hls_group_id=text,language=es,hls_name=SPANISH' \
'in=input-360.mp4,stream=video,segment_template=h264_360p/$Number$.ts,playlist_name=h264_360p/main.m3u8,iframe_playlist_name=h264_360p/iframe.m3u8' \
'in=input-720.mp4,stream=video,segment_template=h264_720p/$Number$.ts,playlist_name=h264_720p/main.m3u8,iframe_playlist_name=h264_720p/iframe.m3u8' \
--hls_master_playlist_output h264_master.m3u8
System info
mac os montery shaka-packager version v2.6.1-634af65-release
Issue and steps to reproduce the problem
Packager Command:
Confirm that en and ru segmented vtt files are generated.
Confirm that ENGLISH and RUSSIAN are generated in master m3u8 file:
Extra steps to reproduce the problem? I create a second entry for
ru
but "RUSSIAN" does not appear in Chrome HLS playback plug-in(When ENGLISH subtitles/caption are selection, they appear as expected)
What is the expected result?
Both ENGLISH and RUSSIAN appear in caption list
What happens instead?
Just ENGLISH appears.