Dynamic gif images and video recording software in centos

Source: Internet
Author: User

Dynamic gif images and video recording software in centos
I. Introduction

The parameters of the byzanz-record command of byzanz software package in centos control direct recording of dynamic gif. Use the recordmydesktop command of the recordmydesktop package to record a video. The video format is ogv.

Ii. Explanation (1) byzanz
Install: # yum install byzanz
Recording process:
Byzanz-record-d 40-x 0-y 0-w 400-h 320 demo.gif
(After 40 s, demo.gif files will be generated under the current directory)
Where:-d 40 indicates the recording duration of 40 seconds.
-X 0 horizontal coordinates of the recording area
-Y 0: The ordinate of the recording area. Remember: the origin is (0, 0) in the upper right corner of the screen)
-W 400 width of the recording area
-H 320 height of the recording area
File name saved by demo.gif
(2) recordmydesktop screen recording
Install: # yum install recordmydesktop
Recording: Enter recordmydesktop in the terminal to start recording. After you use Ctrl + C to terminate the program, the out. ogv file (named out_1.ogv) is generated in the current directory ).

Recording on the centos interface: # yum install gtk-recordmydesktop. The terminal uses the gtk-recordMyDesktop command or opens the graphical interface in the application-audio and video.

After recording, press Ctrl + Alt + s to exit and save it in the current user directory. The file name is out. ogv.
(3) Conversion
Convert ogv to avi Video and install # yum install mencoder and mencoder out. ogv-nosound-ovc lavc-o out. avi. Batch shell command: [html] view plaincopy
  1. Foriin 'Find./-name "*. ogv" '; domencoder $ I-nosound-ovclavc-o $ I. avi; done
Install mplayer and break out. ogv into a single frame image: # mplayer-ao null out. ogv-vo jpeg: outdir = ./
Compress a single frame image into a GIF image: # convert *. jpg out.gif.
Compress out.gif to make the file smaller: # convert out.gif-fuzz 10%-layers Optimize optimized.gif. If the out.gif file has passed the Assembly, an error is reported.
Iii. Summary (1) other recording tools can refer to more exciting content on the Internet.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.