Difference between revisions of "User:Opensource Obscure/GLC"

From Second Life Wiki
Jump to navigation Jump to search
m (note about Voice)
Line 31: Line 31:
* 15 FPS may appear low, but the videos I create with these settings [[http://youtube.com/user/OpensourceObscure look smooth enough]]. I think that by limiting the GLC recording framerate, I also limit the overall system load, so that more resources are available to the SL viewer. ''(is this clear?)''
* 15 FPS may appear low, but the videos I create with these settings [[http://youtube.com/user/OpensourceObscure look smooth enough]]. I think that by limiting the GLC recording framerate, I also limit the overall system load, so that more resources are available to the SL viewer. ''(is this clear?)''
* yes, the "--resize" option is redundant when set to 1.0, but I add it for clarity. On-the-fly resizing adds computing load on the system, so I avoid to do it when recording. I use to set my SL viewer window size to 1280x720 pixels, which is an ideal size for digital videos. I suggest you to do the same if you don't know what you're doing. You can always resize your recording later as needed. If you use this option, know that 0.5 is said to be more resource efficient than other values.  
* yes, the "--resize" option is redundant when set to 1.0, but I add it for clarity. On-the-fly resizing adds computing load on the system, so I avoid to do it when recording. I use to set my SL viewer window size to 1280x720 pixels, which is an ideal size for digital videos. I suggest you to do the same if you don't know what you're doing. You can always resize your recording later as needed. If you use this option, know that 0.5 is said to be more resource efficient than other values.  
* I don't need to record my audio. You may want to remove the "--disable-audio" GLC option if there are interesting sounds in the Second Life scene you're going to record, or if Voice is being used. If not, I'd suggest you to disable audio recording in order to spare system resources. You may add a good soundtrack later (I do this directly on YouTube, after the upload, thanks to its AudioSwap feature; Nine Inch Nails ftw).
* I don't need to record my audio. You may want to remove the "--disable-audio" GLC option if there are interesting sounds or music in the Second Life scene you're going to record. If not, I'd suggest you to disable audio recording in order to spare system resources. You may add a good soundtrack later (I do this directly on YouTube, after the upload, thanks to its AudioSwap feature; Nine Inch Nails ftw).
* Be sure to replace the two "/PATH/TO/YOUR" occurrences with appropriate paths in your local filesystem
* Be sure to replace the two "/PATH/TO/YOUR" occurrences with appropriate paths in your local filesystem.
* I never tried to record Voice, which is handled by a different application than the viewer, so I'm not sure how that works.


== Performances and video smoothness ==
== Performances and video smoothness ==
As you can see, I always try to limit the system load everywhere I can. The underlying rationale is that this allows more room to raise graphical features in the Second Life viewer, while keeping a decent framerate. For the same reason, I disable some viewers features if I don't need when recording, like Media, Voice and rendering of Water and Trees. I also close all the other applications running in my system like (web browser, media players, etc.).
As you can see, I always try to limit the system load everywhere I can. The underlying rationale is that this allows more room to raise graphical features in the Second Life viewer, while keeping a decent framerate. For the same reason, I disable some viewers features if I don't need them when recording, like Media, Voice and rendering of Water and Trees. I also close all the other applications running in my system like (web browser, media players, etc.).

Revision as of 10:21, 12 March 2011

reference websites

system-wide installation

  • run glc-build.sh as root
  • answer "/usr" when asked for installation location

how to use GLC

GLC doesn't have a graphical user interface: it uses SHIFT F8 and SHIFT F9 shortcuts. Be sure these shortcuts are available on your system, eg they aren't already in use. GLC will stard recording when you press SHIFT F8. Same shortcut to stop recording. Press SHIFT F8 again to resume recording: this way the new footage will be added to the first one. If instead you want to create additional separate recording files, use SHIFT F9.

GLC and Second Life

GLC runs in background from the moment you start your Second Life viewer. I created a simple Bash script to manage this. Ask me how to do this if the following instructions aren't clear.

The Bash script is a text file (see below) which I make executable. I name it "slviewer" and I put it in /usr/bin/ directory so I can simply type 'slviewer' from the command line to run the viewer. I actually create custom icons that I put in my Application menu, where I write 'slviewer' the "Command:" field.

The script is basically a single command, that runs GLC with some options, included where to save the recording files and how to call them. It also includes the complete path to the viewer to be runned, with its additional parameters.

#!/bin/bash

/usr/bin/glc-capture \
--fps=15 --resize=1.0 --disable-audio \
--out=/PATH/TO/YOUR/VIDEOS/SL-%year%-%month%-%day%-%hour%-%min%-%sec%.glc \
/PATH/TO/YOUR/SECONDLIFE/VIEWER \
--set AllowMultipleViewers TRUE --set Language it \

Notes:

  • 15 FPS may appear low, but the videos I create with these settings [look smooth enough]. I think that by limiting the GLC recording framerate, I also limit the overall system load, so that more resources are available to the SL viewer. (is this clear?)
  • yes, the "--resize" option is redundant when set to 1.0, but I add it for clarity. On-the-fly resizing adds computing load on the system, so I avoid to do it when recording. I use to set my SL viewer window size to 1280x720 pixels, which is an ideal size for digital videos. I suggest you to do the same if you don't know what you're doing. You can always resize your recording later as needed. If you use this option, know that 0.5 is said to be more resource efficient than other values.
  • I don't need to record my audio. You may want to remove the "--disable-audio" GLC option if there are interesting sounds or music in the Second Life scene you're going to record. If not, I'd suggest you to disable audio recording in order to spare system resources. You may add a good soundtrack later (I do this directly on YouTube, after the upload, thanks to its AudioSwap feature; Nine Inch Nails ftw).
  • Be sure to replace the two "/PATH/TO/YOUR" occurrences with appropriate paths in your local filesystem.
  • I never tried to record Voice, which is handled by a different application than the viewer, so I'm not sure how that works.

Performances and video smoothness

As you can see, I always try to limit the system load everywhere I can. The underlying rationale is that this allows more room to raise graphical features in the Second Life viewer, while keeping a decent framerate. For the same reason, I disable some viewers features if I don't need them when recording, like Media, Voice and rendering of Water and Trees. I also close all the other applications running in my system like (web browser, media players, etc.).