algora-io / tv

Open source Twitch for developers
https://algora.tv
Other
1.08k stars 69 forks source link

Develop VOD merging functionality for combining multiple streams #71

Closed zcesur closed 2 months ago

zcesur commented 2 months ago

We need an Algora.Admin.merge_streams() function that merges multiple HLS VODs into a single one without reencoding.

I think we should be able to do that by merging all segments into a single .m3u8 playlist.

We might need to interleave the different groups of segments with a discontinuity event/marker (EXT-X-DISCONTINUITY tag) so that the video player can play the merged VOD properly (as commonly used for mid-roll ads)

We should preserve the existing video records in the database but mark them as unlisted.

zcesur commented 2 months ago

/bounty $150

algora-pbc[bot] commented 2 months ago

## 💎 $150 bounty • Algora

### Steps to solve: 1. Start working: Comment /attempt #71 with your implementation plan 2. Submit work: Create a pull request including /claim #71 in the PR body to claim the bounty 3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

### ❗ Important guidelines: - To claim a bounty, you need to provide a short demo video of your changes in your pull request - If anything is unclear, ask for clarification before starting as this will help avoid potential rework - For assistance or questions, join our Discord

Thank you for contributing to algora-io/tv!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @TwistingTwists Aug 30, 2024, 1:53:53 PM WIP
🟢 @Lirianer Sep 2, 2024, 6:49:44 AM #76
TwistingTwists commented 2 months ago

/attempt #71

Lirianer commented 2 months ago

/attempt #71

algora-pbc[bot] commented 2 months ago

💡 @Lirianer submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 2 months ago

🎉🎈 @Lirianer has been awarded $200! 🎈🎊