Latest 0.1.3
Homepage https://github.com/yangqingren/QRVideoEditor
License MIT
Platforms ios 8.0
Dependencies MBProgressHUD
Frameworks AVFoundation, Foundation, UIKit
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

/**
 timeRange

 * @param url video path
 * @param startTime
 CMTimeMakeWithSeconds(0, videoAsset.duration.timescale);

 * @param endTime
 * CMTimeMake(a,b)
 CMTimeMakeWithSeconds(a,b)

 * @param fileName video name .mp4
 * @param completion urlPath

 * If you need clipping video clips, then insert startTime and endTime to intercept the video.The parameters of video interception should be noted in CMTime format.
 */
+ (void)videoEditByTimeRangeWithUrl:(NSURL *)url startTime:(CMTime)startTime endTime:(CMTime)endTime fileName:(NSString *)fileName completion:(void (^)(NSString *urlPath))completion;

/**
 expression or watermark

 * @param url video path
 * @param image The expression and watermark you need to add
 * @param frame The expression you need to add and the location of the watermark.
 * @param fileName video name .mp4
 * @param completion urlPath
 */
+ (void)videoEditByImageWithUrl:(NSURL *)url image:(UIImage *)image frame:(CGRect)frame fileName:(NSString *)fileName completion:(void (^)(NSString *urlPath))completion;

/**
 text or barrage

 * @param url video path
 * @param textLayer The text or barrage you need to add
 * @param frame The text you need to add and the location of the watermark.
 * @param fileName video name .mp4
 * @param completion urlPath
 */
+ (void)videoEditByTextWithUrl:(NSURL *)url textLayer:(CATextLayer *)textLayer frame:(CGRect)frame fileName:(NSString *)fileName completion:(void (^)(NSString *urlPath))completion;

Installation

QRVideoEditor is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'QRVideoEditor'

Author

yangqingren, [email protected]

License

QRVideoEditor is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "QRVideoEditor",
    "version": "0.1.3",
    "summary": "video recording clip. u89c6u9891u526au8f91",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/yangqingren/QRVideoEditor",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u6768u5e86u4eba": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yangqingren/QRVideoEditor.git",
        "tag": "0.1.3"
    },
    "frameworks": [
        "AVFoundation",
        "Foundation",
        "UIKit"
    ],
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "QRVideoEditor/Classes/**/*",
    "dependencies": {
        "MBProgressHUD": []
    }
}

Pin It on Pinterest

Share This