myhololens / AndroidFFmpeg

Android ffmpeg with x264

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AndroidFFmpeg

本项目的主要内容有: - Android平台移植/编译FFmpeg,x264 - 将ffmpeg可执行文件改造成库文件,通过JNI实现Java执行ffmpeg命令 - 实现了一个简单音视频混合程序,用于测试ffmpeg命令

项目具体介绍参见 Android 编译FFmpeg x264 Android Java调用ffmpeg命令

编译

  • 设置NDK环境变量
export NDK=YOUR_NDK_PATH
  • 执行项目中build_ffmpeg_with_x264.sh脚本
./build_ffmpeg_with_x264.sh
  • 把项目导入AndroidStudio,然后编译运行

运行结果

这里写图片描述

这里写图片描述

License

Copyright 2015 Taylor Guo lovenight@126.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Android ffmpeg with x264


Languages

Language:C 86.3%Language:Assembly 7.2%Language:Objective-C 4.4%Language:Makefile 1.1%Language:C++ 0.7%Language:Shell 0.1%Language:Perl 0.1%Language:Python 0.1%Language:Prolog 0.0%Language:Java 0.0%Language:CSS 0.0%Language:HTML 0.0%Language:Verilog 0.0%Language:Roff 0.0%