LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2011, 01:54 PM   #1
splintercdo
Member
 
Registered: Feb 2011
Posts: 141

Rep: Reputation: 11
recordmydesktop buffer overflow


Hello,

1. I try to run recordmydesktop

2. Initial 5 - 10 seconds are ok after that or when I load some more memory hungry application firefox for example, recordmydesktop starts to act strange it records all of the frames (video for example with framerate 15 fps 10 seconds long will have 150 frames), but the problem is that one frame is repeated over long time span, so in reality video appears to be frozen for long periods of time

3. I suspect that problem might be that recordmydesktop doesn't have resources it needs, because it freezes when larger applications are loaded or if I start x with fluxbox it runs much smoother than with xfce.

BUT, even in fluxbox it starts to freeze after some 10 - 15 seconds

Computer(laptop) I am testing program has Dual core 1.7GH CPU, 1GB of RAM from wich 128MB goes to internal video memory, I know it isn't too much but OK 320 x 240 video 5 min long it wouldn't be asked too much it even can't handle that

I know, there might be so many factors, but may be somebody have been in the same situation and have found a way how to solve the problem,

or may be there are some other system or application optimization advices?

Last edited by splintercdo; 04-04-2011 at 01:57 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-04-2011, 03:25 PM   #2
trillobyte
Member
 
Registered: Apr 2007
Location: USA
Distribution: Slackware, FreeBSD, Trisquel
Posts: 105
Blog Entries: 1

Rep: Reputation: 33
This is what I use. You may want to try it and compare the results.

This is my alias in .bashrc:

Code:
alias srecord='ffmpeg -f x11grab -s 1440x900 -r 10 -i :0.0 -s 1440x900 -r 10 -sameq'
When I want to record my desktop, I use the command: srecord (name_of_file).

Hope this works.
 
2 members found this post helpful.
Old 04-04-2011, 04:19 PM   #3
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
I cant help you with your problem, but I had a frustrating time with RecordMyDesktop, it wouldnt record beyond 7 minutes.
 
Old 04-04-2011, 05:32 PM   #4
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Quote:
Originally Posted by trillobyte View Post
This is what I use. You may want to try it and compare the results.

This is my alias in .bashrc:

Code:
alias srecord='ffmpeg -f x11grab -s 1440x900 -r 10 -i :0.0 -s 1440x900 -r 10 -sameq'
When I want to record my desktop, I use the command: srecord (name_of_file).

Hope this works.
Works for me, and it's much better than RecordMyDesktop, thanks!
 
Old 04-09-2011, 03:13 AM   #5
splintercdo
Member
 
Registered: Feb 2011
Posts: 141

Original Poster
Rep: Reputation: 11
Code:
alias srecord='ffmpeg -f x11grab -s 1440x900 -r 10 -i :0.0 -s 1440x900 -r 10 -sameq'
thanks trillobyte for this option it work's, actually it worked when I recompiled and reinstalled ffmpeg

But Andersen it's not better than recordmydesktop

I actually get very decent performance by recordmydesktop, what I did, I remembered that some long time ago I was recording screen quite good on ubuntu, I tested out Lubuntu, Slackware and OpenSUSE all of them worked bad, and then after remembering about ubuntu I installed Linux Mint, oh what a glory it was I can record fullscreen 1280x800 youtube video with sound and it work's nice!!!

I actually don't know what is reason behind that, but on Slackware I reinstalled two latest versions of recordmydesktop and did the same with ffmpeg(because 6.2 version had some problems with x11grab, 6.1 work's correctly), (installed all possible multimedia codecs and tested that everything work's great except screen recording, changed desktop environments, changed color depth, tried convert videos, tried out all possible gtk-recordmydesktop settings, and tried a bunch of other things I can't remember now, it was impossible), the performance was terrible and I don't know what is the reason may be I should have compile and install newer version of kernel

Anyway this is one more reason that makes stronger my believe that for static pre prepared work or learning linux - Slackware is great, fast and stable distribution but if you work dynamically with your system have to make changes fast without hustle it is lacking a lot, and for now at least I think as a multimedia platform it is mhee, not worst, but not at close best
 
Old 04-09-2011, 10:09 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Just had a play with the recordmydesktop in extras and it's truly hopeless. Been a very long time since I've used it, but last time I did I can remember being impressed that I could record both sound from my microphone (a voice over) and smooth screen capture.

I was getting one frame every 3 seconds or so when I just tried it, so something is very wrong. (using the nvidia proprietary driver- which I suppose might be a factor)
 
Old 04-09-2011, 12:09 PM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Just build/tried recordmydesktop on Scientific Linux 6 and it's not a whole heap better. Maybe it just doesn't like recent xserver versions.
 
Old 04-09-2011, 12:30 PM   #8
splintercdo
Member
 
Registered: Feb 2011
Posts: 141

Original Poster
Rep: Reputation: 11
Quote:
Just build/tried recordmydesktop on Scientific Linux 6 and it's not a whole heap better. Maybe it just doesn't like recent xserver versions.
hmm... It might be so, it is interesting I haven't looked what xserver version is using latest Linux Mint, but as I stated before recordMyDesktop is working just by far better in this distribution than in any other(may be it is good multimedia configuration, because Mint has a lot of pre installed stuff)

I doubt that problem is latest proprietary Nvidia drivers, because as I wrote before, laptop which I use for screen recording has internal Via Chrome 9 graphics (It does not even have 3D acceleration, which by the way works in windows, via is a bit a**holes about not making normal driver by them selves and not giving community possibility to do that even thou, if I remember correctly something is starting to move and may be by the end of this year I will be able to look at some 3D graphics at this very same display )
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
buffer overflow problem djgerbavore Programming 1 05-17-2005 03:59 AM
What is a buffer overflow Joey.Dale Linux - Security 4 07-12-2004 05:12 PM
Buffer Overflow pymehta Linux - Security 7 02-24-2004 01:19 PM
buffer overflow cxel91a Programming 3 08-14-2003 05:23 PM
Q. What is a buffer overflow? auslew Linux - Security 2 11-08-2002 05:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration