-1

I'm looking for the best way to play a sequence of videos at specific times on a RTMP channel. Right now, I've setup a few things that seem viable to achieve this :

  1. Setup a Wowza Streaming Engine on a server
  2. Setup a Wowza Streaming Cloud account, that receives the stream from the server and broadcasts it with different qualities.

Now I plugged a RTMP stream into the Wowza Cloud and was able to play it in different qualities on all browsers and devices. That's the end game.

I was able to play videos on the stream using ffmpeg and started to work on having video playlists running.

So my question is simple :

Do you think it's a good way to do this ? How would you do it otherwise ?

Thanks John

JohnWolf
  • 1,147
  • 14
  • 28

1 Answers1

2

One pitfall when using ffmpeg is that launching distinct, sequencial commands to feed your RTMP stream can cause client disconnects because you have timing discontinuities when switching to a new video.

You can use the ffmpeg concatenation options to stream a list of files without timing issues.

There is also a way of managing playlists directly in Wowza using a custom server module. There's a StreamManager module in the Wowza add-on collection which you can use to schedule videos. The source code is provided so you can tailor it how you see fit.

aergistal
  • 29,947
  • 5
  • 70
  • 92
  • 1
    For those who want more info on setting up the StreamManager, you can check my post here : http://stackoverflow.com/questions/29104416/how-to-schedule-streaming-with-wowza-streaming-engine/29119341#29119341 – JohnWolf Mar 19 '15 at 11:23