PryntTrimmerView alternatives and similar libraries
Based on the "Video" category.
Alternatively, view PryntTrimmerView alternatives based on common mentions on social networks and blogs.
-
ZFPlayer
Support customization of any player SDK and control layer(支持定制任何播放器SDK和控制层) -
LFLiveKit
LaiFeng IOS Live Kit,H264 and AAC Hard coding,support GPUImage Beauty, rtmp transmission,weak network lost frame,Dynamic switching rate -
MobilePlayer
:iphone: :movie_camera: A powerful and completely customizable media player for iOS -
BMPlayer
A video player for iOS, based on AVPlayer, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles. -
Swift-YouTube-Player
Swift library for embedding and controlling YouTube videos in your iOS applications via WKWebView! -
VersaPlayer
Versatile Video Player implementation for iOS, macOS, and tvOS -
YoutubeKit
YoutubeKit is a video player that fully supports Youtube IFrame API and YoutubeDataAPI for easily create a Youtube app -
Periscope VideoViewController
Video view controller with Periscope fast rewind control -
VGPlayer
A simple iOS video player in Swift,Support play local and network,Background playback mode. -
VIMVideoPlayer
Deprecated: Please use [PlayerKit]( https://github.com/vimeo/PlayerKit) instead. -
ios-360-videos
NYT360Video plays 360-degree video streamed from an AVPlayer on iOS. -
AVPlayerViewController-Subtitles
Easy way to show SRT files on AVPlayerViewController -
SSVideoPlayer
A video player that support both local and network resource. -
MPMoviePlayerController-Subtitles
Easy way to show SRT files on MPMoviePlayerController -
AVAnimator
AVAnimator is an iOS library that makes it easy to implement non-trivial animated/video content in iOS -
PlayerView
Player View is a delegated view using AVPlayer of Swift -
swift-360-videos
360 video player for iOS written in swift - a subset of SceneKit that works -
ABMediaView
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos. -
VideoPager
Paging Video UI, and some control components is available. -
JDVideoKit
You can easily transfer your video into Three common video type via this framework.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of PryntTrimmerView or a related project?
README
PryntTrimmerView
A set of tools written in swift to crop and trim videos.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Trimming
Cropping
Requirements
PryntTrimmerView requires iOS9: It uses Layout Anchors to define the constraints.
Installation
SPM
Add the following to your Package.swift file
dependencies: [
.package(url: "https://github.com/HHK1/PryntTrimmerView.git", .upToNextMajor(from: "4.0.1"))
]
CocoaPods
PryntTrimmerView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "PryntTrimmerView"
Then, run pod install
to download the source and add it to your workspace.
Carthage
PryntTrimmmerView is available through Carthage. To install it, simply add the following line to your Cartfile:
github "HHK1/PryntTrimmerView"
Run carthage update
to build the framework and drag the built PryntTrimmerView.framework into your Xcode project.
Swift Version
- Swift 3 compatibility: use version 1.0.1 or below.
- Swift 4 compatibility: use version 2.x.x.
- Swift 4.2 compatibility: use version 3.x.x
Usage
:warning: This library does not contain an API to crop or trim your video asset. You can find a possible implementation for this in the example pod, but the library only provides the UI.
Trimming
Create a TrimmerView
instance (in interface builder or through code), and add it to your view hierarchy.
trimmerView.asset = asset
trimmerView.delegate = self
Access the startTime
and endTime
property to know where to trim your asset. You can use the TrimmerViewDelegate
to link the trimmer with an AVPlayer
and provide the end user with a preview. See the VideoTrimmerViewController
inside the project to see an example.
You can also customize the trimmer view by changing its colors:
trimmerView.handleColor = UIColor.white
trimmerView.mainColor = UIColor.orange
trimmerView.positionBarColor = UIColor.white
Cropping
Create an instance of the VideoCropView
and add it to your view hierarchy, then load your video into the crop view: videoCropView.asset = asset
.
You can set the aspect ratio you want using the setAspectRatio
method. Once you are satisfied with the portion of the asset you want to crop, call getImageCropFrame
to retrieve the select frame. See the VideoCropperViewController
in the example app for an actual example of how to crop the video for export.
License
PryntTrimmerView is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the PryntTrimmerView README section above
are relevant to that project's source code only.