PXA 255 CPU를 사용한 임베디드 리눅스 휴대용 동영상 플레이어기 제작
본 자료는 2페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
해당 자료는 2페이지 까지만 미리보기를 제공합니다.
2페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

PXA 255 CPU를 사용한 임베디드 리눅스 휴대용 동영상 플레이어기 제작에 대한 보고서 자료입니다.

목차

Mplyaer 포팅 과정
1. Termcap 포팅
설치과정
컴파일
2. libmad 포팅
설치과정
컴파일

MPlayer 포팅

본문내용

s/ad_libmad.c
23번 라인 수정
#include
#include "/usr/local/arm/libmad/include/mad.h"로 수정한다.
컴파일한다.
#make
#ls -l mplayer
-rwxr-xr-x 1 root root 10425412 Feb 23 16:37 mplayer
mplayer 실행 파일이 생긴 것을 알수있다.
#file mplayer
mplayer: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.19, statically linked, not stripped
make install을 하면 strip 관련 에러가 난다. make과정 까지만 실행한다.
#armv5l-linux-strip mplayer
-rwxr-xr-x 1 root root 5362716 Feb 23 16:43 mplayer
파일 용량을 반정도 줄일 수 있다.
에러 메시지
다음은 make관련 에러 메시지를 정리해 보았다.
에러 - codec-cfg.c:500: for each function it appears in.)
codec-cfg.c:501: `builtin_audio_codecs' undeclared (first use in this function)
make: *** [codec-cfg.o] Error 1
해결 - Makefile에서 codec-cfg관련 부분을 수정해야한다.
에러 - /usr/lib/libtermcap.a(termcap.o)(.text+0x25): R_ARM_PC24 relocation against SEC_MERGE section
collect2: ld returned 1 exit status
make: *** [mplayer] 오류 1
해결 - Arm용 termcap 관련 라이브러리를 설치한다.
에러 - ad_libmad.c:41: confused by earlier errors, bailing out
make[1]: *** [ad_libmad.o] Error 1
make[1]: Leaving directory `/root/download/MPlayer-1.0pre7/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
해결 - libmpcodecs/ad_libmad.c 파일에서 헤드파일 경로을 수정해야 한다.
에러 - /usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/bin/ld: cannot find -lmad
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
해결 - config.mak파일에서 mad 라이브러리 경로를 수정해야 한다.
실행하기
./mplayer 010jin.avi(재생할 파일명)
문제점
asf, wmv가 재생이 안된다.
참고
falinux.com의 termcap강좌, kelp mplayer 관련 글
  • 가격2,000
  • 페이지수7페이지
  • 등록일2007.03.04
  • 저작시기2006.9
  • 파일형식한글(hwp)
  • 자료번호#391276
본 자료는 최근 2주간 다운받은 회원이 없습니다.
  • 편집
  • 내용
  • 가격
청소해
다운로드 장바구니