How do I reduce lag while recording SMC?

Everything else.

Moderators: FluXy, SMC Team, MVP

How do I reduce lag while recording SMC?

Postby levelengine » 14 Dec 2011 02:48

With this new channel (link below) and me making videos, I really need to reduce lag while I record SMC footage.

http://www.youtube.com/user/SMCslevelengine

Post whatever possible suggestions that are safe and free out there. :wink:

Levelengine :mrgreen:
levelengine
Furball Boss
Furball Boss
 
Posts: 532
Joined: 11 Feb 2009 02:12

Re: How do I reduce lag while recording SMC?

Postby -DarkAceZ- » 14 Dec 2011 05:08

The best I can find on Linux was "RecordItNow", and if you put the FPS to 99, it seems as if it records at .99 FPS... (EDIT: so if you put it at 30 FPS then it seems to record at .30 FPS) So I don't know what to do on Linux. On Windows I don't really know.
( System: Linux 3.11.0-15-generic on Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz )( Bogomips: 43097.76 )( Memory: total: 11975.1 MB used: 6145.8 MB )( Disks: total: 1280.4 GB used: 419.6 GB )( Load avg: 0.31 1.04 1.70 )( Vlength: 602.5 cm )
[Edit]
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1042
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: How do I reduce lag while recording SMC?

Postby BowserJr » 14 Dec 2011 09:19

What are you using? I used to use and recommend glc on Linux, which was designed for capturing GL applications, and worked great with SMC, but hasn't been updated for a while and doesn't seem to even have a website anymore. You can still get the code from GIT: https://github.com/nullkey/glc/wiki, or it might be in your package manager. Unfortunately nothing else for linux works anywhere near as well. You can also try the obvious things such as reducing resolution
"Plants need to have water poured on them because they have no hands to hold glasses of water."
User avatar
BowserJr
SMC Team
SMC Team
 
Posts: 1543
Joined: 05 Feb 2007 14:07
Location: London, UK

Re: How do I reduce lag while recording SMC?

Postby -DarkAceZ- » 15 Dec 2011 16:42

BowserJr wrote:What are you using? I used to use and recommend glc on Linux, which was designed for capturing GL applications, and worked great with SMC, but hasn't been updated for a while and doesn't seem to even have a website anymore. You can still get the code from GIT: https://github.com/nullkey/glc/wiki, or it might be in your package manager. Unfortunately nothing else for linux works anywhere near as well. You can also try the obvious things such as reducing resolution

Oh, never heard of it... I'm running the glc install script, it's asking me where to install it... The root? My home folder?
( System: Linux 3.11.0-15-generic on Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz )( Bogomips: 43097.76 )( Memory: total: 11975.1 MB used: 6145.8 MB )( Disks: total: 1280.4 GB used: 419.6 GB )( Load avg: 0.31 1.04 1.70 )( Vlength: 602.5 cm )
[Edit]
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1042
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: How do I reduce lag while recording SMC?

Postby -DarkAceZ- » 18 Dec 2011 03:20

levelengine wrote:With this new channel (link below) and me making videos, I really need to reduce lag while I record SMC footage.

http://www.youtube.com/user/SMCslevelengine

Post whatever possible suggestions that are safe and free out there. :wink:

Levelengine :mrgreen:

Are you on Windows or Linux?
( System: Linux 3.11.0-15-generic on Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz )( Bogomips: 43097.76 )( Memory: total: 11975.1 MB used: 6145.8 MB )( Disks: total: 1280.4 GB used: 419.6 GB )( Load avg: 0.31 1.04 1.70 )( Vlength: 602.5 cm )
[Edit]
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1042
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: How do I reduce lag while recording SMC?

Postby levelengine » 24 Dec 2011 12:56

I run Windows Vista.

Levelengine :mrgreen:
levelengine
Furball Boss
Furball Boss
 
Posts: 532
Joined: 11 Feb 2009 02:12

Re: How do I reduce lag while recording SMC?

Postby -DarkAceZ- » 27 Dec 2011 04:21

When I boot back into Windows I can look I guess.
( System: Linux 3.11.0-15-generic on Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz )( Bogomips: 43097.76 )( Memory: total: 11975.1 MB used: 6145.8 MB )( Disks: total: 1280.4 GB used: 419.6 GB )( Load avg: 0.31 1.04 1.70 )( Vlength: 602.5 cm )
[Edit]
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1042
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: How do I reduce lag while recording SMC?

Postby -DarkAceZ- » 02 Jan 2012 04:43

Sorry, found nothing that could help much.

But BowserJr, can you help me with glc? I'm not even sure where to start but I did this:
Code: Select all
sudo apt-get install build-essential cmake libx11-dev libxxf86vm-dev libgl1-mesa-dev libasound2-dev libpng12-dev
sudo apt-get install gcc-multilib
sudo ln -s /usr/lib32/libGL.so.1 /usr/lib32/libGL.so
sudo ln -s /usr/lib32/libasound.so.2 /usr/lib32/libasound.so
sudo ln -s /usr/lib32/libXxf86vm.so.1 /usr/lib32/libXxf86vm.so
sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
sudo ln -s /usr/lib32/libpng12.so.0 /usr/lib32/libpng.so

