LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2010, 02:58 PM   #1
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
recordMyDesktop output video shows *massive* artifacts, else plays too fast


I recently tried out recordMyDesktop (not the GTK+ frontend, just the CLI program, I wanted to Keep It Simple this time ), and found that the videos it records/encodes show massive motion-smearing artifacts when played back. This is without the "--on-the-fly-encoding" option; with it, the video looks fine (i.e. has no artifacts other than the typical ones found in any compressed video), but it plays back too quickly (the time-step between frames is too high, thus making everything go too fast when the video is played back, even though the frame rate is low). Here's a screenshot of the video playing, showing what the artifacts look like (they're nasty!).

I've searched Google and LQ about this problem to no avail: either there were no relevant results, or it was just a post on a different forum asking basically the same question, but with no answer. So apparently this problem is either really rare, or it's something specific to my configuration, and mine alone (highly unlikely).

System specs:
  • CPU: IntelŽ CoreŽ i5 430M @ 2.27 GHz
  • GPU: NVIDIA GeForceŽ 310M w/ 512 MiB VRAM
  • RAM: 4 GiB

Command used to record:

Code:
recordmydesktop --fps 30 --no-sound --no-frame --overwrite -o /home/mrcode/Videos/capture.ogv
I've tried different options, such as --quick-subsampling, as well as tweaking the video quality and bitrate settings (--v_quality and --v_bitrate), all of which did nothing to change/get rid of the artifacts. Is there something I'm missing here?

Last edited by MrCode; 10-21-2010 at 03:00 PM.
 
Old 10-23-2010, 01:08 AM   #2
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
have a look and see if there are any extra codes your play needs to play .ogv files
kaffiene plays them ok.
otherwise turn them into something else with ffmpeg I m trying to get lives video editor to work with files recorded with recordmydesktop Im using the gtk front end
 
Old 10-23-2010, 10:30 AM   #3
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
have a look and see if there are any extra codes your play needs to play .ogv files
kaffiene plays them ok.
I'm using GNOME MPlayer to play these, and it handles other Theora videos just fine. It doesn't make any difference what output method I'm using to play it (vdpau, x11, gl/gl2, etc.).

Quote:
otherwise turn them into something else with ffmpeg I m trying to get lives video editor to work with files recorded with recordmydesktop Im using the gtk front end
I've tried this...it doesn't remove the artifacts, no matter what format I try encoding it into (I've tried uncompressed AVI, H.264 [.mp4], and standard MPEG [.mpg]). I have a feeling it's in the way recordMyDesktop does the initial encoding (i.e. all ffmpeg is doing is re-encoding the whole thing, artifacts and all).

Last edited by MrCode; 10-23-2010 at 10:32 AM.
 
Old 11-22-2010, 10:34 AM   #4
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
I know this thread has gotten kind of old, but I just wanted to let people know that I found a much better solution for screen recording.

This page has a great overview of how to record your screen and convert it to something web-friendly (for posting on YouTube,*sending over e-mail, etc) using FFmpeg.

For those who don't want to read the whole thing, here's the basic format for recording a screen capture to a lossless video file:

Code:
ffmpeg -f x11grab -s <screen resolution here> -r <FPS here> -i :0.0 -vcodec libx264 -vpre lossless_ultrafast -threads <CPU cores here or 0 for autodetect> <output filename>.mkv
Just hit "q" when you want to stop recording.

From there you can re-encode it into whatever format you want (such as H.264 or Ogg Theora).

Last edited by MrCode; 11-22-2010 at 10:37 AM. Reason: revised command line
 
Old 02-04-2011, 06:00 PM   #5
ZlatPap
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Lowering screen resolutin solved problem with gtk-recordMyDesktop

On Ubuntu I changed under System->Preferences->Monitors, Nvidia Xserver display configuration from 1366x768 to lower 1360x768 and massive graphic video capture artefact gone, disapear (99.9%)! Lowering screen resolution solved my problem on laptop with gtk-recordMyesktop.
I worked on Ubuntu 10.10 Maverick UTC 2011 i686 GNU/Linux with GTK-RecordMyDesktop ver. 0.3.8-1 installed from Synaptic, with activated Compiz and Docky, on Acer Aspire 6920 laptop, with 2.6.35-25-generic #44-Ubuntu. gtk-recordMyDesktop was set, in Advance tab to 100% quality and sound on, 15 FPS, and nothing else, for encoding after recording, with options in sound: Chanels 1, Freq 48000, in Device: "pulse"
also, in few simple steps, for enhanced audio, I extracted audio from ogv video envelope using:
Code:
ffmpeg -vn -i input-video.ogv audio.wav
and improoved sound with nice Audacity:
Code:
audacity audio.wav
under Effect option, after Noise Removal, Amplify, Normalize... I exported sound in ogg format.

If you don't before, install oggz-merge from Synaptic, and import sound back in video with:
Code:
oggz merge -o output.ogv input-audio.ogg input-video.ogv
After such few steps, you can educate, share and enjoy in your good video and audio capture in output.ogv.

Last edited by ZlatPap; 02-05-2011 at 09:51 AM.
 
Old 05-28-2012, 08:14 AM   #6
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Rep: Reputation: 16
Quote:
Originally Posted by ZlatPap View Post
On Ubuntu I changed under System->Preferences->Monitors, Nvidia Xserver display configuration from 1366x768 to lower 1360x768 and massive graphic video capture artefact gone, disapear (99.9%)! Lowering screen resolution solved my problem on laptop with gtk-recordMyesktop.
Thank you ZlatPap for providing the solution! Your solution worked for me too. I too have a Nvidia GPU and a screen resolution of 1366x768. I lowered the resolution to 1360x768 and the massive nasty artifacts as described by MrCode are gone! When I change the resolution back to 1366x768, the screen artifacts are back again.

What's even more weird, is that lowering the screen resolution solved *another* annoying Compiz issue I was having (unrelated to recordmydesktop). I was meaning to record that issue with recordmydesktop and make a bug report, but found that the issue was no longer present after lowering the screen resolution! What was my other issue you ask? With desktop wall enabled and at least 3 desktops horizontally, a window on desktop 2 (horizontally) or higher jumps to the first desktop when switching to the desktop on the right of that window.

@MrCode: If ZlatPap's solution also worked for you, please mark this thread as solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
does recordmydesktop support output in flash. mia_tech Linux - Newbie 2 09-03-2010 11:53 AM
[SOLVED] HP F2480 shows artifacts when printing colored .PDF tortenteufel Linux - Hardware 3 03-23-2010 04:11 PM
Best video format for YouTube upload and can Recordmydesktop output that format? linus72 Linux - Software 6 12-21-2009 04:53 PM
Solaris 10: vmstat shows massive page in rate Flame2k Solaris / OpenSolaris 2 06-14-2007 07:19 AM
dvd plays fast crAckZ Mandriva 2 02-24-2006 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration