Installing Xvid
Xvid is a free software MPEG-4 ASP compliant video codec, which features two pass encoding and full MPEG-4 ASP support, making it a lot more efficient than the well-known DivX codec. It yields very good video quality and good performance due to CPU optimizations for most modern processors.
It began as a forked development of the OpenDivX codec. This happened when ProjectMayo changed OpenDivX to closed source DivX4, and the non-ProjectMayo people working on OpenDivX got angry, then started Xvid. So both projects have the same origin.
Note that Xvid is not necessary to decode Xvid-encoded video. libavcodec
is used by default as it offers better speed.
Like most open source software, it is available in two flavors: official releases and the CVS version. The CVS version is usually stable enough to use, as most of the time it features fixes for bugs that exist in releases. Here is what to do to make Xvid
CVS work with MEncoder (you need at least autoconf 2.50, automake and libtool):
-
cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login
-
cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore
-
cd xvidcore/build/generic
-
./bootstrap.sh
-
CC=arm-none-linux-gnueabi-gcc ./configure --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi --prefix=/opt/mx27-lib/
-
make && make install
Installing x264
x264
is a library for creating H.264 video streams. It is not 100% complete, but currently it has at least some kind of support for most of the H.264 features which impact quality. There are also many advanced features in the H.264 specification which have nothing to do with video quality per se; many of these are not yet implemented in
x264
.
Encoder features
-
CAVLC/CABAC
-
Multi-references
-
Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions)
-
Inter P: all partitions (from 16x16 down to 4x4)
-
Inter B: partitions from 16x16 down to 8x8 (including SKIP/DIRECT)
-
Ratecontrol: constant quantizer, constant bitrate, single or multipass ABR, optional VBV
-
Scene cut detection
-
Adaptive B-frame placement
-
B-frames as references / arbitrary frame order
-
8x8 and 4x4 adaptive spatial transform
-
Lossless mode
-
Custom quantization matrices
-
Parallel encoding of multiple slices
-
Interlacing
-
svn co svn://svn.videolan.org/x264/trunk x264
-
cd x264
-
CC=arm-none-linux-gnueabi-gcc ./configure --enable-shared --host=arm-none-linux-gnueabi --enable-pthread --prefix=/opt/mx27-lib
- make && make install
Installing mplayer
-
svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
-
cd mplayer
-
./configure --host-cc=gcc \
--enable-static \
--enable-cross-compile \
--host-cc=gcc \
--cc=arm-none-linux-gnueabi-gcc \
--as=arm-none-linux-gnueabi-as \
--ar=arm-none-linux-gnueabi-ar \
--ranlib=arm-none-linux-gnueabi-ranlib \
--target=arm-armv5te-linux \
--enable-armv5te \
--prefix=/opt/mx27-lib/ \
--codecsdir=/opt/mx27-lib/ \
--enable-fbdev \
--disable-mencoder \
--disable-dvdnav \
--disable-dvdread-internal \
--disable-libdvdcss-internal \
--disable-cddb \
--disable-inet6 \
--disable-ftp \
--disable-live \
--disable-unrarexec \
--disable-live \
--enable-v4l2 \
--enable-x264 \
--enable-xvid \
--extra-libs="-lx264 -lxvidcore" \
--with-extraincdir=/opt/mx27-lib/include:/opt/freescale/ltib/rootfs/usr/include \
--with-extralibdir=/opt/mx27-lib/lib:/opt/freescale/ltib/rootfs/usr/lib
- make && make install
分享到:
相关推荐
iperf3 static compile for arm-linux
windows 下编译DCMTK,官方教程
Arm Compiler for Embedded Reference Guide 6.18
cross compile for arm
Compile Opencore amr 0.1.3 on iOS7
How to compile Amalgamation for android
下载交叉编译工具 compile4.3.2.tar.gzaa 和 compile4.3.2.tar.gzab 放到linux上 同一目录下,使用解压命令: cat compile4.3.2.tar.gza* | tar xz 解压命令进行解压,生成完整的交叉编译工具。
including SBR fixpt/real/asm optimized assembly code files for certain platforms <br>To build an AAC decoder library, you'll need to compile the top-level files and EITHER real/*.c OR ipp/*...
Python-2.7.13-xcompile.patch
VC2005 X64 Compile 設定
ping源码 亲测~完美安全可靠,推荐使用 Arm ping command package can compile and transplant source code
Python-2.7.3-xcompile.patch Python2.7.3 交叉编译所需要的patch, 包含文件:Python-2.7.3-xcompile.patch
Compile to integrate with whatsap, receive and send direct msg in your application delphi fully full component. see the video below for you to see how the component works ...
编译ARM平台的 QtEmbedded 的MySQL插件和移植MySQL到ARM开发板
python-3.2.2-xcompile.patch,python-3.2.2-xcompile.patch其他版本内核也已经上传
经过查询大量的资料,我自己总结的 交叉编译 java虚拟机(jamvm 1.54)以及库(classpath 0.98) 到ARM9. 有详细的步骤,本文档目的是为了让同学们少走点弯路,做个存档,方便自己也方便别人。 象征性收 1 分。
Use Arduino IDE with libArduino to cross-compile for the ARM processors in the ARTIK modules Use C language to access the ARTIK hardware via a file based API Use Node.js & Python inside the ARTIK ...
Anderson shows you better ways to storyboard, instrument, build, and compile code, and helps you apply innovations ranging from Quick Look to Preview Assistant. By the time you’re finished, you’ll ...
Python-2.7.3-xcompile.patch Python2.7.3 交叉编译所需要的patch
Python-2.7.2-xcompile.patch补丁,其他版本补丁文件已上传