Abstract
If you want to present the results or present the results, you usually need to generate a video file on the screen. in windows, we can use the screen recording experts to perform video recording and Vegas for post-processing. Can Ubuntu?
Yes, of course! Although it seems a bit difficult to use for the first time, when you are familiar with it, you will find that this actually simplifies your life.
Environment: Ubuntu 12.04 32bit
Screen and window video-xvidcap
Xvidcap supports generating Avi, MPEG, ASF, FLV, SwF, mov and other video formats and can be used in various scenarios. The recording area can also be selected at will, making it very convenient.
Download from here: http://sourceforge.net/projects/xvidcap/, and clickArticleFinally, I uploaded it to csdn. After downloading the SDK, double-click it to install it.
After openingProgramThe interface is very simple:
Right-click the leftmost button-> preference-> multi-frame, set the location where the video file is stored in filename-> OK, and then adjust the red frame, the content in the frame is the content to be recorded. The recording starts when you click a red dot, and the video is recorded after you click the stop key of the square.
Open the previously defined folder and you will be able to see the previously recorded video.
Capture video to generate Git-FFMPEG
FFmpeg is an open-source, free, cross-platform video and audio stream solution. It is a free software and uses lgpl or GPL licenses (based on the components you choose ). It provides a complete solution for recording, conversion, and streaming audio and video. It contains a very advanced audio/video codec library libavcodec. To ensure high portability and CODEC quality, many codec libraries in libavcodec are developed from scratch.
First download the source package http://www.ffmpeg.org/download.html.
After decompression, the terminal CD enters the directory, or the set:
./Configure
Make
Sudo make install
Enter the recorded video directory on the terminal and run the following command:
#Generate out.gif 10 seconds before video capture
FFmpeg-I 1.mpg-T 10 out.gif
The final GIF is as follows:
Video editing-kdenlive
Kdenlive is an open-source nonlinear video editing software. kde4 is supported in Versions later than 0.7. kdenlive allows you to edit video files in all formats through FFMPEG. It is built based on the MLT video framework and supports multi-track editing. It supports a wide range of audio, video, and image file formats, and presets audio, video, and transfer effects, it can be used to edit videos, DV post-clips, and individual DVD clips. In fact, this project is developed based on the FFMPEG Library mentioned above.
The software can be installed directly by searching in the Software Center. Alternatively, run the following command on the terminal to install the latest version:
Sudo add-Apt-repository PPA: sunab/kdenlive-release & sudo apt-Get Update & sudo apt-Get install kdenlive
After installation, open
After a simple trial, although it is not a great non-linear editing software, it is more than enough to edit a simple Demo Video.
Download Resources
Xvidcapi386.deb
FFmpeg
Reference
Ubuntu tossing FFMPEG note (audio and video recording, conversion)-http://blog.chinaunix.net/uid-342902-id-2416122.html
How to generate GIF from Avi using ffmpeg- http://stackoverflow.com/questions/6079150/how-to-generate-gif-from-avi-using-ffmpeg