Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

FileGlobLivestream opens a stream for each file #77

Closed
Mikulskii opened this issue Dec 30, 2021 · 4 comments
Closed

FileGlobLivestream opens a stream for each file #77

Mikulskii opened this issue Dec 30, 2021 · 4 comments

Comments

@Mikulskii
Copy link

Mikulskii commented Dec 30, 2021

Hello! The script works fine, but there is a problem for me:
When playing a list of files via the FileGloblivestream /playlist twitch -glob "*.mp4" -loop command, then when starts playing the next video file from the list, the broadcast restarts.
Is there any way around this?

Ubuntu 20.04, ffmpeg 4, Python 3.9

@Ch41r05
Copy link

Ch41r05 commented Sep 29, 2022

Hi @Mikulskii , did you solve the issue you reported? If yes, how did you go about it? I'm encountering the same problem, given that looking at the python code I understand the stream is reset for each file.

@Mikulskii
Copy link
Author

@Ch41r05 Hi! I closed this issue, because among the solved ones I found that this script is not focused on playlists.
As a result, I use the ffplayout script: https://github.com/ffplayout

@Ch41r05
Copy link

Ch41r05 commented Sep 29, 2022

@Mikulskii thanks for the prompt response! Would you mind sharing what solution you implemented? I made my own fork where I fixed this issue by using a playlist generated at runtime from all files, eventually filtered by glob, present in the given folder. What doesn't work with this approach is randomization and captions.

@Mikulskii
Copy link
Author

@Ch41r05 I'm not a programmer, just a user.
n general, I use ffplayout-script: https://github.com/ffplayout to randomly play videos from a folder. Check it out. Maybe you will find something useful from the code.
I wrote a post on my blog about how I set up everything and use it: https://mikulski.rocks/how-i-made-my-stream-radio-24-7/

Repository owner locked and limited conversation to collaborators Dec 1, 2022
@scivision scivision converted this issue into discussion #104 Dec 1, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants