How to create a screencast on linux

According to wikipedia, a screencast is a digital recording of computer screen output, also known as a video screen capture, often containing audio narration. Now, how is it different from a How to create a screencast on linuxscreenshot? A Screenshot is just a photo-capture of your current screen state, whereas a screencast is a video-capture of your current desktop session. In this article we will show you how to make a screencast and how you could get more productive. We will be using a screencasting software called Istanbul for this purpose.

As the istanbul Gnome project website puts it, “Istanbul is a desktop session recorder for the Free Desktop. It records your session into an ogg theora video file.” In fact all the screencasts feature here at Digitizor Tech-Show are made using this fine tool (Istanbul).

How to install Istanbul?

» Fedora 10 has Istanbul installed in it by default. In fact Istanbul was listed as one of the new features in Fedora 10 under the category desktop recording. Anyways, if you want to install Istanbul in a Fedora system, then issue the following command in a terminal as root:

» Ubuntu / Debian: To install Istanbul in a Debian or an Ubuntu system, issue the following command in a terminal as root:

» Any other linux system (using the sources): Install it using the following commands:

If you are installing from the sources make sure that you have the following dependencies installed: GStreamer 0.10, Gst-plugins-base 0.10, PyGTK 2.6, Gnome Python Extras >= 2.11.3, Gst-python 0.10, python-xlib.

Using Istanbul:
You can start Istanbul from the command line by just typing in istanbul in a terminal and hitting enter. You can also start it from Applications > Sound & Video > Istanbul Desktop Session Recorder while in GNOME. You can find Istanbul in Audio/Video under KDE. When you start Istanbul, a red circular dot will appear at the taskbar. Right click on it for options like recording pointer, selecting area to record, and record sound (you can add your voice for directions according to what you show in the screencast).

As a shortcut, you can just left-click on the Red Circular Dot button to start the Desktop Recording and again click on it to stop the recording. A dialog box will pop-up which will ask you for the file name to be saved to. You should see our screen cast below for a clear picture of what we just said:

Some notable problems are that the theora encoder which is the main plugin behind istanbul takes up a lot of CPU power and may cause your system to behave a little sluggish while recording a screencast. Things you can do to reduce this effect by using libtheora 1.0alpha6 or greater, recording at a lower width and height and by selecting a smaller part of the screen.

You can also start the screencasting right from the terminal. Suppose you want to record a screencast along with the mouse pointer and sound and save the cast to new.ogg then type in the following command:

For more options, you can use the command istanbul -h at a terminal. In our forthcoming articles we will be covering Screencasting on Windows systems and also Screencasting on Linux using another tool called byzanz.

There are several ways to grab screenshots in Linux. The method that I employ here is a shell script that uses the ImageMagick import program:

This script takes one parameter, the internal ID of the window that will be captured, which you can get by running the command xwininfo -frame . The xwininfo program will give you all of the X11 information about the window/frame that you click on, but the only line you need to see is the first one, which will look something like this:

This ID is what you want to pass to the shell script. Once the script starts, it will save screenshots of the window in the directory in which the script was launched. The script will run until it is interrupted by your pressing Ctrl-c. Each image is given a sequential name in the form of cap_XXXX.miff. The miff image format is ImageMagick’s own format. ImageMagick can write miff images faster than any of the other supported image types, which is why we are using it here.

Making the video file

After all the screenshots have been captured, you can start putting them together in a video file. The ImageMagick convert program will combine all of the miff files into one video file. Run the command below in the directory where all of the screenshots are located:

  • -antialias removes pixel-aliasing. This makes for a smoother-looking video.
  • -resize resizes all of the images to the specified size — in this case, that of an NTSC video. NTSC is the standard for analog television in North America.
  • -delay tells the convert program to pause between frames, in this case for 60 hundredths of a second. This setting will have to be customized almost every time you make a screencast, because the rate you speak and the rate the screenshots are taken will almost always change with every screencast.
  • One option that I did not use but which is worth mentioning is -quality , which controls the value to use when compressing the images. The larger the number, the larger the video file and the better the quality. However, this option tends to cause overflow problems and dropped frames, and too many dropped frames will result in an unusable video.

The result of the command will be a file called capture.m2v. The m2v format is an MPEG-2 video-only stream. The next step is to add audio to the video.

Capturing audio

You can use Audacity to capture audio for the screencast. You will obviously need a microphone hooked up to your computer, and the quality of the audio will be dependent on the quality of the microphone.

To start recording, open Audacity and press the red record button in the tool bar. When you are finished, save the audio file as a WAV file (File > Export As WAV). The WAV format is uncompressed and thus the best quality.

You can record when you are creating the screen captures, or after you’ve put the video file together. I find it beneficial to do both. I usually create a script and read it while making the screenshots. Then I put the video together and read the script again while it is playing back. Going through the script while capturing screenshots ensures that the captures are spaced correctly. Recording the audio a second time, while watching the finished video, allows you to concentrate on the audio portion.

Combining the audio and video

The final step in creating a screencast is to bring the audio and video together. One way to do this is to use mplex, an audio/video multiplexer that is part of the MJPEG toolkit, but to do so, you first need to convert the audio file from WAV to something that mplex can use with a command like:

Here, FFmpeg converts the original WAV file to MP3. You could also make the conversion with Audacity.

To combine the audio and video, use the command:

This command tells mplex to make final.mpg out of capture.m2v and audio.mp3. The -f option tells mplex that we want a generic MPEG2-coded video file. Now, final.mpg contains a complete screencast.

An alternative way to create the final screencast is to use Kino, a non-linear video editor, which gives you the opportunity to add extra features like titles and transitions to your screencast. Using Kino also allows you to combine the screencast with other videos and filmed footage.

To get started in Kino you must convert the captured video into the DV (Digital Video) format.

Here, the -target option tells ffmpeg to convert the file into an NTSC-compatible DV video.

Now you can use Kino to add the audio track. In Kino, import the DV file (File > Insert Before). To add the audio, use the FX tools (Tab bar to the right of the stage). On the Audio Transition tab, change the value to Dub. Now browse for the audio file; Kino only accepts WAV files. Use the Preview button at the bottom of the screen to see and hear what the final video will be like before it is rendered. If you like what you see, click the Render button to make the video. From here you can export the video in various formats directly from Kino.

Conclusion

As you can see, creating a screencast with Linux is relatively painless, and you can apply the process to a multitude of tasks — provide visitors to your Web site with visual how-to help, show off an application to your friends, or create a stunning in-depth presentation for your boss.

Chad Files, a software developer from Arkansas, has been developing Web-based applications for more than 10 years, and is a contributing developer to many open source projects.

To take a static screenshot of a selected part of my screen, I often use scrot with -s shot.png . This is great for adding illustrations to StackExchange posts. I even found this script to automatically upload such a screenshot to Imgur.com and put a link in my X clipboard!

Let’s turn this up to twelve: How do I similarly create a GIF screencast?

There are programs like recordmydesktop , byzanz & co as discussed on Ask Ubuntu that aim to be “user friendly”, but in my experience are buggy, inefficient, mostly unscriptable and unsuited for little one-off things like this.

I just want to select an area and record a GIF, with a console command I can understand, not some arcane unscriptable GUI monstrosity.

How can I do this?

7 Answers 7

I started ffcast , did vim , quit ffcast , then convert ed .avi → .gif .

I ran the recording commands in another terminal. Polished script for your $PATH at the end of this answer.

Capturing

FFcast helps the user interactively select a screen region and hands over the geometry to an external command, such as FFmpeg, for screen recording.

ffcast is the glorious product of some hacking at the Arch Linux community (mainly lolilolicon). You can find it on github (or in the AUR for Archers). Its dependency list is just bash and ffmpeg , though you’ll want xrectsel (AUR link) for interactive rectangle selection.

You can also append ffmpeg flags right after the command. I set -r 15 to capture at 15 frames per second and -codec:v huffyuv for lossless recording. (Play with these to tweak the size/quality tradeoff.)

GIFfing

ImageMagick can read .avi videos and has some GIF optimisation tricks that drastically reduce file size while preserving quality: The -layers Optimize to convert invokes the general-purpose optimiser. The ImageMagick manual has a page on advanced optimisations too.

This is what I have in my $PATH . It records into a temporary file before converting.

Thanks to BenC for detective work in figuring out the correct flags after the recent ffcast update.

If you’d like to install the dependencies on a Debian-based distro, Louis has written helpful installation notes.

For me, the answer was to use ffcast with ffmpeg like so:

I then used ffmpeg to do the conversion from avi to gif – it’s very fast and it keeps the framerate intact:

Lastly I used convert in the same way as @anko’s answer to optimise the gif, but I set a limit on resource usage to stop convert exiting with a killed message, and I removed the delay as ffmpeg has already handled that:

for my setup(ubuntu 16.04), ffcast doesn’t work well as it’s not updated on github for quite a while.

so I put up a script using slop(https://github.com/naelstrof/slop) and ffmpeg.

Update: Code updated, ffmpeg returns exit code 2 that prevents convert from executing as mentioned by Rub. After recording, hit ctrl+C will exit ffmpeg and run convert to generate the out.gif.

How to create a screencast on linux

I had wrote an interactive wrapper script for unix desktops for this reason, and after a year of usage, i am happy to share it there!

Made with byzanz , gifsicle , xdotool , and the script is written in php .

[1020px, not resized gif width 1020px, 70 seconds, 50 colors, 65Kb]

It provides good compressed gifs,and is a good showcase for this question.

This is a fairly simple base, ready to be hacked by you.

Functionalities: Gif record at mouse positions or fullscreen, resizing, compression, color compression, reverse/merge, giphy.com curl upload.

To start a 10 seconds gif record: gif 10

To record multiple times with the same parameters: gif !

To start a fullscreen 5 second gif record: gif 5 –fullscreen

Script runnning, pleasantly recording himself:

[45 seconds, width 645px, full colors, 976kb]

Full 5kb script:

Reverse/merge capability, to create artistic stuffs.

Original (435kb)

Reversed, merged: (826kb)

To install, using phi:

Fullscreen:

[1920*1080px, gif 400px, 50 seconds, 100 colors, 2Mb]

Source, with some more explanation and potential updates: https://github.com/webdev23/gif

How to create a screencast on linux

This repository help you to create your gif from selection region and also optimize it for you

Building on top of TC Zhang’s answer (I liked the simplicity, but couldn’t see how to to stop it), and taking gifsicle from NVRM’s answer (very nice quality I must say), I created my own version.

It starts by asking for the area to record (silently) and then a little box with buttons is placed just under the lower right corner of your selection (not interfering with the recording. It stays on top, but without grabbing focus.

You can pause/continue or just Stop, anytime. I consider a pain to have to specify the duration in advance, be free!

Result is placed in

/Downloads/ with a timestamp like 2020-02-29–0237.gif (I prefer not to spend time specifying where/how to save).

Feel free to customize for your needs. I tried to make it very self explanatory.

I learned a bunch putting it all together (yad, ffmpeg and signals, bash, etc.)

If someone finds better parameters for the recording/conversion quality please let me know. I am happy to update it.

We are often faced with a situation on a remote computer where we are performing a task on Linux and these tasks take a very long time. Therefore, many problems are generated such as B. The SSH session is terminated, suddenly our connection is lost, all of our work is damaged or lost.

This screen is the tool we use to resume sessions and resume tasks. The screen helps with the physical console between typically interactive shells (multiple processes). A single terminal window manager screen allows the user to open multiple separate screen sessions.

How to use the screen on Linux

GNU Screen or Screen is a terminal multiplexer. The screen allows us to continue or start a session, and within that session we can open virtual terminals (any number of windows). Our running processes will continue to show up if we are disconnected for any reason or the window is not visible.

Install screen in different operating systems in Linux

As we know, there are different operating systems in Linux. So there are different commands available to install the screen on the respective Linux operating system.

Install GNU Screen on Linux

We can check if the screen package is pre-installed in our Linux system by following the command as the screen package is pre-installed in most distributions these days.

If we have a pre-installed screen package, the output will show the specific version of that package. Otherwise we can simply install the display package using the package manager of our distribution.

Install Linux screen on Linux

We can install the screen on Debian, Ubuntu and Mint in the Linux system with the following command.

The following command can be installed by installing the screen at Fedora / CentOS / RHEL / AlmaLinux / Rocky Linux in Linux.

Install the screen on Gentoo Linux with the following command.

Install the screen on Manjaro by using the command below.

Install the screen on Arch Linux using the command below.

Install the display on OpenSUSE by using the command below.

Starting the Linux screen

Once the screen package is installed on Linux, it’s easy to get started. All you need to do is run the following command:

The above command creates a new window by launching a shell in that window and opening a screen session.

Now we get a list of commands in the screen session opened above. The following command shows us the list of commands.

How to use the screen
On Linux, when starting a screen session, choose between two windows. A screen session can contain multiple windows.

We can do all of our work in the normal command line environment. As we already know, a screen is an application, so it also has certain parameters or commands.

To check all the parameters on the screen we can enter the following command.

The above command is the help screen keyboard shortcut. We can also use another command that is as follows.

How to create a screencast on linux

In the output we see any parameters or commands on the screen.

To exit the help screen, we can press the “space bar” or “enter”. Note that all key combinations “Ctrl + a” in the screen session are performed without quotation marks.

For managing Linux screen windows, some of the most common keyboard shortcuts are as follows:

Commands Use Ctrl + ac New window created with a shell Ctrl + a “Displays all window lists Ctrl + a 0 By number (select window 0) Ctrl + a A Give the window a new name. Ctrl + a S Splits the current region horizontally into two regions. Ctrl + a | Split the current region vertically into two regions. Ctrl + a tab Changes the input target to the next region. Ctrl + a Ctrl + a We can toggle between the previous and the current window Ctrl + a Q Close all regions except this one f Ctrl + a X Shut down the current region

Start the named session

When we are running multiple screen sessions on our Linux system, named sessions are useful. We can easily create a session that identifies the session by that particular name. We can create a named session by running the onscreen command with the command given below.

Choosing a descriptive session name turns out to be a good idea.

Disconnect the Linux screen session

Taking down the screen is one of the best benefits. We write the following command, and with this command we can easily end the screen session on Linux.

Using the above command will end the screen session, but the running program will still work.

Continue the screen session

With the following command we can resume or reattach the screen session without losing anything we did in the screen session.

We can find the current session ID by listing the ongoing screen sessions.

Ongoing screen sessions and split screen sessions will show up in the output, and we’ll just revert to the version. The following command allows us to see the screen session running in the background and the currently open screen.

Suppose the output is:

Now we want to restore the 10835 screen session. So we need to write the following command.

Linux screen customization

If the file is present in our screen session and the session starts, the screen will read the screen configuration parameter from the following command.

According to our priorities, we can change the default screen with the following command.

Check manual page

With the following command we can check the manual page on the Linux screen.

diploma

In this article we learned how to install and use Gnu Screen in different Linux operating systems. We can easily create multiple screen windows in a single screen session, navigate between windows, continue and disconnect screen sessions, and personalize our screen terminal using specific commands or buttons. We have tried to translate all the information about the user screen in Linux and we hope this article is useful for you. We also make sure to pack all of the information into this single article. That’s all you need to know.

How to create a screencast on linux

At times there are situations where you need to record your desktop and create an animated GIF out of it. For example, the situation might arise while writing a tutorial or while replying to a forum post. There are a lot of tools that do this for you if you are on Windows or Mac OS X, but – as is usually the case – the list is comparatively short when it comes to Linux.

In this article we will discuss one such tool, Silentcast, that lets you record your Linux desktop and create an animated GIF out of the recorded video. Please note that all the instructions/commands mentioned in this tutorial were tested on Ubuntu 16.04 LTS.

Download and Install

On Ubuntu you can easily download and install the Silencast tool using the following set of commands:

Following this, you can run the Silentcast application either via the command line

Or through the Unity Dash.

How to create a screencast on linux

Usage

Once Silentcast is launched, what you get is a minimalistic UI that’s horizontally divided into two parts. The upper part contains some useful information for the user, while the lower part contains some configuration options that you can set before the tool starts recording.

How to create a screencast on linux

The “Working Directory” is the directory in which the tool will create a sub-directory dubbed a silentcast. This sub-directory will be used to store the video and png files, as well as the final animated gif file. The option “Area to be recorded” lets you specify the area that you want the tool to record. Available values for this configuration option are “Fullscreen,” “Transparent Window Interior,” “Interior of a Window,” and “Entirety of a Window.” For the example discussed here in the article we chose to record the full screen.

Moving on, the “Frames per second” configuration allows you to enter the frame rate. By default the value is 8 frames/sec. And finally, there’s a “Video made from” configuration which has two values: “temp.mkv” and “ew-. png.” The former is selected by default and should be used when creating an animated gif. However, if you’re creating a webm or mp4 file, then selecting “ew-. png” gives you the flexibility to do some editing first, such as deleting unnecessary images that you don’t want to be included.

In my case, except for the “Working Directory,” all other configuration fields were left with default values.

How to create a screencast on linux

Clicking the OK button presents you with a window that asks you to click another OK when you think you’re ready to start recording. It also tells you that you can stop the recording by clicking the Stop icon in the notification area.

How to create a screencast on linux

Silentcast stores the recorded video in a file called “temp.mkv” and extracts png frames from the video to create the gif image.

How to create a screencast on linux

Once that is done, you are given an option to manipulate the images (either manually or using the method Silentcast provides) before the final animated gif is prepared.

How to create a screencast on linux

Silentcast then processes the images based on whatever you selected (or did) in the previous step and creates an animated GIF.

How to create a screencast on linux

Now, coming back to the other values of the “Area to be recorded” configuration option that we were discussing earlier, if you select “Transparent Window Interior” you’ll be presented with a transparent window before the actual recording starts. You can resize this transparent window to cover/select the area of your desktop you want to record. Alternatively, selecting “Interior of a Window” lets you capture the active window sans its borders, while selecting “Entirety of a Window” lets you capture the complete window (including borders).

To learn more about the Silentcast tool, head to its GitHub page or go through it’s man page (by running ‘man silentcast’ on the command line).

Conclusion

Silentcast may seem a bit complex when you use it for the first time, but let me assure you that it’s actually not. A few trials and you get comfortable with it. It’s certainly not a feature-rich application, but it does what it claims to do, and that’s what finally matters, isn’t it? Go ahead and give it a try.

Himanshu Arora is a freelance technical writer by profession but a software programmer and Linux researcher at heart. He covers software tutorials, reviews, tips/tricks, and more. Some of his articles have been featured on IBM developerworks, ComputerWorld, and in Linux Journal.

In this article, I’m going to describe how to create a desktop screencast recording with or without audio in Xubuntu 16.04. With little changes, however, it should work on other distros too.

The first thing to do is to ensure that your headphone microphone is enabled in Xubuntu audio settings. For some reasons, Xubuntu doesn’t seem to do this by default. Just click that tray icon top-right corner and click on Sound Settings . Then click on Input Devices tab and select Headset Microphone or something from the list, and unmute the device by clicking the grey color audio icon:

How to create a screencast on linux

And of course, you’ll need ffmpeg to do this, its a small command line audio utility in linux. Its only a sudo apt-get away in case you don’t have it already. After that, all you have to do is run this command:

To stop the screen recording, just press Ctrl+C . This command uses the alsa module to record audio. The -ac 2 parameter specifies the audio channel (stereo as opposed to mono). If you want, you can also specify an audio sampling rate using -ar option which is usually 44100 by default. The -i default refers to the default available audio device. It usually works, but in case it doesn’t, you can specify the exact input device you want to use. In order to do that, run this command:

And you will get an output such as this one:

In the above, you can see the plugged-in available sound card at the end. So you can take that device and specify it in this way instead of the default device:

If you don’t want audio in the screencast, however, then omit the alsa module and just run this instead:

I’ve used other screencasting software in Linux before such as the RecordMyDesktop tool and the built-in Ctrl+Shift+Alt+R screencasting in GNOME. But this method of using ffmpeg was what I found to be the most speedy and configurable. Try it and do let me know how your screencasting goes!

How to create a screencast on linux

When it comes to screencasting (recording video of your desktop), most people will think of a desktop software with proper user interface. For Linux, we have covered several tools such as Kazam, Screenr and Screentoaster. What many people do not know is that you can screencast from the command line as well, via FFMPEG. It’s a simple (and very long) configurable command that lets you record video of your desktop.

Installing FFMPEG

FFMPEG are available in most distro’s repositories. Install it with the command below:

Ubuntu

Fedora

OpenSUSE

Arch Linux

Can’t find it in your distributions’ repositories? You may need to download it directly from ffmpeg.org and install it that way.

Customizing the command

Before screencasting can happen, the command needs to be customized to suit your needs. The command below has no specified resolution, will screencast at 30 FPS and outputs the file in the .MKV format.

Find your screen’s native resolution and replace the YxZ with it (e.g: 1920×1080). Not happy with only 30 frames per second? Change -r 30 to your desired FPS.

Screencasting

Screencasting is as simple as pasting the command above (one you’ve modified it to suit you) into a terminal. While the command is running, you’ll be able to know exactly what FFMPEG is doing. You’ll notice something similar to the image below.

How to create a screencast on linux

That’s basically it. With that long command, you’re screencasting. Want to stop the capture? Press the “q” key or close the terminal window entirely. It’ll print out information about the recording that just finished. This information is great as it can tell you everything that happened during the process.

Switching FFMPEG audio inputs

Like all applications, FFMPEG taps into Pulse Audio. This means it can be manipulated. By default, all applications recording take sound input via the default sound device. If your computer has a microphone (or one plugged in), FFMPEG will automatically record sound from it and add it to your screencast. If this is something you don’t want, you can change it.

Install Pulse Audio Volume Control. It’s a very popular tool and thus is in most popular distro repositories. In Ubuntu (or Ubuntu-based distros), you can install it with the following command:

For other distro, you just have to search for “pavucontrol” in your package manage and install it. Once installed, start an FFMPEG screencast and open “Pulse Audio Volume Control.” Inside the tool, click on the recording tab.

How to create a screencast on linux

In the recording tab, click the Built-in Audio Analog Stereo button. It’ll bring up a selection menu.

How to create a screencast on linux

In the menu, select Monitor of Built-in Audio Analog Stereo. This will make FFMPEG record your system sound instead of your computer’s microphone. This trick is great if you’re looking to record gameplay or anything that requires audio.

Conclusion

FFMPEG is an amazing tool that can do many, many things. Screencasting is just one of its abilities. Few alternatives to it can even capture high-quality footage while offering great performance. The command line is awesome because with it you can be as precise as you want. You can specify what you want to accomplish and see it appear before your eyes.

There is a desktop session recorder for Linux called recordMyDesktop that attemps to be easy to use, yet also effective at it’s primary task.recordMyDesktop offers also the ability to record audio through ALSA, OSS or the JACK audio server.

How to create a screencast on linux

To install recordMyDesktop

Go to System->Administration->Synaptic Package Manager,type recordmydesktop in Quicksearch field.

Right click gtk-recordmydesktop,select mark for installation.Mark to be install in next window.

Then click Apply button to start install recordmydesktop.

2. How to create a screencast in Fedora or Ubuntu – Record My Desktop

Screencasts of your desktop are very useful in demonstrating programs and for video tutorials. “recordMyDesktop” is a very easy to use tool for creating screencast under linux. By using recordMyDesktop you can record a widow or the whole desktop with a single click. You can save the video as ogv.

3. Create Screencasts on OpenSuSe with recordMyDesktop

A picture is worth a thousand words, especially when you’re teaching someone how to do something on a computer, and recordMyDesktop is a great little Linux application for creating screencasts. YouTube is full of recordMyDesktop screencasts showing all kinds of captures, including Compiz in action.

4. Linux screencasting tool ‘Kazam’ updates, gains bug fixes galore

Screencasting made simple is the ethos behind Linux screen-recording tool ‘Kazam‘ and the latest release sees it hammer home this point with improved features and a slew of bug fixes.

So lets get down to the specifics of what’s new in the 0.11 release: –

Screen casting is the act of recording your desktop while you do something, for example, running an application, replicating a test-case scenario or creating a training video, etc. Optionally you may or may not want your voice being recorded along with the video. Whilst there are many free and popular tools available for Windows to do such a task, in the Linux world the de-facto standard is a nifty little program called recordMyDesktop. Apart from a command line interface, it also has a very simple but elegant GUI that lets you easily create a screencast with audio recording enabled, while also providing you the option to specify some advanced settings such as screen co-ordinates (the area on your desktop you want recorded), audio/video input devices and the number of channels:

The above image shows recordMyDesktop program running on my Ubuntu 12.04 Linux distro. All you have to do is set the video quality and optionally set the sound quality if you also need voice recording. Most of the time, there is no need to open Advanced Settings. A few scenarios I can think of is where you want to specify an explicit FPS (Frames per second) value, apart from the default which is 15. Or else, you want to specify an explicit screen resolution.

There is also a feature that enables you to record a single window instead of the entire desktop. Just use the select “window button” on bottom left corner to do so.

Once the recording is done, the program encodes the video in .ogv (Ogg Vorbis) format as saves in your home folder with the filename, “out-n.ogv”. Ogg Vorbis is a pretty standard video format most modern programs are able to play.

Installing this program on your linux desktop is pretty easy. Depending on your package management system, this is usually done by issuing a single command in your terminal:

This is for apt-based distros such as Debian and Ubuntu. On Fedora you may use yum, or zypper on openSUSE.

I was frustrated, however, that I couldn’t get kdenlive to do screen recording directly. It had some error.
I would like to do more advanced screencasting that zooms in on certain sections of the screen.

Anyway, always more to learn. And I hope to eventually do more and create more KXStudio how-to stuff!

Re: HOW-TO: Make a screencast with KXStudio

Post by wolftune » Fri Oct 26, 2012 6:07 am

Re: HOW-TO: Make a screencast with KXStudio

Post by wolftune » Fri Oct 26, 2012 6:08 am

Re: HOW-TO: Make a screencast with KXStudio

Post by carlos » Wed Jan 09, 2013 10:29 pm

Hi, I’m a very happy user of KXstudio. Today I’m testing these great scripts for screencasting. if anyone is interested, I added xrec_1 options for using LXDE and Lubuntu. Also for Mate DE http://mate-desktop.org/, but there is a problem with the mouse cursor that I don’t know how to solve, I don’t know anything about programming, so if anyone wants to try and correct what may be wrong .

Using Lubuntu or LXDE works fine for me.
Thanks a lot and sorry about my english.
Cheers.

Re: HOW-TO: Make a screencast with KXStudio

Post by briandc » Mon Feb 11, 2013 4:44 pm

I’d like to try my hand at making a screencast of mx44, using XFCE (you wrote above that this is possible now). After I add the scripts, what commands do I use?

Re: HOW-TO: Make a screencast with KXStudio

Post by briandc » Mon Feb 11, 2013 5:03 pm

falkTX wrote: The scripts are already packaged in KXStudio (and updated), just install ‘kxstudio-scripts’.

Just follow the steps on the first post, using ‘xrec_1 xfce4’ instead of kde4.

Ok, thanks. I’m crossing my fingers!

Re: HOW-TO: Make a screencast with KXStudio

Post by briandc » Mon Feb 11, 2013 5:10 pm

I also need to know:

you wrote that the audio and video are saved separately. Do I have to load them into kdenlive (or similar) and sync them together manually? (I was hoping I’d have a finished product automatically.)

Re: HOW-TO: Make a screencast with KXStudio

Post by wolftune » Mon Feb 11, 2013 5:23 pm

Re: HOW-TO: Make a screencast with KXStudio

Post by briandc » Mon Feb 11, 2013 5:32 pm

I had installed “Record it now” a while back, and after opening it earlier, it now won’t leave me alone. I rebooted and it appeared after login!

If I remove it, it says that it will also remove “kxstudio meta all” and “kxstudio meta video” and install “record my desktop” instead.

What should I do?

Re: HOW-TO: Make a screencast with KXStudio

Post by briandc » Mon Feb 11, 2013 6:57 pm

Ok, I killed it, and I feel really bad.

I made the screencast, although one of the two terminals complained that it couldn’t run in realtime and that I should have done it as root. .

Anyway, I have an audio file and a video file now. I logged in in KDE, since kdenlive didn’t open in xfce before..

I put the two files unto two tracks at the bottom, and they play, but I can’t see the video as it progresses. Any quick tips on making this vid? (All I want to do is remove the first minute or so.)

Then at the end, I hit “render” and it makes a complete video with audio, right?