Latest 1.6.0
Homepage https://github.com/yellowei/CYPlayer
License MIT
Platforms ios 8.0, requires ARC
Dependencies Masonry
Frameworks UIKit, Foundation
Authors
pod 'CYPlayer'

Sample

CYPlayer
CYPlayer
CYPlayer

Use

 Player.asset = [[CYVideoPlayerAssetCarrier alloc] initWithAssetURL:[NSURL URLWithString:@"http://....."] beginTime:10];

注意:

pod安装后, 请到CYPlayer找到"Support Files/CYPlayer.xcconfig"文件, 删除OTHER_LDFLAGS中的-read_only_relocs suppress, 方可真机运行

Latest podspec

{
    "name": "CYPlayer",
    "version": "1.6.0",
    "summary": "A iOS video player, using AVPlayer&FFmpeg. Libraries: CYSMBClient, CYfdkAAC, CYx264, CYFFmpeg",
    "description": "A iOS video player, using AVFoundation&FFmpeg. Libraries: CYSMBClient, CYfdkAAC, CYx264, CYFFmpeg. https://github.com/yellowei/CYPlayer",
    "homepage": "https://github.com/yellowei/CYPlayer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yellowei": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/yellowei/CYPlayer.git",
        "tag": "1.6.0"
    },
    "resources": [
        "CYPlayer/CYVideoPlayer/Resource/CYVideoPlayer.bundle",
        "CYPlayer/CYVideoPlayer/Player/FFMpegDecoder/cyplayer.bundle"
    ],
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "requires_arc": true,
    "dependencies": {
        "Masonry": []
    },
    "user_target_xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": ""${PODS_ROOT}/CYPlayer"",
        "HEADER_SEARCH_PATHS": ""${PODS_ROOT}/CYPlayer""
    },
    "pod_target_xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": ""${PODS_ROOT}/CYPlayer"",
        "HEADER_SEARCH_PATHS": ""${PODS_ROOT}/CYPlayer""
    },
    "subspecs": [
        {
            "name": "CYSMBClient",
            "source_files": "CYPlayer/CYFrameworks/Smbclient/*.{h}",
            "vendored_libraries": "CYPlayer/CYFrameworks/Smbclient/*.a",
            "public_header_files": "CYPlayer/CYFrameworks/Smbclient/*.{h}",
            "libraries": [
                "resolv",
                "z",
                "iconv",
                "bz2"
            ]
        },
        {
            "name": "CYfdkAAC",
            "source_files": "CYPlayer/CYFrameworks/fdk-aac-ios/include/fdk-aac/*.{h}",
            "vendored_libraries": "CYPlayer/CYFrameworks/fdk-aac-ios/lib/*.a",
            "public_header_files": "CYPlayer/CYFrameworks/fdk-aac-ios/include/fdk-aac/*.{h}",
            "libraries": [
                "resolv",
                "z",
                "iconv",
                "bz2"
            ]
        },
        {
            "name": "CYx264",
            "source_files": "CYPlayer/CYFrameworks/x264-iOS/include/*.{h}",
            "vendored_libraries": "CYPlayer/CYFrameworks/x264-iOS/lib/*.a",
            "public_header_files": "CYPlayer/CYFrameworks/x264-iOS/include/*.{h}",
            "libraries": [
                "resolv",
                "z",
                "iconv",
                "bz2"
            ]
        },
        {
            "name": "CYFFmpeg",
            "source_files": [
                "CYPlayer/CYFrameworks/FFmpeg-iOS/include/**/*.{h}",
                "CYPlayer/CYFrameworks/FFmpeg-iOS/ffmpeg.h"
            ],
            "vendored_libraries": "CYPlayer/CYFrameworks/FFmpeg-iOS/lib/*.a",
            "public_header_files": [
                "CYPlayer/CYFrameworks/FFmpeg-iOS/include/**/*.{h}",
                "CYPlayer/CYFrameworks/FFmpeg-iOS/ffmpeg.h"
            ],
            "dependencies": {
                "CYPlayer/CYSMBClient": [],
                "CYPlayer/CYfdkAAC": [],
                "CYPlayer/CYx264": []
            },
            "libraries": [
                "resolv",
                "z",
                "iconv",
                "bz2"
            ],
            "frameworks": [
                "VideoToolbox",
                "CoreMedia",
                "AudioToolbox"
            ],
            "pod_target_xcconfig": {
                "HEADER_SEARCH_PATHS": ""${PODS_ROOT}/CYPlayer/CYFrameworks/FFmpeg-iOS/include""
            }
        },
        {
            "name": "CYAttributesFactory",
            "source_files": "CYPlayer/CYAttributesFactory/*.{h,m}"
        },
        {
            "name": "CYLoadingView",
            "source_files": "CYPlayer/CYLoadingView/*.{h,m}"
        },
        {
            "name": "CYBorderLineView",
            "source_files": "CYPlayer/CYBorderLineView/*.{h,m}"
        },
        {
            "name": "CYObserverHelper",
            "source_files": "CYPlayer/CYObserverHelper/*.{h,m}"
        },
        {
            "name": "CYOrentationObserver",
            "source_files": "CYPlayer/CYOrentationObserver/*.{h,m}",
            "subspecs": [
                {
                    "name": "UseNativeOrentation",
                    "source_files": "CYPlayer/CYOrentationObserver/UseNativeOrentation/*.{h,m}"
                }
            ]
        },
        {
            "name": "CYPrompt",
            "source_files": "CYPlayer/CYPrompt/*.{h,m}"
        },
        {
            "name": "CYSlider",
            "source_files": "CYPlayer/CYSlider/*.{h,m}"
        },
        {
            "name": "CYUIFactory",
            "dependencies": {
                "CYPlayer/CYAttributesFactory": []
            },
            "source_files": "CYPlayer/CYUIFactory/*.{h,m}",
            "subspecs": [
                {
                    "name": "Category",
                    "source_files": "CYPlayer/CYUIFactory/Category/*.{h,m}"
                }
            ]
        },
        {
            "name": "CYVideoPlayerBackGR",
            "source_files": "CYPlayer/CYVideoPlayerBackGR/*.{h,m}",
            "dependencies": {
                "CYPlayer/CYObserverHelper": []
            }
        },
        {
            "name": "CYVideoPlayer",
            "source_files": "CYPlayer/CYVideoPlayer/*.{h}",
            "dependencies": {
                "CYPlayer/CYUIFactory/Category": [],
                "CYPlayer/CYUIFactory": [],
                "CYPlayer/CYPrompt": [],
                "CYPlayer/CYAttributesFactory": [],
                "CYPlayer/CYOrentationObserver": [],
                "CYPlayer/CYSlider": [],
                "CYPlayer/CYBorderLineView": [],
                "CYPlayer/CYObserverHelper": [],
                "CYPlayer/CYLoadingView": []
            },
            "subspecs": [
                {
                    "name": "Header",
                    "source_files": "CYPlayer/CYVideoPlayer/Header/*.{h}"
                },
                {
                    "name": "Model",
                    "source_files": "CYPlayer/CYVideoPlayer/Model/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Header": [],
                        "CYPlayer/CYFFmpeg": []
                    }
                },
                {
                    "name": "Resource",
                    "source_files": "CYPlayer/CYVideoPlayer/Resource/*.{h,m}"
                },
                {
                    "name": "Base",
                    "source_files": "CYPlayer/CYVideoPlayer/Base/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Model": [],
                        "CYPlayer/CYVideoPlayer/Resource": []
                    }
                },
                {
                    "name": "Other",
                    "source_files": "CYPlayer/CYVideoPlayer/Other/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Base": []
                    }
                },
                {
                    "name": "Player",
                    "source_files": "CYPlayer/CYVideoPlayer/Player/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Control": [],
                        "CYPlayer/CYVideoPlayer/MoreSetting": [],
                        "CYPlayer/CYVideoPlayer/VolBrigControl": [],
                        "CYPlayer/CYVideoPlayer/Present": [],
                        "CYPlayer/CYVideoPlayer/Registrar": [],
                        "CYPlayer/CYVideoPlayer/TimerControl": [],
                        "CYPlayer/CYVideoPlayer/GestureControl": []
                    }
                },
                {
                    "name": "Control",
                    "source_files": "CYPlayer/CYVideoPlayer/Control/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Other": []
                    }
                },
                {
                    "name": "GestureControl",
                    "source_files": "CYPlayer/CYVideoPlayer/GestureControl/*.{h,m}"
                },
                {
                    "name": "MoreSetting",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Other": []
                    },
                    "subspecs": [
                        {
                            "name": "MoreSetting",
                            "source_files": "CYPlayer/CYVideoPlayer/MoreSetting/MoreSetting/*.{h,m}"
                        },
                        {
                            "name": "Secondary",
                            "source_files": "CYPlayer/CYVideoPlayer/MoreSetting/Secondary/*.{h,m}"
                        }
                    ]
                },
                {
                    "name": "VolBrigControl",
                    "source_files": "CYPlayer/CYVideoPlayer/VolBrigControl/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Other": []
                    }
                },
                {
                    "name": "Present",
                    "source_files": "CYPlayer/CYVideoPlayer/Present/*.{h,m}",
                    "dependencies": {
                        "CYPlayer/CYVideoPlayer/Other": []
                    }
                },
                {
                    "name": "Registrar",
                    "source_files": "CYPlayer/CYVideoPlayer/Registrar/*.{h,m}"
                },
                {
                    "name": "TimerControl",
                    "source_files": "CYPlayer/CYVideoPlayer/TimerControl/*.{h,m}"
                }
            ]
        }
    ]
}

Pin It on Pinterest

Share This