Mobile Development 7 min read

Brief Review and Testing Guide for a Short‑Video Editing SDK

This article provides a concise review of a short‑video editing SDK, outlining its features, core module architecture, testing considerations such as supported media formats, effect stacking, interruption handling, common issues on iOS devices, and performance evaluation guidelines.

360 Quality & Efficiency
360 Quality & Efficiency
360 Quality & Efficiency
Brief Review and Testing Guide for a Short‑Video Editing SDK

Short video editing SDK has been tested for a period of time, so I take the opportunity to give a brief recap of its related content.

The SDK supports GIFs, various image formats, video concatenation, editing, adding effects, and compositing export. More detailed information can be found in the official SDK documentation: https://live.360.cn/developer/doc?page_id=67&item_id=5 .

Module Structure

The core modules of the editing SDK include Timeline, Effect Commands, Preview Player, and Composer. The overall architecture is illustrated below:

Timeline: Contains multiple audio/video tracks. Tracks hold media files; video tracks can hold video and audio, while audio tracks hold only audio. Effects can be added to clips, and transitions can be set between clips.

Effect Commands: Include audio and video effects such as voice change, filters, stickers, and picture quality adjustments.

Preview Player: Provides real‑time preview where source media and added effects are rendered on the fly.

Composer: Reads media files, processes them according to effect commands, and finally composes a new media file based on the composition configuration.

Playback/Composition Module Processing

The playback and composition modules are separate; they share file configuration reading and audio/video decoding logic but are not hierarchical. When adding files, the SDK performs format conversion to simplify subsequent audio/video processing. After decoding, color‑space conversion of video pixel data may also occur, requiring familiarity with common audio/video formats and color spaces.

Testing Considerations

When testing, it is important to cover various input material file types, especially on iPhone devices. The following image lists the material types that should be included in test cases:

Although the diversity of source formats increases testing complexity, it also provides valuable learning opportunities when identifying and resolving issues.

Effect Stacking During Preview

The SDK supports transitions, speed changes, background music, subtitles, and stickers. Testers should verify that stacked operations behave correctly. For example, importing a 20‑second video, adding background music throughout, then applying a 2× speed change should result in a 10‑second output with audio and music correctly synchronized and speed‑adjusted.

Interruption Handling in Preview and Composition

During preview, interruptions such as screen lock, backgrounding, incoming calls, or alarms should not cause black screens, frame loss, or failure to resume rendering. Similarly, during composition, interruptions should not corrupt the encoding process.

Problem Examples

1. iPhone 7 + iOS 11 video import crash: Devices with iOS 11 record video in H.265 format, whereas earlier iPhones used H.264. This difference can cause crashes if not handled.

2. iPhone X screenshot import distortion: iPhone X screenshots have a special resolution of 2436×1125, requiring special handling to avoid stretching or mosaic artifacts.

In addition to functional testing, performance metrics should be monitored. By comparing with competing products using identical input and output resolutions, testers can gather CPU, memory, and composition‑time data across platforms, which is valuable for product optimization.

Qtest is the professional testing team under 360, pioneering platform‑wide testing technology and efficiency.

mobile developmentiosperformance testingvideo editingSDK Testing
360 Quality & Efficiency
Written by

360 Quality & Efficiency

360 Quality & Efficiency focuses on seamlessly integrating quality and efficiency in R&D, sharing 360’s internal best practices with industry peers to foster collaboration among Chinese enterprises and drive greater efficiency value.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.