Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Search instead for 
Did you mean: 
newchannel
Level 7

Re: How to play a list of videos in a row?

"mitchstein" wrote:
that the contents of the playlist file... then just point the url in the json file to the m3u8 file instead of the mp4 file..
also mke sure your webserver has the proper mime types for m3u8 extensions.

http://help.encoding.com/knowledge-base ... deo-files/

that url lists them all.. I know IIS 7 and 8 do not come configured properly for m3u8...

Your welcome I try to help everyway I cn.. it's why we built the internet, to freely exchange ideas!! of course it's been perverted into making money as well....

Thanks again. It was people like you that were a big help to me when I first started building my channels. Sometimes it feels like information is held "top secret". I can understand that since building channels is what many of them do for a living but it sure does make it harder to learn.
Using your suggested way of a having a playlist file and that playlist file being coded into the json via url, does this mean that an ad network link for monetization will still fire off the ads at the ad breaks? The ad breaks of course are coded into the json file but I just wondered if the videos would play "pseudo live tv" and then the ad breaks would kick in and go back to playing the playlist where it left off? Or, would it start again at the first video in the playlist after the ad breaks end and videos not resume where it left off?
http://www.victoryNOWfilmsandtv.com
0 Kudos
mitchstein
Level 8

Re: How to play a list of videos in a row?

it should just pause the list play the ad and return.. but that is controled by the code in DP. So hopefully roku keeps it that way..
0 Kudos
newchannel
Level 7

Re: How to play a list of videos in a row?

"mitchstein" wrote:
it should just pause the list play the ad and return.. but that is controled by the code in DP. So hopefully roku keeps it that way..

okay, thanks. 
http://www.victoryNOWfilmsandtv.com
0 Kudos
mitchstein
Level 8

Re: How to play a list of videos in a row?

well it's my theory that there are too many "developers" and they can't (roku staff) keep up with all the questons, so they leave it up to the forums and only the ones that really want it get it to work. So being someone who was developing software before the web existed and a true believer in "free exchange of ideas and information" I do my best to help everyone out. And I keep all my services 100% free...
0 Kudos
newchannel
Level 7

Re: How to play a list of videos in a row?

"mitchstein" wrote:
well it's my theory that there are too many "developers" and they can't (roku staff) keep up with all the questons, so they leave it up to the forums and only the ones that really want it get it to work. So being someone who was developing software before the web existed and a true believer in "free exchange of ideas and information" I do my best to help everyone out. And I keep all my services 100% free...

You're amazing. Don't go anywhere lol stay in the forum please Smiley Happy
http://www.victoryNOWfilmsandtv.com
0 Kudos
newchannel
Level 7

Re: How to play a list of videos in a row?

"mitchstein" wrote:
just make a text file that contains a list of files to play and give it the extension .m3u then point the json file at m3u file and it will play them in order. It also can be updated onthefly..

For instance:

playlist.m3u:

inside that file is just

c:\videos\video1.mp4
c:\videos\video2.mp4




and you can have as many lines as you want and you can keep adding lines as you need... It's actually how unreal media server does rmtp feeds to IIS and HLS..

Hi,
Tim in the forum here was helpful in posting two great files to look at for scenegraph. I'm the process of migrating my channels over from the old sdk. I'm wondering if one of the files he sent can possibly be used with a playlist m3u that links to a list of video files? If you get time to take a look at it, review the "videoscene.xml" in the components folder. I'm thinking a link to a playlist can be placed there and that playlist then refer to the video files to play them in a row using scenegraph. In the old sdk it was called rourltransfer. There is a different name for it with scenegraph. I can't recall what it's called right now.
https://sdkdocs.roku.com/download/attac ... 110&api=v2
http://www.victoryNOWfilmsandtv.com
0 Kudos
newchannel
Level 7

Re: How to play a list of videos in a row?

Do all of the videos in a playlist need to be encoded the same? I can get 2 videos to play but the 3rd one stops.
http://www.victoryNOWfilmsandtv.com
0 Kudos
mitchstein
Level 8

Re: How to play a list of videos in a row?

I would believe so.. I always encode with the same settings for all my videos. So I never tried with different settings..
0 Kudos
newchannel
Level 7

Re: How to play a list of videos in a row?

"mitchstein" wrote:
I would believe so.. I always encode with the same settings for all my videos. So I never tried with different settings..

I was able to get my list to play. Now I'm trying to find a way to loop when it gets to the end. I tested the playlist in one of the scenegraph samples. 
Thanks for the info.
http://www.victoryNOWfilmsandtv.com
0 Kudos
mitchstein
Level 8

Re: How to play a list of videos in a row?

can't you just add the playlists file name as the last item in the playlist to make it loop forever?
I never tried it so... but it is logical..
0 Kudos