Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Taking the Plunge - Coding a Personal SL Movie Player

Dominic Damiano
Registered User
Join date: 8 Feb 2009
Posts: 3
01-30-2010 23:21
Well I have played with some basic codes and I kinda get it. I am familiar with other types of programming so I figured with a little help I could do this..
Here are my goals.
Make a movie player that accepts notecards and populates a menu from the info.
The notecard will have The Title, Stream Links, Stream times for each movie

Coding it should be pretty straight forward when I figure out the required LSL commands.
I do have some questions. Is there a way to detect when media has stopped playing insted of using timers? Timers dont really account for buffering and things like that. The movies will be played in 30 min chunks to reduce loading time. Also Each chunk will have its own url that updates the parcel media before playing. How will this work if I have someone over to watch a movie with me?

Lets start with that and I'll run with it from there.....Thanks
Lucax Inventor
Registered User
Join date: 9 Dec 2009
Posts: 1
01-31-2010 01:20
I suppose if you're working with a streaming video server, it might be possible to query that server for the actual status of the stream. For instance, with audio streams, it is possible to query the server for the current track being played and so forth. In the case of streaming video, something similar to this might also be possible. I'm not aware of any means of synchronizing to streamed content within LSL, though. Also worth considering is the fact that streamed output is not synchronized across different clients. If we're sitting and watching a film together, you and I may be receiving and displaying the stream out of sync by, say, a few seconds. Maybe even a whole minute. It's kind of non-deterministic and the facilities for making it deterministic aren't really present in LSL (as far as I've been able to tell).

Good luck on your project. My guess is that some kind of query to the stream server is your best bet.