Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderHenry66 authored Jan 10, 2019
1 parent d6231fe commit 901ce9b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ PS :支持多线程处理
使用指导
=====================

常规操作直接append + 操作 + finish,各种骚操作组合请参照文尾
常规操作: append一个视频 + 操作命令 + finish
组合操作:将所有视频append,操作命令 * n,finish
骚操作:参照文尾

下列代码均跑于6s 12.0系统

Expand All @@ -22,11 +24,11 @@ PS :支持多线程处理

// 压缩:将19秒的视频进行压缩, 耗时<1秒, 成果 : 6.7M -> 335KB

[_videoBox appendVideoByPath:_videoPath];
[_videoBox rotateVideoByDegress:90];
[_videoBox asyncFinishEditByFilePath:filePath complete:^(NSError *error) {
// do it
}];
[_videoBox appendVideoByPath:_videoPath];
_videoBox.ratio = WAVideoExportRatioLowQuality;
[_videoBox asyncFinishEditByFilePath:filePath complete:^(NSError *error) {
// do it
}];
// 拼接:将两个不同分辨率视频拼接(17秒的视频), 耗时<3秒 ,如果是相同分辩率的视频耗时<1秒

Expand Down

0 comments on commit 901ce9b

Please sign in to comment.