zoukankan      html  css  js  c++  java
  • iOS开发笔记--开源播放框架ijkplayer(iOS版)使用教程

    ijkplayer 是一款做视频直播的框架, 基于ffmpeg, 支持 Android 和 iOS,并且支持https,用途比较广泛

    环境配置

    `install homebrew, git, yasm
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew install git
    brew install yasm`
    
    • If you prefer more codec/format(这一步我没有配置的时候,底包编译失败了)
      `cd config
      rm module.sh
      ln -s module-default.sh module.sh
      cd android/contrib

      cd ios

      sh compile-ffmpeg.sh clean`

    编译ijkplayer

    • 使用git克隆项目到本地

      git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-ios cd ijkplayer-ios git checkout -B latest k0.6.3

    • 初始化基础包

      ./init-ios.sh ./init-ios-openssl.sh ./init-config.sh

    • 编译基础包

      cd ios ./compile-ffmpeg.sh clean ./compile-openssl.sh clean ./compile-openssl.sh all ./compile-ffmpeg.sh all

  • 相关阅读:
    几种常见的软件架构
    路由事件
    PathAnimation
    String、Brush、Color 相互转换
    Sql 使用备份还是使用脚本
    WPF 路由事件
    WPF之复杂形状控件
    WPF之鼠标滑动切换图片
    WPF之基于路径的动画
    WPF之自定义控件
  • 原文地址:https://www.cnblogs.com/ios4kerwin/p/5983686.html
Copyright © 2011-2022 走看看