These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

Fast FRAPS on linux (glc)

Author
Delt0r Garsk
Shits N Giggles
#1 - 2014-12-09 23:21:43 UTC
I have wanted to get high quality capture for wine/Eve for a while. This last weekend I cracked it. (I don't do sound so YMMV for that)

I use a old but still working tool:

https://github.com/nullkey/glc

This captures opengl content with opengl calls, so it doesn't go through rather slow X windows calls. You do lose the mouse but i wanted that anyway.

The trick is to compile it for 32bit only if your on a multilib system, this may require some editing of the build script to force it to not detect a x86_64 cpu. Also answer Y for the git download option with the build script.

In order to save space, since the raw dumps from this are huge, i use a FIFO and pipe it into ffmpeg for on the fly encoding. Works almost perfectly and i notice no slowdown once the settings are adjusted correctly.

If anyone is interested i can elaborate.

AKA the scientist.

Death and Glory!

Well fun is also good.

Cassandra Skjem
Big Sister Exploration
#2 - 2014-12-10 01:10:14 UTC
A walk-through would be splendid, as I have been searching for something similar myself, atm I use RecordMyDesktop, which offers configuration of the screen capture area as well as relatively easy recording, the only limiting factor being the length of clips, usually between 45mins and an hour being close to the max length and a rather long encoding process.

Is it a tarp?

Delt0r Garsk
Shits N Giggles
#3 - 2014-12-10 06:49:17 UTC
If Record my desktop is giving adequate performance, then i would recommend just trying ffmpeg to encode on the fly.

Without sound i use:

ffmpeg -f x11grab -s 1920x1080 -r 10 -i :0.0 myfile.mkv

This encodes on the fly to quite high quality at 10FPS. It about 2-3G per hour. There are quite a few command line examples around the internet including ones with sound capture. If it is a little slow then you can try using the "-preset faster" or even "-preset ultrafast" but the file sizes get bigger fast. This option is not very good for high frame rate since it is using the X window calls. There are literally 100s of options for this. I would recommend spending some google and man page time on it.

I used this for all my previous videos. ie
https://www.youtube.com/watch?v=-fUdHD6Ruzg
That was not on a 1080p monitor.
This however was:
https://www.youtube.com/watch?v=ayDjkXXI3QA

Also a note about sound. My sound card does not link its output to any channel. That is if i capture sound i don't get the sound output of eve or TS for example. Now i can something to do that. But i can't be bothered and i mostly never want sound anyway.

The reason for glc is if you really need the performance. Also it is not for the faint of heart. I have slackware and my exact install and config will be different from other linux distros. Long story short you will need to know how to compile 32bit applications on a 64 cpu if your on a multilib system. I won't be able to help with that.

AKA the scientist.

Death and Glory!

Well fun is also good.

Torgeir Hekard
I MYSELF AND ME
#4 - 2014-12-10 10:09:00 UTC
http://www.maartenbaert.be/simplescreenrecorder/

Enjoy.

Grabs and encodes on the fly.
Delt0r Garsk
Shits N Giggles
#5 - 2014-12-10 18:30:13 UTC
Interesting. I would only really be interested in the experimental opengl recording.

AKA the scientist.

Death and Glory!

Well fun is also good.

Delt0r Garsk
Shits N Giggles
#6 - 2015-01-23 07:12:08 UTC
So switched to SimpleScreenRecorder. Even with just 100% X11 grabs it is much faster than ffmpeg.

Opengl also works very well, but again you need the 32bit ssr inject libs. Some distros have that already, others like slackware do not. I just unpacked the 2 libs for that from the deb packages and installed them properly (ld.conf and stuff).

AKA the scientist.

Death and Glory!

Well fun is also good.

COMM4NDER
Legendary Umbrellas
#7 - 2015-02-23 01:12:06 UTC
Delt0r Garsk wrote:
So switched to SimpleScreenRecorder. Even with just 100% X11 grabs it is much faster than ffmpeg.

Opengl also works very well, but again you need the 32bit ssr inject libs. Some distros have that already, others like slackware do not. I just unpacked the 2 libs for that from the deb packages and installed them properly (ld.conf and stuff).


If you got some of the latest nvidia cards you can use nvenc that uses the encoder on the GPU to do stuff instead on CPU.
Need to get a version of ffmpeg that supports nvenc and then just use it in any application or from command line to grab the screen.

[url=https://github.com/CommanderAlchemy/.bin/blob/master/eve] EVE - Online Launcher [Linux] [/url] Installs, launches character prefixes (both SISI & Tranquility). Simplescreenrecorder shm inject

Kadesh Priestess
Descendance.
GoonSwarm.
#8 - 2015-02-26 19:51:38 UTC
From my experience, simplescreenrecorder is best video capture tool available for linux. Kudos to all its developers.