gtk-recordmydesktop 60FPS? *solved*

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
illbashu
Posts: 42
Joined: 2009-07-02 19:13

gtk-recordmydesktop 60FPS? *solved*

#1 Post by illbashu »

Is there a way to enable 60FPS in recordmydesktop? I can only do 50FPS even though my computer is outputting at 60FPS. :?: :?: :?:
Last edited by illbashu on 2011-04-05 20:15, edited 1 time in total.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: gtk-recordmydesktop 60FPS?

#2 Post by vbrummond »

On Debian Stable using this command:

Code: Select all

recordmydesktop --fps 60 --no-sound --no-frame
I was able to record with 60 frames per second. My graphics hardware is integrated intel and I have no compositing active. Perhaps it is a limitation in your hardware? I am unsure exactly how recordmydesktop works. You could also try screen recording with ffmpeg if rmd does not work.

Code: Select all

Theora headers parsed for stream 2, information follows...
Version: 3.2.1
Vendor: Xiph.Org libtheora 1.1 20090822 (Thusnelda)
Width: 1354
Height: 768
Total image: 1360 by 768, crop offset (0, 0)
Framerate 6000/100 (60.00 fps)
Pixel aspect ratio 1:1 (1.000000:1)
Frame aspect 16:9
Colourspace unspecified
Pixel format 4:2:0
Target bitrate: 0 kbps
Nominal quality setting (0-63): 63
User comments section follows...
	recordMyDesktop=0.3.8.1
Always on Debian Testing

illbashu
Posts: 42
Joined: 2009-07-02 19:13

Re: gtk-recordmydesktop 60FPS?

#3 Post by illbashu »

vbrummond wrote:On Debian Stable using this command:

Code: Select all

recordmydesktop --fps 60 --no-sound --no-frame
I was able to record with 60 frames per second. My graphics hardware is integrated intel and I have no compositing active. Perhaps it is a limitation in your hardware? I am unsure exactly how recordmydesktop works. You could also try screen recording with ffmpeg if rmd does not work.

Code: Select all

Theora headers parsed for stream 2, information follows...
Version: 3.2.1
Vendor: Xiph.Org libtheora 1.1 20090822 (Thusnelda)
Width: 1354
Height: 768
Total image: 1360 by 768, crop offset (0, 0)
Framerate 6000/100 (60.00 fps)
Pixel aspect ratio 1:1 (1.000000:1)
Frame aspect 16:9
Colourspace unspecified
Pixel format 4:2:0
Target bitrate: 0 kbps
Nominal quality setting (0-63): 63
User comments section follows...
	recordMyDesktop=0.3.8.1
I can do it like that but I was to specify specific region of the screen. That's why I was using gtk-recordmydesktop, the max I can do on it is 50. If I put 60 it resets to 50.

BTW I get a x error that doesn't effect the recording.
bash@debian:~$ recordmydesktop --fps 60 --no-sound --no-frame
Initial recording window is set to:
X:0 Y:0 Width:1920 Height:1080
Adjusted recording window is set to:
X:0 Y:4 Width:1920 Height:1072
Your window manager appears to be compiz


Detected compositing window manager.
Reverting to full screen capture at every frame.
To disable this check run with --no-wm-check
(though that is not advised, since it will probably produce faulty results).

Initializing...
Capturing!
X Error: BadAccess (attempt to access private resource denied)
Bad Access on XGrabKey.
Shortcut already assigned.
X Error: BadAccess (attempt to access private resource denied)
Bad Access on XGrabKey.
Shortcut already assigned.
X Error: BadAccess (attempt to access private resource denied)
Bad Access on XGrabKey.
Shortcut already assigned.
X Error: BadAccess (attempt to access private resource denied)
Bad Access on XGrabKey.
Shortcut already assigned.
^[^C
*********************************************

Cached 3 MB, from 3085 MB that were received.
Average cache compression ratio: 99.9 %

*********************************************
Saved 393 frames in a total of 792 requests
Shutting down......
STATE:ENCODING
Encoding started!
This may take several minutes.
Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
any portion of the video, which is already encoded won't be deleted).
Please wait...
Output file: out-18.ogv
[99%]
Encoding finished!
Wait a moment please...

Done.
Written 7904424 bytes
(7904424 of which were video data and 0 audio data)

Cleanning up cache...
Done!!!

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: gtk-recordmydesktop 60FPS?

#4 Post by vbrummond »

It might just be a limitation in gtk-recordmydesktop. You might want to contact the authors about it. Also I think you may be able to do section of screen recordings with the command line. I would assume you could since gtk-recordmydesktop is a frontend.
Always on Debian Testing

illbashu
Posts: 42
Joined: 2009-07-02 19:13

Re: gtk-recordmydesktop 60FPS?

#5 Post by illbashu »

vbrummond wrote:It might just be a limitation in gtk-recordmydesktop. You might want to contact the authors about it. Also I think you may be able to do section of screen recordings with the command line. I would assume you could since gtk-recordmydesktop is a frontend.
To specify a region for recording you can type this:
~$ recordmydesktop -x X_pos -y Y_pos --width WIDTH --height HEIGHT -o
foo.ogv
where X_pos and Y_pos specify the offset in pixels from the upper left
corner of your screen and WIDTH and HEIGHT the size of the window to be
recorded(again in pixels).
IDK how to get that info though. :(

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: gtk-recordmydesktop 60FPS?

#6 Post by vbrummond »

Perhaps install screenruler to find out the information. Not sure if it will work to your needs though.
Always on Debian Testing

illbashu
Posts: 42
Joined: 2009-07-02 19:13

Re: gtk-recordmydesktop 60FPS?

#7 Post by illbashu »

vbrummond wrote:Perhaps install screenruler to find out the information. Not sure if it will work to your needs though.
I hacked the software to do 60FPS. (extremely simple)

Download sources
open up rmdPrefsWidget.py (in src folder in qt-recordmydesktop sources)
change

Code: Select all

self.fpsSpinButton.setRange(1,50)
to

Code: Select all

self.fpsSpinButton.setRange(1,60)


or in gtk-recordmydesktop

Code: Select all

self.fpsAdjustment=gtk.Adjustment(value=self.values[0], lower=1, upper=50, step_incr=1, page_incr=5, page_size=0)
Change upper to 60.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: gtk-recordmydesktop 60FPS?

#8 Post by vbrummond »

I was going to say you should probably just hack on it. Nice job! :)
Always on Debian Testing

Post Reply