# Record EVE sessions in Linux: what use?

**URL:** <https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726>\
**Category:** Linux\
**Created:** [September 28, 2018, 3:03am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726 "2018-09-28T03:03:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kropotkin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kropotkin/32/375837_2.png) [@Kropotkin](https://forums.eveonline.com/u/Kropotkin)\
**Post date:** [September 28, 2018, 3:03am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/1 "2018-09-28T03:03:22Z")

</div>

What are people using to record EVE sessions when running in Linux?

I am using Xubuntu.

In Xubuntu 16.04, I used RecordMyDesktop successfully.

In Xubuntu 18.04, EVE itself works, but RecordMyDesktop has been making my mouse not work in EVE.

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [September 28, 2018, 3:16am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/2 "2018-09-28T03:16:44Z")

</div>

Try OpenBroadcast or Kazam.

---

<div class="post-metadata">

**Author:** ![Lock\_Smith](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/lock_smith/32/98592_2.png) [@Lock\_Smith](https://forums.eveonline.com/u/Lock_Smith)\
**Post date:** [September 28, 2018, 6:26am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/3 "2018-09-28T06:26:00Z")

</div>

Try SimpleScreenRecorder.

---

<div class="post-metadata">

**Author:** ![Ravow](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ravow/32/208242_2.png) [@Ravow](https://forums.eveonline.com/u/Ravow)\
**Post date:** [September 28, 2018, 5:33pm UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/4 "2018-09-28T17:33:52Z")

</div>

I use to use simplescreenrecorder.

But if your Mesa is up to git date, then OBS (Open Broadcasting) is way better.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [September 29, 2018, 3:18am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/5 "2018-09-29T03:18:26Z")

</div>

I’m using **ffmpeg** for almost everything video-related.

So do I use the following to create a screen capture:

```nohighlight
#!/bin/bash -f

file=capture.mkv

input="-f x11grab -video_size hd1080 -framerate 60 -i :0.0"
input+=" -f pulse -i alsa_output.pci-0000_06_00.0.analog-stereo.monitor"

video="-bufsize 64M -b:v 4M -qmin:v 15.0"
video+=" -preset:v slow -profile:v main -level:v 6.2 -tier:v high"
video+=" -rc:v vbr_hq -rc-lookahead:v 8 -spatial_aq:v 1"
video+=" -c:v hevc_nvenc"

audio="-ac 2 -b:a 96k -c:a libopus"

subtl="-sn"
meta="-map_metadata -1"
ofmt="-f matroska"

exec ffmpeg -v info $input $video $audio $subtl $meta $ofmt -y $file

```

The main part of this is that it uses Nvidia NVENC, which encodes it in hardware on the GPU and with X.265 and doesn’t burden the CPU.

---

<div class="post-metadata">

**Author:** ![Kropotkin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kropotkin/32/375837_2.png) [@Kropotkin](https://forums.eveonline.com/u/Kropotkin)\
**Post date:** [September 29, 2018, 5:41am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/6 "2018-09-29T05:41:47Z")

</div>

Thanks to all who responded!

Trying OBS, seems to be working well so far.

ffmpeg suggestion that encodes in GPU hardware rather than CPU is attractive, but am using AMD, not NVIDIA.

Looks like OBS also provides access to GPU encoding hardware, both NVIDIA and AMD:

> **[High CPU Usage/High Encoding/Taking too long to encode? Read this first!](https://obsproject.com/forum/threads/high-cpu-usage-high-encoding-taking-too-long-to-encode-read-this-first.23334/)**
>
> Encoding video is a very CPU-intensive operation, and OBS is no exception. OBS uses the best open source video encoding library available, x264, to encode video. However, some people might experience high CPU utilization, and other programs running...

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [September 29, 2018, 10:00am UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/7 "2018-09-29T10:00:31Z")

</div>

> [@Kropotkin](#):
>
> ffmpeg suggestion that encodes in GPU hardware rather than CPU is attractive, but am using AMD, not NVIDIA.

When it’s done on the GPU then it captures the screen in full 1920x1080 HDTV resolution at 60 fps and only uses about 5% CPU. This is most useful for capturing 3D graphics like games, because a game’s performance remains almost untouched and doesn’t result in fps drops due to the video encoding.

**ffmpeg** also allows video streaming (i.e. to [www.twitch.tv](http://www.twitch.tv)) when given the proper parameters.

---

<div class="post-metadata">

**Author:** ![Ravow](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ravow/32/208242_2.png) [@Ravow](https://forums.eveonline.com/u/Ravow)\
**Post date:** [October 1, 2018, 3:15pm UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/8 "2018-10-01T15:15:25Z")

</div>

The advantage with OBS is that if you have decent drivers, you can use Window Capture (XComposite) with is way faster than x11grab, at lease in 4K. I think it capture from the backbuffer directly.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [October 1, 2018, 6:09pm UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/9 "2018-10-01T18:09:36Z")

</div>

> [@Ravow](#):
>
> The advantage with OBS is that if you have decent drivers, you can use Window Capture (XComposite) with is way faster than x11grab, at lease in 4K. I think it capture from the backbuffer directly.

ffmpeg’s old x11grab used to be different, but it was updated a while ago.

---

<div class="post-metadata">

**Author:** ![Ravow](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ravow/32/208242_2.png) [@Ravow](https://forums.eveonline.com/u/Ravow)\
**Post date:** [October 1, 2018, 6:14pm UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/10 "2018-10-01T18:14:13Z")

</div>

Well, I did try to use x11grab about two month ago.

There is a very high amount of skipped frame while I don’t have the issue with OBS (could be not related to x11grab, might try your script). Note that I don’t compress my video stream during recording as even my overclocked Ryzen7 CPU is not enough to live compress 4K properly. It seam that I can only use Hardware video compression for 2K with my RX 480.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [October 1, 2018, 6:58pm UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/11 "2018-10-01T18:58:53Z")

</div>

> [@Ravow](#):
>
> Well, I did try to use x11grab about two month ago.
> 
> There is a very high amount of skipped frame while I don’t have the issue with OBS (could be not related to x11grab, might try your script). Note that I don’t compress my video stream during recording as even my overclocked Ryzen7 CPU is not enough to live compress 4K properly. It seam that I can only use Hardware video compression for 2K with my RX 480.

Well, whatever OBS does can also be done in ffmpeg simply because OBS is build on top of the ffmpeg libraries (just as ffmpeg is build on top of many external libraries itself).

When you then see skipped/dropped frames then its because the encoder cannot process them all fast enough. So the input gets dropped of course. That’s just how it works. A 4K screen at 60HZ should produce about 2 GB of data per second (assuming 32-bit per pixel) and it needs to be handled somehow.

You may have to record the session first and encode it later. Or you can also try setting the framerate of x11grab and scale the image down to limit the amount of input to the encoder in the first place.

OBS tries to figure these things out for you and when it gets it right may you get a nicely working app. But in theory should you be able to do exactly the same with ffmpeg. Only with ffmpeg does one have to go through heaps of documentation in order to find the one, single command line switch to get it right. On the other hand does the wealth of options of ffmpeg, which OBS tries to shield you from, allow you to access features you may not even know you have.

I’m simply used to ffmpeg due to the time I’ve been using it. There just wasn’t anything like it [back then](https://forums-archive.eveonline.com/topic/90176/) and ffmpeg still works nicely for all video-related purposes. It sets the standard for many video apps. That said, I did switch from VLC to MPV as my video player, because MPV managed to bring simplicity back (and it’s based on the ffmpeg libraries, too, _lol_).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [December 30, 2018, 6:58pm UTC](https://forums.eveonline.com/t/record-eve-sessions-in-linux-what-use/109726/12 "2018-12-30T18:58:57Z")

</div>

Closed on December 30, 2018, 6:58pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
