Skip to content
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

Schedule Rebroadcast needs a feed that never stops #9814

Open
JoshWho opened this issue Jan 16, 2025 · 9 comments
Open

Schedule Rebroadcast needs a feed that never stops #9814

JoshWho opened this issue Jan 16, 2025 · 9 comments

Comments

@JoshWho
Copy link
Contributor

JoshWho commented Jan 16, 2025

If a video playlist is selected there needs to be a way to continue to the next video without disconnecting. I know it is possible for this to do this. The title updating is not important, should just stay the same title of the playlist.

9a0a418c-e309-4e7f-90ec-457b83299574

If the feed can stay constant without disconnecting reconnecting it would work perfect with the restreaming to other platforms as well.

has to be some way to stop the disconnect reconnect from happening after each video.

@DanielnetoDotCom
Copy link
Member

Unfortunately, it is not possible to implement the feature you are asking for, as it would introduce more issues than solutions. Here are the reasons why:

  1. Incompatibility with Different Formats:

    • Videos in your platform are likely to have different formats, resolutions, bitrates, codecs, and extensions.
    • While FFmpeg can handle these differences without errors, the web player breaks when switching between videos due to HLS limitations—it seems HLS streams cannot dynamically change formats within the same stream.
  2. Playlist Updates:

    • Once the stream starts, the playlist cannot be updated dynamically without stopping and restarting FFmpeg.
    • This means that any changes or additions to the playlist would require the stream to disconnect and reconnect, defeating the purpose of a "seamless" experience.
  3. Metadata Limitations:

    • It would not be possible to track or know which video is currently playing during the stream.
    • This lack of metadata would affect user experience and potentially other features that depend on knowing what is being streamed.

For these reasons, the current implementation is the most reliable and functional option.

@JoshWho
Copy link
Contributor Author

JoshWho commented Jan 16, 2025

If the videos are all encoded in the same bitrate that shouldn't be an issue. Meta data is not important should just use the playlist title and maybe a uploaded thumbnail.

@DanielnetoDotCom
Copy link
Member

But still the resolution issue
Playlist Updates issue
Metadata Limitations issue

@JoshWho
Copy link
Contributor Author

JoshWho commented Jan 16, 2025

I would think it would just like a radio encoder works. as long as the files are all the same bitrate it should be able to play all bits without interruption. Radio server works this exact way but it is audio only but same rules, it chunks the mp3 files into bit playlist and constant streams each track without interruption. Same way TV networks do it.

@DanielnetoDotCom
Copy link
Member

I was thinking that may be possible but will cost some extra resources

But I cannot promise you this to be done now

@JoshWho
Copy link
Contributor Author

JoshWho commented Jan 17, 2025

Please let me know when you can try to modify it. Once this last step is done it will be ready for selling as a service. I feel we are so close to this being complete.

@DanielnetoDotCom
Copy link
Member

this is a huge change, but why do you want this?

@JoshWho
Copy link
Contributor Author

JoshWho commented Jan 17, 2025

We have a user well a couple of users that want this feature but needs it to stay a constant broadcast.

This will be like a full TV broadcasting network and I bet this feature gets bought once people realize they can host a tv network in the cloud basically with this feature. VOD Live Streaming and 24/7 streaming completes it.

@walt93
Copy link
Collaborator

walt93 commented Jan 20, 2025

Josh- FWIW I have spent a few days with the AI trying to architect a stable FFMPEG 24/7 livestream, and, it is a bitch. I will get back to this project soon, but I think it looks like having a 24/7/365 ffmpeg process that transcode-feeds the RTMP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants