Open mariocynicys opened 2 years ago
the shown output seems to show an audio and subtitle variants as expected in the master m3u8?
I think variants are #EXT-X-STREAM-INF
streams (used this as a refresher). Playlists created using packager with no videos has none of these.
IIRC, ShakaPlayer wasn't able to play streams with no #EXT-X-STREAM-INF
. I wasn't able to determine whether the spec guides that #EXT-X-STREAM-INF
is optional or required (thus this should be fixed from the packager or player end).
Ah yes. This is due to this code https://github.com/shaka-project/shaka-packager/blob/main/packager/hls/base/master_playlist.cc#L514-L515
It currently specifically only handles video + audio/text or audio only (with no text) further down.
Is there an example of what an audio + text only master playlist should look like?
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen
in a comment.
System info
Operating System: Ubuntu 18.04 Shaka Packager Version: c1f64e5-release
Issue and steps to reproduce the problem
When an (audio+text)-only stream is packaged using shaka packager, shaka packager would not produce a stream variant for the audio content, would not produce a stream variant at all. In contrast, it will produce a video stream variant when packaging a video+any content and an audio stream variant when packaging an audio-only content.
Packager Command:
What is the expected result? To have an audio stream variant in the master playlist.
What happens instead? Shaka Packager outputs no stream variants in the master playlist.
The needed test files are sent by email.