1. An overview of the

When some friends see the title of the time may have a question, is “what is a video engine”? Along with the progress of the network now, more and more familiar app, for example, we often come into contact with the volcanic micro video, trill, etc. These are the commonly used video software, this article in our SDK video rendering engine test as a starting point, is all about in the video rendering we are through what method to render video and test process, The main test platforms are server, Android and IOS, including data creation, material replacement, audio, text and other four parts. If there is something unclear in the explanation process, you are also welcome to put forward valuable suggestions.

2. Test function module

2.1 Data Creation

Before the test, we will prepare our test data according to the content we want to test in advance. During the test, we will check and compare according to the rendering and then through the data we create ourselves to see whether the actual effect is consistent with our data.

After the data is ready, we add the template we are testing and bind it to the data we created so that we can see the effect of the template rendering through our data. (The effect is shown in the picture below, the left is the template we generated, the video rendered according to the created data, and the right is the video effect comparison template)

2.2 Material Replacement

What is material substitution? Related experience friends may know, when we video to add our material, the rendering process, will encounter all sorts of problems, for example, according to photos didn’t add or added video screen showing incomplete, etc., or also upload format is not correct, etc. These problems occur, So how do we test to make sure that the files we upload can display properly? So in the test process, we have to replace our materials with the data we create ourselves, such as pictures, videos, GIfs and so on. The formats include MP4, JPG, PNG, GIF and so on. So how do we edit and replace our material?

Note: Taking our current data as an example, add our material for comparison in the line (the left is our material link, and the right is the linked content).

2.3 audio

Audio test this material to replace if you have a relatively simple, we first upload section of our audio, audio links in our data, and then to set the position of the audio playback in the video, and the length of the continuously, and the volume adjustment in the capture of video playback time, hearing a voice that appear in the set point in time, And whether there is a lag or audio and video out of sync and other issues.

Note: This section is the audio we added, and the playing time has been set

Note: this is the rendered video, where the red box marks is after we set the audio time to test whether the effect is consistent with our data setting

2.4 Text Editing

The template rendering also contains the important part of our text, including the font size, color, content modification, and the effect of text animation, so we will compare and check according to the data in the test.

[Image upload failed…(image-3eaaAC-1609123797184)]

After editing, we render to see the effect:

This is the rendered video and it looks exactly like the text that we edited on the data, and it looks correct.

3. At the end

From what has been discussed above, it is our a simple explanation of the four plates, less careful process can be simple, the subsequent will continue to update, will also improve, hope to have certain help to friends, friend, of course, also can put forward your valuable opinions and ideas we can communicate, we can make progress together.