-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty segmentTemplate when subtitle file is empty #422
Comments
@jakubvojacek This is similar to this feature request #354. We are hesitant to support things like this directly in Shaka Packager as we think it is better to be handled outside of packager. We think it is better for usability and clarity with the assumption that If the stream is provided to Shaka Packager, then it should be a valid stream and it should be present in the generated manifest. Of course, we will reconsider the decision if there are strong user requests to support this. @joeyparrish Joey, do you think if it makes sense to support a manifest like this in Shaka Player? |
But the file was valid, I believe, even though empty, still valid. When you're watching a live channel with closed captions available, you have the option to switch them off or on. When you're watching a recording of some event from the same channel, the captions should still appear as available (even when empty for given time period), that is the correct user experience in our opinion, that is why I am would like to avoid not having the subtitles generated. |
This is something that Shaka Player should be able to handle. I'll file an issue there. |
Thanks Joey! @jakubvojacek Your argument makes sense to me. I'll close the bug and leave it to be handled by Shaka Player. Feel free to re-open the bug or post comments if you think it is useful to handle it in packager as well. |
See also shaka-project/shaka-packager#422 Closes #1484 Change-Id: I293468a39918a4a8487d15ec70b365eec3dd1ebc
See also shaka-project/shaka-packager#422 Closes #1484 Change-Id: I293468a39918a4a8487d15ec70b365eec3dd1ebc
System info
Operating System: latest debian
Shaka Packager Version: version 1600909-release (master)
Issue and steps to reproduce the problem
Packaging VOD (actually a catchup event, but thats like VOD) with subtitles. But there happened to be no subtitles available in the event's timeframe. Therefore the
vtt
file was empty. The content was packaged successfully but the generated MPD is not playable via shaka player (plays with dashjs though) due toSegmentTemplate does not contain any segment information: the SegmentTemplate must contain either an index URL template a SegmentTimeline, or a segment duration.
I am attaching sample MPD for reference 2018-06-30-17-29-412343-euromaxx.mpd.txt.Is this an issue in shaka packager or shaka player? One possible workaround would be to check the generated vtt file before packaging and remove the subtitle portion of the command but would like to avoid that.
Packager Command:
The text was updated successfully, but these errors were encountered: