Difference between revisions of "Category:LSL Video"
m |
|||
(12 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{LSL Header|ml=*}}{{LSLC|}}{{LSLC|Media}} | |||
==Description== | ==Description== | ||
Second Life allows video to be played in world on the sides of prims by replacing the texture with a video stream. Movies can not be uploaded to Second Life, but a URL to a movie stream is used instead. | Second Life allows video to be played in world on the sides of prims by replacing the texture with a video stream. Movies can not be uploaded to Second Life, but a URL to a movie stream is used instead. | ||
Quicktime is used in the client to play the movie so only Quicktime compatible formats currently work, though with the client now open source, someone may come up with a wrapper for other video players and formats. | Quicktime is used in the client to play the movie so only Quicktime compatible formats currently work, though with the client now [[Open_Source_Portal|open source]], someone may come up with a wrapper for other video players and formats. | ||
The thumbrule is if it can play in Quicktime, then it can probably play in Second life. | The thumbrule is if it can play in Quicktime, then it can probably play in Second life. | ||
Line 10: | Line 12: | ||
To determine information about the video on the current parcel, use {{LSLG|llParcelMediaQuery}} | To determine information about the video on the current parcel, use {{LSLG|llParcelMediaQuery}} | ||
You can also give the appearance of playing a movie by animating a texture. This is done with the {{LSLG| | You can also give the appearance of playing a movie by animating a texture. This is done with the {{LSLG|llSetTextureAnim}} function. | ||
Video cannot be recorded with LSL, but it can be recorded with the client. | |||
Videos streamed inworld will be placed on a texture. It is a little odd determining exactly what that texture size is, so most people use the auto-align function to make the video automatically aligned. Basic tests have shown that this increases client lag significantly possibly due to multiple calculations occurring on every video frame. | |||
If the video streamed in does not have a dimension at 64, 256, 512, or 1024 and it is not auto-aligned, then there will be a gray border on that dimension because the video appears placed on a texture that has the next boundary up. This is irrespective of the texture that is being substituted with video. | |||
Video | For additional information see [[How To Show Video in SL]]. | ||
==Functions== | ==Functions== | ||
*{{LSLG|llParcelMediaCommandList}} | *{{LSLG|llParcelMediaCommandList}} | ||
*{{LSLG|llParcelMediaQuery}} | *{{LSLG|llParcelMediaQuery}} | ||
*{{LSLG| | *{{LSLG|llSetTextureAnim}} |
Latest revision as of 15:28, 23 October 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Second Life allows video to be played in world on the sides of prims by replacing the texture with a video stream. Movies can not be uploaded to Second Life, but a URL to a movie stream is used instead.
Quicktime is used in the client to play the movie so only Quicktime compatible formats currently work, though with the client now open source, someone may come up with a wrapper for other video players and formats.
The thumbrule is if it can play in Quicktime, then it can probably play in Second life.
To set which texture to replace and what movie URL to play, use the llParcelMediaCommandList function.
To determine information about the video on the current parcel, use llParcelMediaQuery
You can also give the appearance of playing a movie by animating a texture. This is done with the llSetTextureAnim function.
Video cannot be recorded with LSL, but it can be recorded with the client.
Videos streamed inworld will be placed on a texture. It is a little odd determining exactly what that texture size is, so most people use the auto-align function to make the video automatically aligned. Basic tests have shown that this increases client lag significantly possibly due to multiple calculations occurring on every video frame.
If the video streamed in does not have a dimension at 64, 256, 512, or 1024 and it is not auto-aligned, then there will be a gray border on that dimension because the video appears placed on a texture that has the next boundary up. This is irrespective of the texture that is being substituted with video.
For additional information see How To Show Video in SL.
Functions
Pages in category "LSL Video"
The following 4 pages are in this category, out of 4 total.