How do I streams multiple loop videos to one youtube channel

I tried to stream multiple videos on a loop to ONE youtube channel using one stream key and it gave me a warning and would not work. How do I do that. I saw people streaming multiple videos to one youtube channel.

I am using Ant Media community in conjunction with Linode. Thanks

Thu

1 Reply

Hi Thu,

I was able to stream multiple videos on a loop to one YouTube channel using one stream key by adding those videos to one playlist. I used one of our partner's videos to follow along and was able to achieve this:

To start, I created an Ant Media Server:Community Edition though our Marketplace app. Once the installation script was finished, I copied the IP address of my server, and pasted it into the address bar with 5080 as the port number. The formatting should look similar to this:

$IPAddress:5080

Afterwards, it should take you to the account manager of the Ant Media server. From there, you'll be prompted to create an account and will have to log on. Once you've created your account and logged in, you'll be redirected to the dashboard of your Ant Media Server. Once you've logged in, you'll be able to see your system's statistics and the amount of resources used.

On the left side panel, you'll want to click on LiveApp under Applications. Once you're in LiveApp, you'll want to click on New Live Stream which will show a drop-down of options. You'll want to click on Playlist.

From here, you'll see a Playlist Name field and Stream ID field. You can enter the name of your playlist, but the Stream ID will be generated for you after you click Create. Make sure you also click on Loop Playlist before hitting create!

Once you hit create, you'll see the name of your playlist and the Stream ID under it with some other statistics as well. Now, you'll want to click on VoD that's also in LiveApp. This is where you'll upload your media files. It should be next to Live Streams which is where you're currently at.

At this point, you'll want to gather your media files and click on Upload VoD then hit save. Since you're uploading multiple video files, you'll need to upload them one by one in VoD. Next, you'll want to grab your VOD ID # to create a custom URL. Head to the address bar, and append your Stream ID # to your current URL. It will look like this:

http:/$IPAddress:5080/LiveApp/streams/StreamID#.mp4

Since you have multiple media files, you'll need to create additional custom URLs for each unique VoD ID # that you plan to add to your playlist. MP4 is the preferred format, so that is something to also keep in mind. Now, copy the custom URL above and head back to Live Streams again. Click on the edit button on your playlist, and you should be able to paste the custom URL in your Playlist URL then hit save. If you have multiple custom URLs, you can click Add Playlist Item until you've added all of your videos, then hit save.

From here you should be good to go. You'll want to navigate to Actions which is to the right of your playlist, and click on the menu icon, also known as the hamburger menu. Then you can start your broadcast from the drop-down menu to view your stream.


Youtube

To stream your playlist on YouTube, head over to Youtube.com. Once you're on Youtube, you'll want to click Create which is the video camera icon, and click Go Live. You'll then be redirected to your studio. Head-over to the left side panel and click on Stream. Once you're in Stream, you can look under Stream Settings to copy your Stream URL. Now, paste your Stream URL into the address bar.

You'll also need to grab your Stream Key under the Stream Key field. You can click Show Stream Key to retrieve it. Please keep in mind that you do not want to share your stream key with anyone else! You'll also want to add a forward slash before pasting it after the Stream URL in your address bar. It should look like this:

rtmp://a.rtmp.youtube.com/live2/$Stream_Key

Now copy your custom Stream Key URL and head back to your playlist in your Ant Media Server Dashboard. Click on the menu icon again and click Edit RTMP Endpoints. From there, you'll want to paste your custom Stream Key URL. You can now head back to your Youtube Stream studio, and it should start playing!

I hope this helps!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct