讲讲编译的步骤:
1. 安装cygwin
必须是1.7或者更新的版本
安装cygwin的时候,选择安装gcc和make,目的是为了提供编译环境,
make的版本至少是3.81
2.安装ndk
by landuochong - 移动操作系统 - 2011-12-22 08:51:06 阅读(1251) 回复(0)
android内置的编解码器实在太少,于是我们需要ffmpeg。android提供了NDK,为我们使用ffmpeg这种C语言代码提供了方便。
不过为了用NDK编译ffmpeg,还真的花费了不少时间,也得到了很多人的帮助,最应该谢谢ffmpeg" target="_blank" target="_blank">havlenapetr。我觉得我现在这些方法算是比较简洁的了--
下面就尽量詳細的说一下我是怎么在项目中使用ffmpeg的,但是基...
cygwin下ffmpeg移植到android平台报错。 输入./config.sh,正常,输入ndk-build报错: $ ndk-build Compile thumb : avformat <= a64.c E:\cygwin\tmp\cc2duMxu.s: Assembler messages: E:\cygwin\tmp\cc2duMxu.s:107: Error: bad instruction `bswap r3' E:\cygwin\tmp\cc2duMxu.s:161: Error: bad instruction `bswap r3' E:\cygwin\tmp\cc2duMxu.s:276: Error: bad instruction `bswap r4' E:\cygwin\tmp\cc2duMxu.s:296: Erro...
最近搞的视频监控项目,需要在android移动端做视频显示。用的是android ndk的开发方式, 利用ffmpeg作为解码库。640*480 分辨率下, 10帧每秒尚可正常播放, 但是15fps就比较吃力了,20fps就几乎不能看了。通过打日志的方式发现: 每显示一帧需要133毫秒,解码的时间占据了64毫秒,很显然, 解码已经成为了最大的瓶颈。 我们在网上搜了一圈之后,发现用arm扩展的neon指令集可以很大的优化ffmpeg的解码功能。但是在编译ffmpe...
准备用ffmpeg替代android 2.3的stagefright多媒体播放器
ffmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. ffmpeg is developed under Linux, but it can compiled under most operating systems, including Windows. In ubuntu This package contains the ffplay multimedia player, the ffserver streaming server and the ffmpeg audio and video encoder. They support most existin...
ffmpeg介绍
ffmpeg是一个集录制、转换、音/视频编码解码功能为一体的完整的开源解决方案。ffmpeg的开发是基于Linux操作系统,但是可以在大多数操作系统中编译和使用。ffmpeg支持MPEG、DivX、MPEG4、AC3、DV、FLV等40多种编码,AVI、MPEG、OGG、Matroska、ASF等90多种解码。
"ffmpeg"这个单词中的 "FF" 指的是 "Fast Forward",它的官方网站是
http://ffmpeg.org/
,中文技术网站是
http://www.ffmpeg.com.cn
。TCPMP, VLC, MPla...
ffmpeg Documentation
Table of Contents
1. Introduction
2. Quick Start
2.1 Video and Audio grabbing
2.2 X11 grabbing
2.3 Video and Audio file format conversion
3. Invocation
3.1 Syntax
3.2 Main options
3.3 Video Options
3.4 Advanced Video Options
3.5 Audio Options
3.6 Advanced Audio options:
3.7 Subtitle options:
3.8 Audio/Video grab options
3.9 Advanced options
3.10 Preset files
...
ffmpeg安装
我安装的时候参考了如下:
----------------------------------------------------------------------------------
Rebuilding Ubuntu's ffmpeg Package
Essentially, we're going to download the ffmpeg source packages for Hardy, install some extra codecs and libraries, and then compile new packages from the sources. We need to do this to enable certain proprietary codecs, which Ubuntu cannot ...