Automate 24/7 Stream for a scheduled Playlist

bcoyle

Member
Yes, I'm finding that there is a core of developers that know what they are doing and non techies that just want to get things going, have there video blob etc. Do you think there is much of a demand for this type of programming. There isn't too many people that have 24/7 material. I can see schools and churches wanting this, but really haven't had too many people that seem interested in this. Are you a programmer? I've found that there is a lot of foundation work to be done before you can start on the really interesting stuff.
oh, if you want to see some of my material, i'm on youtube. search for DCCATV. That's short for douglas county public access tv. Just playing some nasa stuff. What do you want to stream?
 

methodman120

New Member
Yes, I'm finding that there is a core of developers that know what they are doing and non techies that just want to get things going, have there video blob etc. Do you think there is much of a demand for this type of programming. There isn't too many people that have 24/7 material. I can see schools and churches wanting this, but really haven't had too many people that seem interested in this. Are you a programmer? I've found that there is a lot of foundation work to be done before you can start on the really interesting stuff.
I am interested in this because I want to have access to my film and television library. I want others such as my family and friends to be able to have that access as well. I am not a programmer but have been reading various forums about these things. It started with me trying to find software that could easily do the job so my friends and family could watch my content on their tv's basically.

I also just saw your YouTube video channel, I noticed you have tv streaming live. Good religious content you provide! Is it run on a platform you created to automate the scheduling? I have not tried YouTube live yet, but I often see various users posting episodes of tv shows and movies on there live and wonder how they do it as they are not a network affiliate.
 

MidiaNinja

New Member
oh, if you want to see some of my material, i'm on youtube. search for DCCATV. That's short for douglas county public access tv. Just playing some nasa stuff. What do you want to stream?
Hi, i've see your channel, whats your workflow to keep it live 24/7?
I have a lot of original content, and searching for solutions of 24h tv for lives news and scheduled edited content.
 

bcoyle

Member
I am interested in this because I want to have access to my film and television library. I want others such as my family and friends to be able to have that access as well. I am not a programmer but have been reading various forums about these things. It started with me trying to find software that could easily do the job so my friends and family could watch my content on their tv's basically.

I also just saw your YouTube video channel, I noticed you have tv streaming live. Good religious content you provide! Is it run on a platform you created to automate the scheduling? I have not tried YouTube live yet, but I often see various users posting episodes of tv shows and movies on there live and wonder how they do it as they are not a network affiliate.
Hi: At this point in time, I'm basically using OBS to Stream. On Sundays, I stream about 10 years of our church videos. I'm part of the video team for our church. I put everything in a directory and use a scene that has a vlc source. I give it the directory in which I stored all the videos and set the scene for shuffle loop and tell it to go. On you tube, I have an ordinary you tube account set up for stream (easy to do). As long as I keep streaming, it stays live 24/7. If for some reason (like maintenance) I stop the stream, then youtube will close the stream after a few hours. If that happens, I have to restart the stream, no big deal, but the stream now has a different URL and you have to search again. You can't basically embed them because at on point, the url will change. You have to tell everyone about the new url or have them research for your youtube tags again to find it. Not too bad.
What would you like to see in a 24/7 manager?
 

bcoyle

Member
I am interested in this because I want to have access to my film and television library. I want others such as my family and friends to be able to have that access as well. I am not a programmer but have been reading various forums about these things. It started with me trying to find software that could easily do the job so my friends and family could watch my content on their tv's basically.

I also just saw your YouTube video channel, I noticed you have tv streaming live. Good religious content you provide! Is it run on a platform you created to automate the scheduling? I have not tried YouTube live yet, but I often see various users posting episodes of tv shows and movies on there live and wonder how they do it as they are not a network affiliate.
Your question about content. Basically you tube detects if you are streaming copy write material and pays the owners to play them and them make their money on ads. To test whether youtube likes this or not, you should do a normal upload and see what you tube thinks about it. I've only had trouble with one video. I played "Victory at Sea" and got block on the stream. I then uploaded and found it was blocked in certain countries, so you tube will block for everyone, if even one person block it. Disney and Micheal Jackson do blocking also.

So even if you see a someone else's video on you tube, it may be blocked in certain countries but is still allowed to be played. But when streamed, it blocks everything. Hope that answers your question. This is my experience once, so as always, take things with a grain of salt.
 

methodman120

New Member
Hi: At this point in time, I'm basically using OBS to Stream. On Sundays, I stream about 10 years of our church videos. I'm part of the video team for our church. I put everything in a directory and use a scene that has a vlc source. I give it the directory in which I stored all the videos and set the scene for shuffle loop and tell it to go. On you tube, I have an ordinary you tube account set up for stream (easy to do). As long as I keep streaming, it stays live 24/7. If for some reason (like maintenance) I stop the stream, then youtube will close the stream after a few hours. If that happens, I have to restart the stream, no big deal, but the stream now has a different URL and you have to search again. You can't basically embed them because at on point, the url will change. You have to tell everyone about the new url or have them research for your youtube tags again to find it. Not too bad.
What would you like to see in a 24/7 manager?
So basically OBS is only good for streaming original content?

To answer your other question for a 24/7 manager I would like the following (I had mentioned some of this earlier in the forums as well so it might sound repetitive...

- a scheduler that can organize program names alphabetically, randomly, or in the desired order by user topic "such as comedy, movies".

- the software would also allow adding commercials, or other clips at interval times...such 5minutes,10 minutes, 20 minutes, etc... after the program starts. Or it can auto detect when to insert the commercial when the content fades to black. It auto detects it and adds the commercial break for the duration you set it for. I think most commercial breaks are 2.5 minutes now, 4-5 minutes if it is a movie.

- Another bonus would be the ability to add a filler clip if needed (such as time when there is no other content but you want to the station to still broadcast something"

- the auto scheduler would load the show (you select the files and import them) and the scheduler sorts the episodes out in order, or randomly, etc...

- The ability to add lower thirds during programs, and to also add a station logo "bug as it is called in the industry" on the side of the screen, the bug could be still or animated using a photo file or a video file. It can run on a timer such as appearing every 10 minutes for 10 seconds, appearing once per hour, a set duration (such as 5 seconds, 1 minute, 5 minutes, or to always being displayed during the duration of the clip playing)...but the ability to make the bug not display during commercials as an option.

- ability to add bumpers before and after commercial breaks, or in the middle of commercial breaks.

- ability to plan out far in advance the episodes, shows played on the schedule. Same with ads, but a way to also shuffle the ad order so the commercials are not repeated in same sequence each time.

Here is another example of all that...
I will use your example from a previous post mentioning Hogan's Heroes at 9pm....If I want Hogan's Heroes on at 9pm the scheduler starts the episode, It can either play the entire episode and add the commercials/fillers after the episode ends, or it can go to a commercial on a timer...(example...Hogan's Heroes intro theme starts and finishes...the commercial clips take over for 2.5 minutes, then it goes back to resuming the Hogan's Heroes file where it left off, which was right after the into theme song. It would pad the episode to basically being 30 minutes, like a real tv station does. So it would be Hogan's Heroes at 9pm, Another Show OR episode of same show at 9:30, etc...

Is something like this possible? That is what is like in a 24/7 manager.
 

bcoyle

Member
So basically OBS is only good for streaming original content?

To answer your other question for a 24/7 manager I would like the following (I had mentioned some of this earlier in the forums as well so it might sound repetitive...

- a scheduler that can organize program names alphabetically, randomly, or in the desired order by user topic "such as comedy, movies".

- the software would also allow adding commercials, or other clips at interval times...such 5minutes,10 minutes, 20 minutes, etc... after the program starts. Or it can auto detect when to insert the commercial when the content fades to black. It auto detects it and adds the commercial break for the duration you set it for. I think most commercial breaks are 2.5 minutes now, 4-5 minutes if it is a movie.

- Another bonus would be the ability to add a filler clip if needed (such as time when there is no other content but you want to the station to still broadcast something"

- the auto scheduler would load the show (you select the files and import them) and the scheduler sorts the episodes out in order, or randomly, etc...

- The ability to add lower thirds during programs, and to also add a station logo "bug as it is called in the industry" on the side of the screen, the bug could be still or animated using a photo file or a video file. It can run on a timer such as appearing every 10 minutes for 10 seconds, appearing once per hour, a set duration (such as 5 seconds, 1 minute, 5 minutes, or to always being displayed during the duration of the clip playing)...but the ability to make the bug not display during commercials as an option.

- ability to add bumpers before and after commercial breaks, or in the middle of commercial breaks.

- ability to plan out far in advance the episodes, shows played on the schedule. Same with ads, but a way to also shuffle the ad order so the commercials are not repeated in same sequence each time.

Here is another example of all that...
I will use your example from a previous post mentioning Hogan's Heroes at 9pm....If I want Hogan's Heroes on at 9pm the scheduler starts the episode, It can either play the entire episode and add the commercials/fillers after the episode ends, or it can go to a commercial on a timer...(example...Hogan's Heroes intro theme starts and finishes...the commercial clips take over for 2.5 minutes, then it goes back to resuming the Hogan's Heroes file where it left off, which was right after the into theme song. It would pad the episode to basically being 30 minutes, like a real tv station does. So it would be Hogan's Heroes at 9pm, Another Show OR episode of same show at 9:30, etc...

Is something like this possible? That is what is like in a 24/7 manager.
Hi Again. What I said about obs is that when played on youtube, you can basically stream copy right material unless it is blocked. The same material uploaded to you tube will play okay but be blocked in the countries that block them. So you seem to be able to stream almost everything because youtube pays royalties to the copyright owner and then makes it up on ads. I image you have seen regular movies on youtube. Older movies have less trouble. I have a lot of videos on youtube where they have copyright claims, but youtube just tells you that you can't monetize them because they basically don't belong to you. This is mostly music. So you can stream old movies, but it is better to upload them first and see if youtube will block in some counties. If not blocked, and usually okay to stream. Does that answer your question?

I have been thinking along the same lines as you. You are constrained by what obs can do. Luckily for commercials, the scene that uses vlc can pause when not visible, play your commercial and resume where it left off. A another nice thing is that vlc can be put into a always play mode, you switch to you ad scene run it for 2 minutes and when you come back, the original program has continued to play and you start the video 2 minutes later, skipping over embedded commercials and replacing them with yours.

All that you ask is possible, but not with any of the tools currently available, as least as far as I know. There is a thing called advance switcher but it is not a automated tv station. Stream Labs has some sort of automated tv options, but you have to pay for them and I don't know much about them. Stream labs is build on obs and offers a free and advanced payed version.
 

methodman120

New Member
Hi Again. What I said about obs is that when played on youtube, you can basically stream copy right material unless it is blocked. The same material uploaded to you tube will play okay but be blocked in the countries that block them. So you seem to be able to stream almost everything because youtube pays royalties to the copyright owner and then makes it up on ads. I image you have seen regular movies on youtube. Older movies have less trouble. I have a lot of videos on youtube where they have copyright claims, but youtube just tells you that you can't monetize them because they basically don't belong to you. This is mostly music. So you can stream old movies, but it is better to upload them first and see if youtube will block in some counties. If not blocked, and usually okay to stream. Does that answer your question?

I have been thinking along the same lines as you. You are constrained by what obs can do. Luckily for commercials, the scene that uses vlc can pause when not visible, play your commercial and resume where it left off. A another nice thing is that vlc can be put into a always play mode, you switch to you ad scene run it for 2 minutes and when you come back, the original program has continued to play and you start the video 2 minutes later, skipping over embedded commercials and replacing them with yours.

All that you ask is possible, but not with any of the tools currently available, as least as far as I know. There is a thing called advance switcher but it is not a automated tv station. Stream Labs has some sort of automated tv options, but you have to pay for them and I don't know much about them. Stream labs is build on obs and offers a free and advanced payed version.
Have you also tried Dizque TV/Pseudo TV? I have not used VLC other than to play indivual files on my computer, never tried any playlists or broadcasts before...don't know how to do that.

As far as OBS and YouTube, I can try it out. So far I have just used Dizque TV as a test, it still has bugs and it's not perfected yet, but still learning it and need a way to have my TV read the M3U playlist stream...and I have used plex to play my media files, but Plex seems to no longer let you use plug-ins.

OBS seems nice, but it seems to not work on Plex, or Emby, or XTeve.

How far along are you on the software project you are working on?
 

Tormy

Member
Hi Tormy
I'm working on something similar and would like your comment on what you think is automated tv. I.E. what is your dream list. It's much easier to design something in from the start. msschwartz is much further alone than me, but would still appreciate your input.
  • The ability to load the show or film sequentially as in a playlist, however with the possibility to quickly reorder them in case one is cancelled or one is added.
  • Adding also stingers for ADS and Commercials playlist
  • The ability to declare a playlist ad Random and other ones sequential.
  • In case of the random one (used more for videoclips time) do not repeat the same video within X hours or X minutes form its first play
  • During episodes, the possibility to add commercials flag where at the specific time (from the beginning of the episode or at hh:mm:ss a comercial playlist starts, preceded by episode fade out and followed by episode fade in (fade in-out time should be setup
Those are the most important ones that are popping up in my mind. If other ones, I will certainly write here
 

bcoyle

Member
Have you also tried Dizque TV/Pseudo TV? I have not used VLC other than to play indivual files on my computer, never tried any playlists or broadcasts before...don't know how to do that.

As far as OBS and YouTube, I can try it out. So far I have just used Dizque TV as a test, it still has bugs and it's not perfected yet, but still learning it and need a way to have my TV read the M3U playlist stream...and I have used plex to play my media files, but Plex seems to no longer let you use plug-ins.

OBS seems nice, but it seems to not work on Plex, or Emby, or XTeve.

How far along are you on the software project you are working on?
Hi: From your comments, I can tell that you haven't really tried OBS. In Short, OBS lets you connect to different platforms like Youtube. It consists of scenes that use a variety of sources, i.e. like vlc. In OBS, you can add a vlc source and tell it to run a file or directory in shuffle/loop mode. There are a number of useful plugins that many people have contributed. As far as I know, there is no automated tv plugin. There are scene switchers that sort of let you do things manually. Right now, I have the obs server streaming 24/7 with a variety of directories full of programs to stream. Currently it just streams out random files with no control on time. You should search on youtube or google to learn more.

I looked at dizque tv, but don't understand it yet. I'm a newbe to social media like plex. I've been learning a lot and am amazed at what's out there.

Project schedule : 1/4 to 1/2 done
 

Freedoms Corner

New Member
Cool beans, I really looks forward to this. Thanks a tone. You should check out zara radio scheduler. I know its radio but its format for scheduling is really nice. Thanks
 

bcoyle

Member
It's coming along. I have to do a lot of foundation - bottom layer code. It's a lot harder and a bigger project than I thought. I am enjoying myself. What else do you have to do when you're staying home dodging that nasty bug.
 

PingWin

New Member
Hi to everyone. I#m from germany, so i'm sorry if my english is a bit hard to unterstand.

Some time ago I searched for a way to create a 24/7 Channel. I tried even vmix with an Playlist Plugin. But somehow it was not the right thing. The complexety of the software was to high to use it as a Playout Server only. So the Project went under my desk. Last week I tried to combine OBS and VLC connected by NDI as it works very well together. The build in Playlist function in OBS gave me the Idea to work with the Playlist Files of VLC. Especially the XSPF file and its XML format gave me the clou to build an light tool for the functions I miss in OBS and VLC. I talk about the ability to calculate the end or the start time. As for prototype I wrote the tool in HTML with JavaScript. As limitation it works only in the Edge Browser because Edge do not care of the CORS policy.
My plan is to rewrite the script/tool in VB.net. But as html&js it can be used ob every OS, even on mobile phones.
 

Attachments

bcoyle

Member
Hi to everyone. I#m from germany, so i'm sorry if my english is a bit hard to unterstand.

Some time ago I searched for a way to create a 24/7 Channel. I tried even vmix with an Playlist Plugin. But somehow it was not the right thing. The complexety of the software was to high to use it as a Playout Server only. So the Project went under my desk. Last week I tried to combine OBS and VLC connected by NDI as it works very well together. The build in Playlist function in OBS gave me the Idea to work with the Playlist Files of VLC. Especially the XSPF file and its XML format gave me the clou to build an light tool for the functions I miss in OBS and VLC. I talk about the ability to calculate the end or the start time. As for prototype I wrote the tool in HTML with JavaScript. As limitation it works only in the Edge Browser because Edge do not care of the CORS policy.
My plan is to rewrite the script/tool in VB.net. But as html&js it can be used ob every OS, even on mobile phones.
Hi There. Nice to see another vb.net programmer. There are some hurdles with vb when applied to obs. But if you are just modifying a vlc playlist, it is a much easier task. If you would like to talk vb, I'm game. Name is Bill
 

PingWin

New Member
hey bill! From a technical point of view, I think we can intervene in the functioning of OBS and control a playlist with a web interface via websocket. But! From a security point of view, we should separate OBS and the 24/7 playout function. The reason is that if OBS crashes it can simply be restarted without pausing the playlist or resetting how currently it is. I think VLC should remain our playout player over NDI and we can develop a plugin for it. We could also write our own player based on VLC with the desired functionality. I think this would be limited in VB, but it is intended for Windows.
 

PingWin

New Member
I go one step further. There is a web interface in VLC. This is compiled as a LUA script. I looked at the interface and saw that all functions and time information are available there. One could try to adapt the source code with Javascript and instead of working with XSPF as is now my case, work directly with the playlist.

What do you think about this?
 

bcoyle

Member
Well, Don't know. My Thoughts: It depends on what you think of as a play list. If obs crashes and you bring it back up and are streaming to it with ndi, yes, obs would then just continue on. If vlc crashes, then you are back in the same situation as a obs crash, program interrupted. With vlc you are limited to a playlist of videos or mp3 music. You lose what obs can do for you because you are just using it as an encoder. You lose the transisions, overlays and scenes. From my point of view, you can have a more powerful playlist via vb -> websocket -> obs. Its very easy to use the obs websocket to control one scene and just have the software change the source. A problem is that you can have obs go down, come back up and your vb apt would have to restart the vlc video and get out of sync or play a "please be patient jpeg" until you can start with the next video in the playlist at the correct time. Its also very easy to turn logos on or off. A problem with talking direct to obs is that the obs websocket variables have a - (dash) in some of the names of variables you use which are illegal in vb, so a obs json decode has problems. Another problem of course is that a standard vb app is limited to windows and is not like a web interface which is useful everywhere. As you can tell, I know very little about web programming. I worked for a electronic company and wrote UI's for test equipment testing. So I have a tendency to go with what I know, which may not be the optimal solution, whereas a web based app might be better. Do you have a first name?
 

PingWin

New Member
My name is Denys. Hi! :)
Okay Bill, you are right about VLC. If VLC crashes, the stream is not interrupted, but NDI passes the last frame from VLC to OBS in a loop until the NDI stream is available again.

In order to avoid the synchronization problems we have to work with an RTC in milliseconds. In principle it does not matter whether OBS or VLC crash. The video stream has to start again where it would normally have been in real time. Otherwise the program planning gets out of hand. That means we need some kind of system - maybe in VB - that stands above OBS and VLC and monitors the actions.

Scenario 1:
A VB application gives OBS a playlist via websocket and says - if possible directly in a .m3u8 playlist - with which time code (start position) the first video will be played. We use this to give the video a gap in the event of a crash so that we are right again with the total time.

This means:
VB gives OBS a playlist, in the playlist position 1 is a trailer with a length of 2:30 minutes. The stream starts at 14:00:00.
OBS crashes at 14:01:00 and comes back online at 14:01:30. The VB application notices the crash and that OBS has re-established a connection via websocket and can be reached.
VB automatically gives OBS a playlist again with the same video. This time the start position is not at 00:00 but at 01:30.
This means that the sequence is continued where it should now be in real time.

Scenario 2 would be similar but with VLC and NDI with LUA in the event that the OBS websocket causes problems.
 
Top