Difference between revisions of "Streaming Video in Second Life"
Rand Linden (talk | contribs) m (Text replace - 'Category:Filming Audiovisual Extravaganzas' to '') |
Rand Linden (talk | contribs) m (Text replace - 'Category:Content Creation' to 'Category:Content creation') |
||
Line 139: | Line 139: | ||
[[Category:Content | [[Category:Content creation]] | ||
[[Category:Landowners]] | [[Category:Landowners]] |
Revision as of 23:43, 2 August 2011
Streaming video into Second Life is fairly simple and provides you with increased abilities in information delivery for businesses and educators, as well as greater potential for entertainment venues and special events.
This article steps you through the processes of establishing movie playback, streaming live video into Second Life, and broadcasting from Second Life.
Streaming Video into Second Life
Getting Started
The following are the basic prerequisites for streaming video into Second Life:
- You must either be the landowner or administrator of the property you plan to stream into
- Your movie files must be compressed using QuickTime format, and QuickTime must be installed on your computer
- ** If the video you're attempting to stream plays in the QuickTime player on your own computer, it should stream into Second Life correctly
- If the video you're attempting to stream doesn't play in the QuickTime player on your own computer, it almost certainly won't work
- The movie must exist as an active URL link on a hosting web server
Prior to setting up your media playback mechanism in Second Life, test the URL of your movie by pasting its link in the address bar of a web browser. If it works there, you shouldn't experience any problems streaming it into Second Life.
Setting Up the Media Player and Accessing a Stream
The first step is to set up a media player in Second Life. While standing on the parcel of land you wish to stream into, follow these steps:
Note: We suggest that you use the default media texture found in the Library > Textures folder in your inventory. You can use any texture you like, as long as the textures in steps 3 and 4 are identical. |
Using LSL Commands to Play Movies
The Linden Scripting Language (LSL) is one of the most powerful components of the Second Life platform, and through it you can be more creative with how you stream video onto objects. An example can be found in your Second Life inventory:
Inventory > Library > Objects > Media Player
After dragging and dropping the media player object onto your land:
- Right-click on the Media Player to access the Edit window
- Click the Contents tab, and double click on the script labeled Media Controller.
- Edit the script as necessary for your playback (you may want to consult a scripting specialist in Second Life to set it up correctly).
Broadcasting Video from Second Life
Broadcasting from Second Life is very similar to streaming live media into Second Life, although you have a few more options.
To do this, make sure you have:
- A computer fast enough to run Second Life and your capture/broadcasting software simultaneously
- Enough upload bandwidth for the stream, typically a minimum of 250kbps
- A media streaming host
- A website to stream from
Setup for Mac
- Run Second Life on a fast Macintosh computer.
- Set Second Life's window size by selecting Edit>Preferences>Graphics and choosing your preferred setting.
- Install and run QuickTime Broadcaster. Read the information on Apple's web site to configure it correctly.
- Point Broadcaster's output to a host server (QTSS), which provides you with a URL for the stream.
- You'll now have an active URL of the stream.
Setup for PC
- Run Second Life on a fast computer.
- Set Second Life's window size by selecting Edit>Preferences>Graphics and choosing your preferred setting.
- Install and run Windows Media Encoder 9. Read the documentation in order to configure it correctly.
- Make Second Life the window to capture in WME9:
- Click Properties > Sources > [Video] Configure.
- In the Capture Source dropdown, select Second Life. In Properties > Sources > [Video] Configure you can select Region of Screen from the dropdown menu, then set a precise region of your screen to capture either by dragging a selection window or entering exact pixel coordinates. You can also choose to both broadcast and save a local version (compressed in WMV format) on your hard drive, although this requires an extremely fast computer, a lot of RAM, and a lot of free space on your hard drive.The Windows Media Encoder 9 Properties panel, with Second Life selected as the Capture Source window.
- In the Output tab, select Push to server and enter the data for your hosting server. This will provide you with a URL for the stream.
Streaming Live Video into Second Life
Common Considerations
- When deciding on a host for your stream, be aware of the maximum number of simultaneous connections allowed.
- Understand that you may experience latency in the stream (from when you do something in Second Life to when you can see it in the final URL stream). This is common in any form of streamed media, and can range from a few seconds to 15 seconds or more.
- Make sure your video and audio codecs are up to date.
Tip: Test each portion of this process as you go along. Troubleshooting will be much easier because you'll be able to isolate exactly where a problem may exist in the process. |
Second Life Event Broadcasting (Concerts, meetings, contests, etc.)
When broadcasting an inworld live event, you may need to keep your avatar logged in for more than the 10-minute maximum on the capturing computer. To do this, open then Advanced menu if it's not already on the menu bar, then deselect select Advanced > Character > Character Tests > Go Away/AFK When Idle.
Only run Second Life and your capture/broadcasting software on your source computer. This will enable the system to focus its resources solely on your broadcasting task.
Real-World Event Broadcasting (Concerts, lectures, sports, etc.)
A video camera will (most likely) serve as your capture source device.
Only run Second Life and your capture/broadcasting software on your source computer. This will enable the system to focus its resources solely on your broadcasting task.
Setup for Mac
Tip: The simplest way to connect your camera to your computer is to connect the FireWire output on the camera to the FireWire input on the computer. |
This diagram shows how to setup a live video stream into Second Life via QuickTime Broadcaster (QTB) and QuickTime Streaming Server (QTSS). Windows configuration is the same, except for the software used on the encoding/broadcasting computer.
Set-up for PC
Tip: The simplest way to connect your camera to your computer is to connect the FireWire output on the camera to the FireWire input on the computer (this may require a capture card with FireWire input). |
Helpful Links
Capture/Broadcasting solutions
For a list of software capture and broadcast solutions, Google: "streaming video software" (remember that they must be QuickTime compatible)
Hosting Solutions
StreamingMedia (this site is a great resource for streaming video and audio)
For a list of host sites, Google: "video streaming host" (remember that they must be QuickTime compatible)