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.