Latest 1.0
Homepage https://github.com/leroyli/LYZMediaEditTool
License MIT
Platforms ios 8.0
Frameworks Foundation, AVFoundation
Authors

一款用于音视频合成、音频合成、音视频剪辑的工具

screenShot1

screenShot2

screenShot3

screenShot4

screenShot5

screenShot6

使用方法

可以直接拖入工程使用,也可使用CocoaPoda引入使用pod search LYZMediaEditTool

使用举例

/** 音视频合并 */
[LYZMediaEditTool mixVideoAndAudioWithVieoPath:[self filePathName:@"abc" Type:@"mp4"]
                                          audioPath:[self filePathName:@"123" Type:@"mp3"]
                                     needVideoVoice:YES
                                        videoVolume:self.originalVoiceSlide.value
                                        audioVolume:self.BGMVoiceSlider.value
                                     outPutFileName:@"outputFile"
                                    complitionBlock:^(BOOL isSuccesed, NSURL *outputPath) {
                                        // do something...

                                    }];
/** 音频与音频合并 */
[LYZMediaEditTool mixOriginalAudio:[self filePathName:@"陈奕迅" Type:@"mp3"]
                    originalAudioVolume:0.5
                            bgAudioPath:[self filePathName:@"五环之歌" Type:@"mp3"]
                          bgAudioVolume:0.5
                         outPutFileName:@"mix"
                        completionBlock:^(BOOL isSuccesed, NSURL *outputPath) {
                            // do something...

                        }];

Latest podspec

{
    "name": "LYZMediaEditTool",
    "version": "1.0",
    "summary": "A tool that can synthesize video and audio",
    "description": "A tool that can synthesize or cut video and audio",
    "homepage": "https://github.com/leroyli/LYZMediaEditTool",
    "license": "MIT",
    "authors": {
        "Leroyli": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/leroyli/LYZMediaEditTool.git",
        "tag": "1.0"
    },
    "source_files": [
        "LYZMediaEditTool",
        "LYZMediaEditTool/**/*.{h,m}"
    ],
    "frameworks": [
        "Foundation",
        "AVFoundation"
    ]
}

Pin It on Pinterest

Share This