Latest 0.0.01
Homepage https://github.com/popor/PoporFFmpegCompress
License MIT
Platforms ios 8.0
Dependencies PoporFFmpeg
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

Installation

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

pod 'PoporFFmpegCompress'

PoporFFmpegCompress

因为cocoapod对c++的依赖不完善,所以将FFmpeg做了静态包处理,静态包仓库位于 PoporFFmpeg   , 原始文件位于 PoporFFmpegLib  , 原始的FFmpeg pod仓库位于 FFMpegCompress

放弃对mac的支持,文件太大了,请选择使用FFmpeg官网的dmg文件,应该比这个小很多,而且还可以使用最新版本.

放弃对iPhone32CPU,iPhone5的支持,文件太大了,github不支持超过100MB文件.

使用方法
#import <PoporFFmpegCompress/PoporFFmpegCompress.h>

@property (nonatomic, strong) PoporFFmpegCompress * ffmpegCmd;

NSString *videoPath;
NSString *resultPath;

if (!self.fCompress) {
    self.fCompress = [PoporFFmpegCompress new];
}
[self.fCompress compressVideoUrl:videoUrlPath size:size tPath:tPath finish:^(BOOL      finished, NSString *info) {
    if (finished) {
        NSLog(@"PoporFFmpeg finish");
    }else{
        NSLog(@"PoporFFmpeg error: %@", info);
    }
}];

Author

popor, [email protected]

License

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

Latest podspec

{
    "name": "PoporFFmpegCompress",
    "version": "0.0.01",
    "summary": "u7b80u5316FFmpegu4f7fu7528",
    "homepage": "https://github.com/popor/PoporFFmpegCompress",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "popor": "[email protected]"
    },
    "source": {
        "git": "https://github.com/popor/PoporFFmpegCompress.git",
        "tag": "0.0.01"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "PoporFFmpegCompress/Classes/*.{h,m}",
    "dependencies": {
        "PoporFFmpeg": []
    }
}

Pin It on Pinterest

Share This