Your Digital Media Has Never Looked So Good

 
newchannel
Topic Author
Posts: 494
Joined: Tue Aug 02, 2011 2:09 pm

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

Thu Sep 06, 2018 12:33 pm

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
 
newchannel
Topic Author
Posts: 494
Joined: Tue Aug 02, 2011 2:09 pm

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

Sun Sep 16, 2018 8:40 pm

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
 
User avatar
mitchstein
Posts: 192
Joined: Tue Mar 11, 2014 10:35 am
Contact:

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

Tue Sep 25, 2018 12:06 pm

I would believe so.. I always encode with the same settings for all my videos. So I never tried with different settings..
 
newchannel
Topic Author
Posts: 494
Joined: Tue Aug 02, 2011 2:09 pm

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

Tue Sep 25, 2018 5:53 pm

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
 
User avatar
mitchstein
Posts: 192
Joined: Tue Mar 11, 2014 10:35 am
Contact:

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

Thu Oct 04, 2018 11:09 am

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..
 
newchannel
Topic Author
Posts: 494
Joined: Tue Aug 02, 2011 2:09 pm

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

Thu Oct 04, 2018 12:15 pm

mitchstein wrote:
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..

Never knew that. Will have to give it a try.
http://www.victoryNOWfilmsandtv.com
 
User avatar
mitchstein
Posts: 192
Joined: Tue Mar 11, 2014 10:35 am
Contact:

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

Mon Oct 08, 2018 4:29 pm

let us know how it works for the future!!
 
newchannel
Topic Author
Posts: 494
Joined: Tue Aug 02, 2011 2:09 pm

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

Tue Oct 09, 2018 6:16 am

mitchstein wrote:
let us know how it works for the future!!

Okay, I will. I have not gotten to test it yet due to other projects. Looking foreard to seeing if there is a way to make it work. It sure would be a big help.
If anyone else on the forum gets it working before I do, please share.
Thanks much.
http://www.victoryNOWfilmsandtv.com

Who is online

Users browsing this forum: No registered users and 2 guests