Friday, January 29, 2010

How to convert Videos to play in SL

[Update] Please follow our forum for more updated info: http://myslhometv.ning.com/forum/topics/how-to-convert-videos-to-play

As we know Second Life uses Apple's Quicktime to play videos. For a video to work in SL it needs to be converted to a Quicktime supported video format like .mov, .mp4, .m4v, mpg, mpeg.

Videos in non-quicktime formats like DIVX, avi, flv, vob etc need to be converted to a quicktime supported format to work in SL.

The perfect software for video conversion is Handbrake. Handbrake is an open source video converter that easily converts any video to Quicktime mp4 format.

You can download Handbrake from here http://handbrake.fr/downloads.php. Its available for Windows, Mac OS and Linux.

To do the video conversion:
Step 1. Launch the Handbrake software on your computer






Click on Source & Select the
file you want to convert to Quicktime mp4.



Also select the location you want to converted file to be saved in. The default location is the Desktop.

Best settings for SL;



Check to be sure you have the same settings as those circled above. (The format should be MP4 suitable for SL. The Video Codec should be H.264 (x264). Last thing is the video needs to be Web Optimized, this makes the videos play smoothly in SL with no lag.)

Optional:


This is optional. You may choose the Target Size, this is the size of the video file after its converted to MP4. The smaller the file the better it will play in SL. But as the file gets smaller its picture quality also gets worse. A good rule for large video files is to set the Target Size around 500MB - 700MB. This size will likely keep the picture quality intact while keeping the file small enough for smooth playback inside SL. IF any confusion you may skip this and continue. The video should still work fine.



Final Step is Click Start; to start the Video Conversion (encoding).

Usually takes about 30mins - 1 hour to complete the conversion, depends on the file size and computer speed. Once its done simply locate the file on the folder you had set as Destination. (Desktop by Default.) And your done.

The video is now ready to play in SL. You can play it in SL directly from your computer hard drive using the steps we posted here: http://myslhometv.ning.com/forum/topics/play-videos-stored-on-your-pc

Thanks to Omni Lionheart for discovering this great software HandBrake.

I normally use Quicktime Pro to format videos for SL but Quicktime Pro will only work with a few limited video formats. Handbrake works with nearly all video formats and converts it to MP4. Handbrake is built on top of powerful open source libraries for video encoding which were not normally available using a simple GUI as Handbrake provides. Most of those libraries were only available via command Line.

Please leave comments, feedback and suggestions.
Stay Tuned for more.

Enjoy

0 comments: