LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 05-03-2016, 03:22 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Record screen activity


Is there a program that can record screen activity ?
 
Old 05-03-2016, 06:11 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,280
Blog Entries: 16

Rep: Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130
Are you looking for something that will make a video or something like a keyloggger?

If you mean a video, this article discusses seven options: https://community.linuxmint.com/tutorial/view/1229
 
Old 05-03-2016, 06:48 PM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Yes, looking to make a video of what I am doing on my desktop.
 
Old 05-03-2016, 06:50 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,408

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
ffmpeg will do this
 
Old 05-03-2016, 07:25 PM   #5
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.

This works for my needs.

Quote:
ffmpeg -f x11grab -r 25 -s 1280x768 -i :0.0 -vcodec libx264 -preset ultrafast -crf 0 screencast-01.mkv
 
Old 05-04-2016, 04:06 AM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,408

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
I use this simple script to either capture the whole screen ( duel head ) or a portion of it starting at the mouse postion.
Code:
#!/bin/bash -e

#©keithhedger Tue 10 Nov 12:44:09 GMT 2015 kdhedger68713@gmail.com


if [ "X$1" = "Xs" ];then
	screensize=$2
	mousepos=$(xdotool getmouselocation 2>&1|tail -n1|awk '{print $1 "," $2}'|tr -d 'xy :')
else
	mousepos="0,0"
	screensize=$(xrandr|head -n1|awk '{print $8 $9 $10}'|tr -d ',')
fi

ffmpeg -y -video_size $screensize -framerate 10 -f x11grab -i :0.0+$mousepos -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le output.mkv||true
ffmpeg -y -i output.mkv -vf scale=800:600 out.mp4
 
Old 05-04-2016, 12:44 PM   #7
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
thanks.
 
Old 07-01-2016, 12:28 PM   #8
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by Keith Hedger View Post
I use this simple script to either capture the whole screen ( duel head ) or a portion of it starting at the mouse postion.
Code:
#!/bin/bash -e

#©keithhedger Tue 10 Nov 12:44:09 GMT 2015 kdhedger68713@gmail.com


if [ "X$1" = "Xs" ];then
	screensize=$2
	mousepos=$(xdotool getmouselocation 2>&1|tail -n1|awk '{print $1 "," $2}'|tr -d 'xy :')
else
	mousepos="0,0"
	screensize=$(xrandr|head -n1|awk '{print $8 $9 $10}'|tr -d ',')
fi

ffmpeg -y -video_size $screensize -framerate 10 -f x11grab -i :0.0+$mousepos -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le output.mkv||true
ffmpeg -y -i output.mkv -vf scale=800:600 out.mp4
Keith,

With my AMD system, neither your or my script records screen activity.

How do I troubleshoot this ?
 
Old 07-01-2016, 02:59 PM   #9
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,408

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Does the ffmpeg command work from the command line? if not what errors are you getting? Also does xdotool and xrandr work from the command line? more info would help.
FYI I use LFS so everything is built from up to date source.
 
Old 07-01-2016, 07:28 PM   #10
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
My post referred to a Just Lighthouse 64 installation. Very similar to Slacko and other Puppy variants.

However, with my Slacko 6.3.0 (32 bit) installation, your scripts works fine.

I deleted the JL installation. It involves an .sfs file which I am only partially comfortable using.

When I re-install it, I will be able to answer you questions.
 
  


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: Xvidcap Records Screen Activity Nearly Effortlessly LXer Syndicated Linux News 0 01-16-2013 09:00 PM
[SOLVED] odd screen characters and laptop activity the_penguinator Slackware 3 05-15-2011 08:06 PM
LXer: Record Screen Activity with the script Command LXer Syndicated Linux News 0 02-02-2011 10:00 PM
screen always in activity abd_bela DamnSmallLinux 3 06-25-2008 12:50 PM
Screen Record jbogins Linux - Software 3 10-28-2004 12:14 AM


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration