Recording operations on Android phones, converting to Gif images and androidgif Images

Source: Internet
Author: User

Recording operations on Android phones, converting to Gif images and androidgif Images

I often see some dynamic images on others' blogs to demonstrate the Running Effect of my project. How do I perform screen recording and Gif image generation?

 

Previously, I thought about how to use ** and other mobile phone software to record the mobile phone screen, and then use ** and other players to capture video gif images. However, these screen recordings generally contain watermarks. Later I found a way to say that the Android Studio tool can record the screen of the mobile phone system of Android 4.4 or above. The tool is really high! Take a look at the specific operation:

 

1. Find the Terminal area below the Android Studio tool. It looks exactly like a Windows dos window.

 

2. enter adb shell screenrecord/sdcard/rocking.mp4 after the cursor to start recording the mobile phone. Then press Ctrl + C to finish recording in advance; early recording means that there is a limit on recording duration without manual stopping. It seems to be 180 s or a little bit. No one should record this long!

 

3. After recording, a video file named 【rocking.mp4 is generated in the root directory of the mobile phone. This is the video we just recorded. Then, we need to export the recorded video to a computer to generate a Gif image. Is it necessary to connect to another file through USB?

 

4. import the video file you just recorded to your computer from your mobile phone. You only need to enter [adb pull/sdcard/rocking.mp4] in Terminal. Note that the path and file name correspond to the previous recording, otherwise, the system will prompt that the file cannot be found.

 

5. Since it can be imported to a computer, Where can it be imported? You can find some configuration files in the current project opened by Android Studio.

  

6. generate the required Gif image for the recorded Video. The required tool is [Free Video To Gif Converter ]. However, the software official website is abroad and requires FQ. If you cannot use FQ, you can download and install it from the link at the end of the article.

 

7. Select next and go to the preview page. You can preview the current animation information by selecting the frames on the right. There is a Remove key on the right to Remove the unwanted frames. Click Make Gif to generate a gif image.

 

Finally, let's take a look at the effect:

 

Link: http://pan.baidu.com/s/1mijlaUs password: 5arp

 

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.