Ask Your Question
10

How can I capture a video of my screen in fedora?

asked 2012-10-20 18:11:41 -0500

Zucchini gravatar image

updated 2015-06-02 03:47:39 -0500

Can anyone please suggest what software can i use to video capture the screen and graphic applications such as games on Fedora 17. I need something like Fraps for Win

edit retag flag offensive close merge delete

11 Answers

Sort by ยป oldest newest most voted
13

answered 2012-10-20 23:53:07 -0500

davidva gravatar image

updated 2015-11-24 22:28:58 -0500

deadrat gravatar image

Hi very simple:

I propose 3 options

If you have Gnome 3

You can start/stop recording your GNOME 3 Desktop by pressing the Ctrl+Shift+Alt+R key combination.

The first time when you press this key combination, GNOME 3 will start recording your Desktop and any movements that happen on it. A red circle is displayed in the bottom right corner of the screen when the recording is in progress. Pressing the same key combination a second time will stop the recording.

The process can be simplified using the EasyScreenCast GNOME Shell extension.

Now on any desktop

Use VLC Player

How to install vlc?

from a terminal (Available via 3rd party RPM fusion repository)

su -c 'yum -y install vlc'

How to make a screencast using Vlc?

Select OPEN MEDIA

Select CAPTURE DEVICE tab

Change capture mode to DESKTOP

Change Options to 25 f/s

Choose CONVERT option instead of play option

In the Convert window add the destination file via the BROWSE button then name the file TEST.MPG (VLC does require the extension so the file becomes TEST.MPG rather than just TEST)

Change the PROFILE to VIDEO - H.264 + AAC (TS)

Click the setting button and change the VIDEO CODEC options to:

BITRATE 1200kb/s

FRAME RATE 25.00 fps

Click SAVE

Choose the DEINTERLACE option

Click START

OR

use the programs proposed by Fedora wiki

http://fedoraproject.org/wiki/ScreenCasting

edit flag offensive delete link more

Comments

This is wonderful. I have a dual monitor setup, so I'm wondering if it's possible to specify that the tool only record from one monitor, or perhaps a single window?

spacemoose gravatar imagespacemoose ( 2013-07-11 03:06:12 -0500 )edit

Best way record video with video is here - https://youtu.be/WKyxeueYZuc

Ra's Al Ghul gravatar imageRa's Al Ghul ( 2016-02-08 10:12:12 -0500 )edit

I like the first option - easy, no need to search and start any app. I'm just curious if there is any config where I could adjust desired video quality or some other video output parameters.

zdenek gravatar imagezdenek ( 2016-09-24 07:48:31 -0500 )edit

For ctrl+shift+alt+R method, how can I record the audio at the same time?

yywalnut gravatar imageyywalnut ( 2017-06-28 15:30:19 -0500 )edit
8

answered 2014-01-04 07:34:49 -0500

lzap gravatar image

Or try my script (slightly modified version from the internet), it produces very high-quality screencast of a window you select with your mouse:

#!/bin/bash

NAME=screencast-$(date +%Y%m%d%H%M)
FPS=4
THREADS=3

echo "Click the window to capture and get ready!"

tmpfile=/tmp/screengrab.tmp.$$
trap 'touch $tmpfile; rm -f $tmpfile' 0

xwininfo > $tmpfile 2>/dev/null
left=$(grep 'Absolute upper-left X:' $tmpfile | awk '{print $4}');
top=$(grep 'Absolute upper-left Y:' $tmpfile | awk '{print $4}');
width=$(grep 'Width:' $tmpfile | awk '{print $2}');
height=$(grep 'Height:' $tmpfile | awk '{print $2}');
geom="-geometry ${width}x${height}+${left}+${top}"
echo "Geometry: ${geom}"
size="${width}x${height}"
pos="${left},${top}"
echo "pos=$pos size=$size"

sleep 2
ffmpeg -y -f alsa -ac 2 -i pulse -f x11grab -r $FPS -s $size -i ${DISPLAY-0:0}+${pos} -acodec pcm_s16le $NAME-temp.wav -an -vcodec libx264 -preset ultrafast -threads 0 $NAME-temp.mp4

echo Merge audio+video and encode to webm for YouTube? && read

ffmpeg -i $NAME-temp.mp4 -i $NAME-temp.wav -acodec libvorbis -ab 128k -ac 2 -vcodec libvpx -qscale 8 -me_method full -mbd rd -flags +gmc+qpel+mv4 -trellis 1 -threads $THREADS $NAME.webm

This is so easy to use. Just click, wait 2 seconds to start recording and talk. Then cancel the process, work done. The output format is ideal for YouTube.

edit flag offensive delete link more

Comments

works great. i'd upvote if i had the karma.

Octopus gravatar imageOctopus ( 2014-10-27 10:06:05 -0500 )edit

What do I do with this code?

kholyphoenix0 gravatar imagekholyphoenix0 ( 2015-04-04 10:20:11 -0500 )edit

@lzap Awesome script. Any way to exclude the audio from the recording? Do I just take out the -acodec section in the ffmpeg recording?

t3kg33k gravatar imaget3kg33k ( 2015-09-02 04:37:43 -0500 )edit
1

@kholyphoenix0, Just create an executable file ~/bin/screencast containing the code in the answer (touch ~/bin/screencast; chmod u+x $_). Call screencast from a terminal window so you can press Ctrl+C to stop recording.

aaronblenkush gravatar imageaaronblenkush ( 2016-02-01 12:50:16 -0500 )edit

to implement this watch this video - https://youtu.be/WKyxeueYZuc

Ra's Al Ghul gravatar imageRa's Al Ghul ( 2016-02-08 10:13:10 -0500 )edit
4

answered 2013-02-18 07:13:00 -0500

usmangt gravatar image

I would suggest a very nice and lightweight one called recordmydesktop

yum install gtk-recordmydesktop

more varieties

yum search recordmydesktop

edit flag offensive delete link more

Comments

+1 This is actually a great solution.

dr01 gravatar imagedr01 ( 2016-05-03 02:18:18 -0500 )edit

Recordmydesktop has given me issues in the past. It's given me broken frames and shapes. I haven't had any issues with vokoscreen or simple screen cast.

Rodneyseales gravatar imageRodneyseales ( 2016-09-25 03:35:39 -0500 )edit
1

answered 2016-09-24 19:32:40 -0500

sergiomb gravatar image

updated 2017-07-07 09:18:22 -0500

in rpmfusion repos you got vokoscreen and simplescreenrecorder

simplescreenrecorder-0.3.8-1.fc25.x86_64

edit flag offensive delete link more

Comments

1

Vokoscreen is very efficient for what I use it for.

Rodneyseales gravatar imageRodneyseales ( 2016-09-25 03:36:25 -0500 )edit
1

answered 2012-10-20 18:31:49 -0500

Iki gravatar image

One that works well and is just a front end to ffmpeg is QX11Grab

You can get the git version with

git clone git://gitweb.hjcms.de/qx11grab

It says dbus 1.4.12 is required but it isn't available in Fedora so I changed CMakeLists.txt like this:

PKG_CHECK_MODULES (DBUS REQUIRED dbus-1>=1.4.10)

It built and runs fine, only the icons on the interface doesn't show ;-p I didn't write to the author because my PC is old and I can't record much anyway but it would be worth fixing this little issue for Fedora as it's a simple and effective app.

edit flag offensive delete link more
0

answered 2016-02-08 10:14:29 -0500

Here I found a video which tells how to record screen with audio in HD quality in fedora and it is working so I thought to share the link in this answer. link - https://youtu.be/WKyxeueYZuc

edit flag offensive delete link more
0

answered 2019-04-07 23:00:22 -0500

kaland gravatar image

I found UkeySoft Screen Recorder can be used to record all local videos, online video, conferences videos, webcam videos, game videos with high quality on PC. It is ideal for recording videos for study/business/game use.

edit flag offensive delete link more
0

answered 2018-11-14 01:03:37 -0500

To be honest, I just know how to capture audio playing on your PC. As for me, I usually using AudFree Audio Capture for Windows to record sound playing on my computer and then I can transfer them on Fedora for offline playback.

edit flag offensive delete link more
0

answered 2017-07-06 02:56:06 -0500

I like Acethinker Online Screen Recorder, which could record webcam video, desktop video and upload the video to youtube freely.It is a cloud based software to record computer screen without install any software in your computer.

edit flag offensive delete link more
0

answered 2018-02-07 21:27:47 -0500

I use TuneFab Screen Recorder to capture a video from my screen, then I can use it freely without any limitation, like sharing videos with my friends.

edit flag offensive delete link more

Comments

OMG. Are you serious?, that tool only work on Windows and you post that on here on a GNU/Linux distro.

stonne gravatar imagestonne ( 2018-02-20 12:18:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-10-20 18:11:41 -0500

Seen: 40,871 times

Last updated: Nov 14 '18