交叉编译mplayer
来源:互联网 发布:java中的关键字 编辑:程序博客网 时间:2024/05/18 00:12
板子helper2416 kernel 2.6 ~ 3.2 arm
针对1.0rc3 以上的到1.1好像都可以用以下方式交叉编译
./configure --disable-mencoder --disable-live --disable-mp3lib --disable-win32dll --disable-dvb --disable-dvdread --disable-dvdnav --disable-dvdread-internal --disable-tv --disable-ivtv \
--enable-fbdev \--disable-sdl \
--cc=arm-linux-gcc \
--host-cc=gcc \
--target=arm-linux \
--enable-cross-compile \
--enable-armv5te \
--extra-cflags="-I$LIB_PARENT_PATH/include" \
--extra-ldflags="-L$LIB_PARENT_PATH/lib"
LIB_PARENT_PATH 请自行设置成自己的交叉编译第三方库的路径(zlib jpeg == )
make
便可生成。
mplayer 1.0rc1 交叉编译会出错,
./configure --disable-mencoder --disable-live --disable-mp3lib --disable-win32 --disable-dvb --disable-dvdread --disable-dvdnav --disable-ivtv \
--enable-fbdev \
--disable-sdl \
--cc=arm-linux-gcc \
--host-cc=gcc \
--target=arm-linux \
--enable-cross-compile \
--enable-armv5te
spudec.c: In function 'spudec_draw_scaled':
/usr/include/bits/mathinline.h:534: error: impossible constraint in 'asm'
/usr/include/bits/mathinline.h:534: error: impossible constraint in 'asm'
编译config.mak
EXTRA_INC = -I/usr/include
把这个-I/usr/include 删除
make
mplayer 1.0rc1~rc3 在arm 下播放mpg格式视频
一直打印
[mp2 @ 0x745980]Header missing skipping one byte.
无法播放, rc4~1.1无此问题。
- 交叉编译mplayer
- mplayer交叉编译
- mplayer 交叉编译
- 交叉编译mplayer
- mplayer交叉编译
- mplayer交叉编译
- Mplayer交叉编译
- 交叉编译mplayer
- ffmpeg,live555,mplayer交叉编译
- MPlayer arm-linux交叉编译
- mplayer交叉编译configure选项设置
- mplayer 在 mingw 上的交叉编译
- libmad与mplayer的交叉编译过程
- XScale交叉编译环境搭建及MPlayer移植
- arm-926ejs 交叉编译 MPlayer-1.0rc2
- 编译Mplayer
- 如何编译MPlayer
- windows 中编译mplayer
- 单双精度浮点数的IEEE标准格式
- 世界上最难得九宫格???你敢挑战吗?
- linux signal
- seajs的spm使用摸索
- hadoop namenode启动过程详细剖析及瓶颈分析
- 交叉编译mplayer
- dr.close()的用途(必要性)—”已有打开的与此命令相关联的 DataReader,必须首先将它关闭。"
- DuplicateHandle
- money system
- 网络视频下载利器Free YouTube Downloader Plus
- Hibernate基本知识(三)
- hdu 1054 Strategic Game
- 10071 - Back to High School Physics
- GA的使用方法,及注意的地方