as instructed from here: https://github.com/nullkey/glc/wiki/Install
Then I did
Code: Select all
wget https://github.com/nullkey/glc/raw/master/scripts/glc-build.sh
chmod a+x glc-build.sh
./glc-build.sh

and that came up with:
Code: Select all
justin@justin-desktop:~$ ./glc-build.sh
info  : Welcome to glc install script!
        Enter path where glc will be installed.
          (leave blank to install to root directory)
      > /home/justin/glc
        Enter compiler optimizations.
          (-O2 -msse -mmmx -fomit-frame-pointer)
      >
        Use git (y/n)
          (git contains latest unstable development version)
      > n
info  : Fetching sources...
error : Can't fetch elfhacks

elfhacks? Well, that is basically all I did... I didn't see any makefile in the zip that I downloaded from git, so I ignored that thing for now... How am I really supposed to install this?
( System: Linux 3.11.0-15-generic on Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz )( Bogomips: 43097.76 )( Memory: total: 11975.1 MB used: 6145.8 MB )( Disks: total: 1280.4 GB used: 419.6 GB )( Load avg: 0.31 1.04 1.70 )( Vlength: 602.5 cm )
[Edit]
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1042
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: How do I reduce lag while recording SMC?

Postby BowserJr » 02 Jan 2012 11:25

Never compiled glc myself, but a look at their build script:

Code: Select all
download () {
   [ -f "$1.tar.gz" ] && rm -f "$1.tar.gz"
   wget -q "http://nullkey.ath.cx/$1/$1.tar.gz" || die "Can't fetch $1"
}

Suggests it's trying to fetch from their old server if "Use GIT" is false. This is failing because their old server is down. Have you tried saying yes to this prompt?

If you have your own source and want to use that for the build instead, you should probably just comment:

Code: Select all
USE_GIT="n"
ask "Use git (y/n)"
ask "  (git contains latest unstable development version)"
ask-prompt
read USE_GIT

if [ "${USE_GIT}" == "y" ]; then
   if [ -x "`which git 2> /dev/null`" ]; then
      gitfetch glc
      gitfetch glc-support
      gitfetch elfhacks
      gitfetch packetstream
      cd glc && ln -sf ../glc-support ./support && cd ..
   else
      die "git not found (Ubuntu users: sudo apt-get install git-core)"
   fi
else
   info "Fetching sources..."
   download elfhacks
   download packetstream
   download glc
   
   info "Unpacking sources..."
   unpack elfhacks
   unpack packetstream
   unpack glc
fi


In the build.sh file.
"Plants need to have water poured on them because they have no hands to hold glasses of water."
User avatar
BowserJr
SMC Team
SMC Team
 
Posts: 1543
Joined: 05 Feb 2007 14:07
Location: London, UK

Re: How do I reduce lag while recording SMC?

Postby -DarkAceZ- » 04 Jan 2012 17:56

Yes to that does this:
Code: Select all
justin@justin-desktop:~/nullkey-glc-5a4f81b$ cd
justin@justin-desktop:~$ ./glc-build.sh
info  : Welcome to glc install script!
        Enter path where glc will be installed.
          (leave blank to install to root directory)
      > /home/justin
        Enter compiler optimizations.
          (-O2 -msse -mmmx -fomit-frame-pointer)
      >
        Use git (y/n)
          (git contains latest unstable development version)
      > y
fatal: Not a git repository (or any of the parent directories): .git
error : Can't update glc
justin@justin-desktop:~$
( System: Linux 3.11.0-15-generic on Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz )( Bogomips: 43097.76 )( Memory: total: 11975.1 MB used: 6145.8 MB )( Disks: total: 1280.4 GB used: 419.6 GB )( Load avg: 0.31 1.04 1.70 )( Vlength: 602.5 cm )
[Edit]
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1042
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: How do I reduce lag while recording SMC?

Postby levelengine » 06 Jan 2012 22:23

I have been adding more types of videos (not just SMC).
Recently I have completed Part 6 of playing through SMC Odyssey, a levelset I built in 2009.
If you want to subscribe and see other gaming videos go ahead.
I decided I will try my hardest to tolerate the lag as I play SMC for YouTube.

Levelengine :mrgreen:
levelengine
Furball Boss
Furball Boss
 
Posts: 532
Joined: 11 Feb 2009 02:12

Re: How do I reduce lag while recording SMC?

Postby BowserJr » 07 Jan 2012 10:31

Hmm, Fraps is popular on Windows and optimised for capturing from games, but the free version puts a big watermark in the middle of all videos you make. Otherwise, maybe try one of these? http://www.anewmorning.com/2009/01/06/5 ... -to-fraps/
"Plants need to have water poured on them because they have no hands to hold glasses of water."
User avatar
BowserJr
SMC Team
SMC Team
 
Posts: 1543
Joined: 05 Feb 2007 14:07
Location: London, UK


Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 0 guests

cron