LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-11-2014, 07:57 AM   #1
cwc
Member
 
Registered: Nov 2004
Location: Tri-Cities, WA
Distribution: Gentoo, Ubuntu, Mint,Fedora
Posts: 71

Rep: Reputation: 16
screencasting


I need to record my desktop using gentoo and debian.
I'm running xfce4

I looked at this wiki.
http://en.wikipedia.org/wiki/Compari...sting_software

I wanted the query LQ users to see what others are using.
I've experimented with vlc and ffmpeg which will take a lot of work.

What screencasting software are you using?
Please throw me a bone.
 
Old 07-11-2014, 08:10 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,578
Blog Entries: 28

Rep: Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217Reputation: 6217
I've had good results with recordmydesktop.

You may need jack or pavucontrol with it with it, depending on your audio setup.

They all should be in the repos.

Last edited by frankbell; 07-11-2014 at 08:12 PM.
 
Old 07-12-2014, 08:00 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
None of my computers are fast enough for a full capture. So I just use avconv (a fork of ffmpeg). Caveats with audio and video frames resulting in different length streams, which should be compensated for to keep A/V sync. Since I can only safely do about 5 fps on a good day for capture, it's easier to fiddle with the frame counts for a 30fps destination.

Under load audio can get choppy, so to play it safe you might want to launch the things that you're recording with a high nice level (prefix them with nice -n 18 on the CLI, nice levels run -20 (kernel) to +20). Or renice the recording to a higher priority than X with renice (requires root priviledges for < 0 nice levels). With a half decent computer these steps might not be necessary. Although saving the output to a dedicated storage device would still be a good idea to avoid the competition.

The X code is a bit unreadable to some coders, so if you want to record the mouse cursor, that seems to only be supported in 24 bit or higher colors. So if you're recording at 16 bit (DefaultDepth 16 or -depth 16 for startx) and not getting a mouse cursor, it may have nothing to do with your recording application.

Code:
$ avconv -f alsa -i defaults -f x11grab -s 1920x1080 -r:v 5 -draw_mouse 1 -i :0.0 -q 0 -ac 2 -ar 48000 -acodec flac -pix_fmt yuv420p -vcodec libx264 -preset ultrafast -r:v 5 -y recording.mkv
Paraphrased from one of my youtube videos (CLI heavy). Dropping the specs for audio might help it work if it complains. And I think -draw_mouse is now -mouse. And other quirks depending on your platform, system specs, and installed bits.

Such efforts on a raspberry pi running debian jessie armel (optimized for armv4), only gets me about one frame every 2 seconds. At which point it's better just to take screen shots and compile that to a video in post.

Code:
$ while true; do scrot '%Y%m%d%H%M%S_screenshot.png'; sleep 5; done

Last edited by Shadow_7; 07-12-2014 at 08:17 AM.
 
  


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
LXer: Yet more on screencasting with ffmpeg LXer Syndicated Linux News 0 09-23-2012 02:01 AM
Screencasting with ffmpeg tutorial teckk Linux - Desktop 1 05-15-2011 05:35 PM
Screencasting on Linux prudens Linux - Newbie 5 08-12-2009 01:34 PM
LXer: Screencasting with Linux LXer Syndicated Linux News 0 03-19-2007 07:31 PM
LXer: Screencasting Linux LXer Syndicated Linux News 0 08-04-2006 05:03 AM

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

All times are GMT -5. The time now is 07:27 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