Capture LINUX desktop videos

Source: Internet
Author: User
Background 1: You enter a sensitive organization one day to operate on linux. You want to know what the other party is doing background 2; & nbsp; you can operate the linux video on your own GUI. To capture a handsome video memo $ ffmpeg-fx11grab-swxga-r25-i: 0.0-sameq/tmp/out. mpgffmpeg can be straight

Background 1: You enter a sensitive organization one day to operate on linux. You want to know what the other party is doing

Background 2: You can view videos in linux through a graphical interface. Want to capture a handsome video memo

$ Ffmpeg-f x11grab-s wxga-r 25-I: 0.0-sameq/tmp/out. mpg

Ffmpeg can directly decode the X11 image and convert it to the corresponding output format.

The general usage of ffmpeg is to output a file based on a bunch of parameters. the output file is usually placed at the end, and the parsing below

The following parameters:

-F x11grab indicates the Input type. Because the buffer zone of x11 is not a normal video file, it can detect the format,

You must specify ffmpeg to obtain the input.

-S wxga sets the size of the captured area. Wxga is the standard 1366*768 statement, which can be replaced by-s.

800x600.

-R 25 sets the frame rate, that is, the number of captured images per second.

-I: 0.0: Set the input source. The local X value is 0.0 by default.

-Sameq maintains the same image quality as the input stream for later processing.

Related Article

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.