Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Swift
  3. YiVideoEditor

YiVideoEditor

MITSwift

A lightweight iOS library for basic video editing tasks like rotation, cropping, watermarking, and audio addition.

GitHubGitHub
139 stars16 forks0 contributors

What is YiVideoEditor?

YiVideoEditor is an iOS library that enables developers to perform basic video editing operations programmatically within Swift applications. It solves the problem of integrating essential video manipulation features—like rotating, cropping, adding watermarks, and mixing audio—without requiring complex third-party services or extensive native code.

Target Audience

iOS developers building apps that require in-app video editing capabilities, such as social media, content creation, or utility applications.

Value Proposition

Developers choose YiVideoEditor for its lightweight, focused API that simplifies common video editing tasks, reducing development time compared to lower-level AVFoundation implementations or heavier commercial SDKs.

Overview

YiVideoEditor is a library for rotating, cropping, adding layers (watermark) and as well as adding audio (music) to the videos.

Use Cases

Best For

  • Adding watermarks or logos to user-generated videos in iOS apps
  • Implementing basic video cropping and rotation features in mobile applications
  • Mixing background music or audio tracks into videos programmatically
  • Creating lightweight video editing tools within Swift projects
  • Building social media apps with in-app video customization
  • Developing utility apps that require simple video processing without external dependencies

Not Ideal For

  • Applications requiring advanced video effects like filters, transitions, or color grading
  • Cross-platform projects that need video editing on Android or web
  • Real-time video processing or live streaming features
  • High-performance editing of 4K videos or large files with strict memory management

Pros & Cons

Pros

Focused and Simple API

The library offers straightforward methods like rotate(), crop(), and addLayer() for common tasks, reducing boilerplate code compared to low-level AVFoundation implementations, as seen in the concise usage example.

Core Editing Features

Supports essential operations such as rotation by degrees, cropping with CGRect, adding watermarks via layers, and audio mixing with timing controls, covering basic needs for in-app video customization.

Lightweight Integration

Available through CocoaPods with no external dependencies mentioned, making it easy to add to iOS projects without complex setup or heavy bloat.

Open Source License

Released under the MIT license, allowing free use, modification, and distribution in commercial projects, as indicated in the LICENSE file.

Cons

Limited Advanced Functionality

Missing features like video trimming, speed adjustment, or support for multiple audio tracks, which are common in more comprehensive video editing SDKs.

Sparse Documentation

The README provides only basic usage examples without detailed error handling, performance guidelines, or API reference, which could hinder debugging and advanced usage.

No Progress Tracking

The export completion handler only checks session status without offering progress updates or cancellation options, making it unsuitable for long-running edits with user feedback.

Frequently Asked Questions

Quick Stats

Stars139
Forks16
Contributors0
Open Issues1
Last commit4 years ago
CreatedSince 2021

Tags

#calayer#ios#media-processing#video-editor#watermark#video#mobile-development#avfoundation#cocoapods#swift#audio-mixing#audio#video-editing

Built With

C
CocoaPods
S
Swift
A
AVFoundation

Included in

Swift26.0k
Auto-fetched 10 hours ago

Related Projects

MobilePlayerMobilePlayer

:iphone: :movie_camera: A powerful and completely customizable media player for iOS

Stars3,074
Forks351
Last commit4 years ago
PlayerPlayer

▶️ Play and stream media in Swift

Stars2,167
Forks350
Last commit6 months ago
BMPlayerBMPlayer

A video player for iOS, based on AVPlayer, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.

Stars2,008
Forks430
Last commit2 years ago
CabbageCabbage

A video composition framework build on top of AVFoundation. It's simple to use and easy to extend.

Stars1,581
Forks236
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub