-
Notifications
You must be signed in to change notification settings - Fork 515
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
Specify segment start number #852
Comments
@wutchzone As @sr1990 mentioned, the PR (#818) he is working on right now may help. With his change, the segment start number will be generated from the media timestamp. We will probably still need something like #519 but a variation of it as TS timestamp is only 33 bits. |
Hello but starting the segment number from media timestamp will not solve @wutchzone problem right? Because after packager restart, there will be the old segments available but packager's MPD will not point to them. Or do you plan to add some startup check to check for old segments and create the MPD with the old segments as well (and some optional media that will be used to fill the gaps)? Thank you |
@sr1990 Yes it looks like that #818 could solve my problem, but it looks like that is only for DASH (as PR name says). I would like to apply this feature to both playlists (DASH && HLS). I imagine something much simpler than detecting the segment number from TS. And as @jakubvojacek mentions it would be cool to detect "old" segments from last run, but I imagine it would be hard to implement. |
@jakubvojacek @wutchzone
|
@wutchzone I do manage incremental numbers in file names after restarts BTW. I use IDK if this is helpful for your use case, but I did solved my HLS restarts this way. |
I was thinking of how to create such a script however I got quite lost. I believe it would be beneficial if there was a sample in the packager docs, would the shaka team be willing to write such an example? :) Thank you |
|
Any updates on this? |
This should be solved after #879 was merged |
Hello,
When using packager for live video with
$Number$
in segment template it would be great to specify from which number to start instead of 0.Image situation when packager is packing livestream and it crashes (or some maintenance). For failover it would be great if packager would continue with segment number where it ended instead of starting from 0.
Is there a way how to make it possible?
Thanks
The text was updated successfully, but these errors were encountered: