Capture your desktop in a .GIF with Byzanz

Byzanz is a truly interesting package, which allows us to record what happens on our desktop and save it as . Gif just by executing a line in the console. If you click on the image to see it in full size, you will see what I am talking about 😀

byzanz-record -d 10 -x 0 -y 0 -w 1024 -h 768 ejemplo.GIF

To understand this a bit, we explain what each parameter means:

-d = Time (in seconds) to record. In the example it is 10 seconds.
-x -y = The coordinates to record. Putting 0 will record the entire desktop.
-wy -h = Width and height of the GIF, it must be according to the resolution of your screen.

Byzanz also allows you to save the recording result in .OGG / .OGV including audio in addition. An example of the command to use would be this:

byzanz-record -a -w 640 -h 400 -x 320 -y 200 -d 10 ejemplo.ogg

Part of the article I took from the blog of Humans.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

5 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   KZKG ^ Gaara <"Linux said

    The quality is not the same as it could be if it were video, soon I will show you the difference with the mini-application that I am finishing hehe ...

    1.    elav <° Linux said

      Does this mini-application save the file in .GIF? What did you hope to get?

      1.    KZKG ^ Gaara <"Linux said

        No man no, he saves it to video file. The FPS are much higher, a huge difference ... the problem is that it is video, it could not be uploaded as comfortably as a .GIF, I do recognize that 🙂

  2.   Lucas Matias said

    😀 How cool is this, I had not seen it, very interesting

  3.   @nagual_oax said

    I find it very interesting to be able to capture a screen to GIF, although the quality is not great, it is enough for examples or small tutorials ...
    The question I have left is whether a parameter can be passed to it so that the GIF is not generated as a loop, that is, deactivate the "auto-repeat" thing, and that when it reaches the last frame, it stops ...