PDA

View Full Version : RO mouse pointer vs ffmpeg


Anpu
04-10-2011, 09:52 PM
Is there a way to make ffmpeg capturing game but ignoring game mouse pointer? I camped these days x11 & ffmpeg sites and it s user channel, but didnt progress much.

NotScias
04-11-2011, 03:08 AM
Given my experience with ffmpeg I don't think it's possible, or there are workarounds I'm not aware of. I searched for the same stuff when I was using ffmpeg... without success.

Maybe you should try software like GLC (http://www.dedoimedo.com/computers/glc.html) that works like FRAPS on linux, and only grabs the game output, not the cursor or another part of the desktop (also I feel it gets more FPS than ffmpeg).

Also there's VLC, it doesn't capture the mouse pointer by default.

Znurre
04-11-2011, 05:18 AM
ffmpeg captures the X11 stream, which includes the cursor.
GLC or Yukon captures the OpenGL stream, which is only the actual OpenGL context in the window and will not include the cursor.

Anpu
04-11-2011, 07:43 AM
Thanks a lot for explanation @Scias @Znurre.
I found glc few days ago, but still didn't try because I found its for 32 only. I see now on git there is a trick for 64 too. Will try now.

NotScias
04-11-2011, 07:58 AM
Thanks a lot for explanation @Scias @Znurre.
I found glc few days ago, but still didn't try because I found its for 32 only. I see now on git there is a trick for 64 too. Will try now.

I'm running Archlinux 64-bit. glc compiles and runs perfectly here. So there shouldn't be any problem with your distro.
According to this (https://github.com/nullkey/glc/wiki/Install), 64-bit is supported (but requires some few more steps for some distros).

Anpu
04-11-2011, 09:24 AM
I just compiled it, works ok. Thanks.