Latest 1.0.0
Homepage https://github.com/czqasngit/Rambo
License MIT
Platforms ios 9.0
Authors

Version
License
Platform

Extract image from video file/stream base on ffmpeg written by C

基于C编写的ffmpeg从视频文件/流中提取图像的工具

Rambo_demo-2

Architecture

Currently FFmpeg.framework only supports x86_64, you can use the following tools to compile FFmpeg.framework that supports more architectures.

当前FFmpeg.framework仅支持x86_64,你可以使用以下工具编译支持更多架构的FFmpeg.framework.

https://github.com/kewlbear/FFmpeg-iOS-build-script/blob/master/build-ffmpeg-iOS-framework.sh

Note: Please remove double FFmpegVersionNumber = $FFMPEG_VERSION;’
注意:请删除 ‘double FFmpegVersionNumber = $FFMPEG_VERSION;’

Futues

Extract image from video file/stream

从视频文件或者流中提取指定位置的图像

Usage(Objective-C)

RamboContext *context = rambo_alloc_rambo_context(read_data, size, (__bridge  void *)self) ;
RamboRGBAFrame *frames = rambo_copy_frames(context, times, size) ;
rambo_frames_free(frames, size, false) ;
rambo_context_free(context) ;

Example

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

Requirements

Installation

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

pod 'Rambo'

Author

czqasn, [email protected]

License

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

Latest podspec

{
    "name": "Rambo",
    "version": "1.0.0",
    "summary": "Image extract tool kit base on ffmpeg",
    "description": "Extract image from video file/stream base on ffmpeg written by C",
    "homepage": "https://github.com/czqasngit/Rambo",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "czqasngit": "[email protected]"
    },
    "source": {
        "git": "https://github.com/czqasngit/Rambo.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Rambo/Classes/**/*",
    "libraries": [
        "bz2",
        "c++",
        "iconv",
        "z"
    ],
    "public_header_files": "Rambo/Classes/**/*.{h}",
    "subspecs": [
        {
            "name": "FFMpeg",
            "source_files": "Rambo/FFmpeg.framework/Headers/**.{h,m}",
            "public_header_files": "Rambo/FFmpeg.framework/Headers/**.h",
            "vendored_frameworks": "Rambo/FFmpeg.framework",
            "preserve_paths": "Rambo/FFmpeg.framework",
            "pod_target_xcconfig": {
                "LD_RUNPATH_SEARCH_PATHS": "$(PODS_ROOT)/Rambo/"
            },
            "frameworks": [
                "VideoToolBox",
                "AudioToolBox",
                "CoreMedia"
            ]
        }
    ]
}

Pin It on Pinterest

Share This