Latest Post
ARM926EJ-S S3C2450 Mango24R2 mplayer Porting Guide

1. Mango2450 mplay 포팅 가이드(buildroot)



$ make meuconfig


Package Selection for the target  --->

Audio and video libraries and applications  --->

[*] mplayer                                                                          x x

 x x              [*]   Build and install mplayer (NEW)                                                x x

x x              [ ]   Build and install mencoder


선택합니다.


# make


“rootfs.tar” 파일을 복사를 합니다.

$ cp rootfs.tar ../../../../images/rootfs_mplay.tar

$ mkdir rootfs_mplay

$ cd rootfs_mplay/



$ find -name mplay*

./usr/bin/mplayer




Rootfs 만들기


SD/MMC card를 Linux pc에 삽입합니다.


$df

“rootfs_mplay.tar” 파일이 있는 곳으로 이동

$ sudo tar xvf ootfs_mplay.tar –C /media/gnome

$sync

$ umount /media/gnome


부팅 모드 SD로 변경 후

3번 ON 나머지 off

u-boot에서 설정을 하시고 부팅 하면 됩니다.

setenv bootcmd "movi read kernel c0008000;bootm c0008000"

setenv bootargs ‘noinitrd console=ttySAC1,115200 rw root=/dev/mmcblk0p2 rootfstype=ext3 rootwait’




“mplay” 사용법

# mplayer

Creating config file: /root/.mplayer/config

MPlayer UNKNOWN-4.5.2 (C) 2000-2010 MPlayer Team

Usage:   mplayer [options] [url|path/]filename


Basic options: (complete list in the man page)

-vo        select video output driver ('-vo help' for a list)

-ao        select audio output driver ('-ao help' for a list)

vcd://  play (S)VCD (Super Video CD) track (raw device, no mount)

dvd://  play DVD title from device instead of plain file

-alang/-slang    select DVD audio/subtitle language (by 2-char country code)

-ss   seek to given (seconds or hh:mm:ss) position

-nosound         do not play sound

-fs              fullscreen playback (or -vm, -zoom, details in the man page)

-x -y    set display resolution (for use with -vm or -zoom)

-sub      specify subtitle file to use (also see -subfps, -subdelay)

-playlist specify playlist file

-vid x -aid y    select video (x) and audio (y) stream to play

-fps x -srate y  change video (x fps) and audio (y Hz) rate

-pp    enable postprocessing filter (details in the man page)

-framedrop       enable frame dropping (for slow machines)


Basic keys: (complete list in the man page, also check input.conf)

<-  or  ->       seek backward/forward 10 seconds

down or up       seek backward/forward  1 minute

pgdown or pgup   seek backward/forward 10 minutes

< or >           step backward/forward in playlist

p or SPACE       pause movie (press any key to continue)

q or ESC         stop playing and quit program

+ or -           adjust audio delay by +/- 0.1 second

o                cycle OSD mode:  none / seekbar / seekbar + timer

* or /           increase or decrease PCM volume

x or z           adjust subtitle delay by +/- 0.1 second

r or t           adjust subtitle position up/down, also see -vf expand


* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *




영상을 sdcard에 넣어서 테스트 하시면 됩니다.


# cp 1.avi /media/gnome/root/

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
keun  |  ★★★★★
Mango-M32F4-R10 회로도+샘플소스 부탁 합니다. 20년 12월 경에 구입 하고 이제 공부 좀 할려고 합니다. kkp1201@naver.com 입니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
CR-U2S4 v1.2를 최근에 구매했습니다. inux에서는 바로 인식하여 사용하고 있는데 Windows 11 에서는 인식하지 못합니다. Windows 11 용 드라이버 부탁드립니다. hanacsb@daum.net 으로 부탁드립니다. 감사합니다