Mplayer & Mencoder - Compilation in MacOSX

2008.11.27 20:03

sukhyun 조회 수:25722

나를 위한 MacOSX 10.5.x 에서 mplayer의 compile 순서
freetype이 설치되어 있지 않으면 폰트 파일인 *.ttf, *.ttc 파일을 읽을 수 없다. 저것 때문에 한참을 해맸다는...

1. mp3lame ( http://lame.sourceforge.net/ )
cvs -z3 -d:pserver:anonymous@lame.cvs.sourceforge.net:/cvsroot/lame co -P lame
가장 범용적인 mp3 인코더

2. Xvid ( http://www.xvid.org/ )
cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore
Xvid 코덱

3. x264 ( http://developers.videolan.org/x264.html )
x264 코덱

4. freetype ( http://freetype.sourceforge.net/index2.html )
OSD 및 자막 처리를 위한 freetype ( *.ttf, *.ttc 파일을 읽기 위해 반드시 필요, 없으면 자막 지원 안됨 )

5. mplayer


첨부파일 내용은 다음 환경에서 다음과 같은 명령으로 추출된 것임

MEncoder dev-SVN-r27979-4.0.1 (C) 2000-2008 MPlayer Team
AltiVec found
CPU: PowerPC

"man mencoder | col -b > man_mencoder.txt"









-of lavf -lavfopts format=mp4


mencoder -oac pcm -ovc x264 -x264encopts threads=auto:subq=6:partitions=all:8x8dct:me=umh:f rameref=5:bframes=3:b_pyramid:weight_b


<pass1>
$mencoder rip.vob -vf pullup,softskip,crop=720:352:0:62 -nosound -ovc x264
-x264encopts bitrate=1000:subq=4:bframes=3:b_pyramid:weight_b:turbo=1:pass=1
-ofps 24000/1001 -of rawvideo -o video.264

<pass2>
$mencoder rip.vob -vf pullup,softskip,crop=720:352:0:62 -nosound -ovc x264
-x264encopts
bitrate=1000:subq=6:frameref=6:4x4mv:8x8dct:me=3:bframes=3:b_pyramid:weight_b:pass=2
-ofps 24000/1001 -of rawvideo -o video.264

<put video in mp4 format, mkvmerge doesn't accept raw x264 nor x264 in an avi
file (properly)>
$MP4Box -fps 23.976025 -add video.264 video.mp4

<dump audio to wav>
$mplayer rip.vob -vo null -ao pcm:file="audio.wav"

<encode wav to ogg>
$oggenc -q8 audio.wav

<stick together in matroska file>
$mkvmerge -o rip.mkv audio.ogg video.mp4


 -vf expand=:-100::2

svn checkout http://svn.matroska.org/svn/matroska/trunk/


Whats the best deinterlacing filter?
-vf yadif with mcedeint is reccomended by mplayer and ffmpeg devels.
see comparison at http://guru.multimedia.cx/deinterlacing-filters/


[psp]
profile-desc="PSP AVC encoding profile."
vf=hqdn3d,scale=368:208
af=lavcresample=48000
ofps=30000/1001
ovc=lavc=1
oac=lavc=1
lavcopts=aglobal=1:vglobal=1:vcodec=h264:acodec=aac:vbitrate=320:abitrate=97:coder=1
of=lavf=1
lavfopts=format=psp:i_certify_that_my_video_stream_does_not_use_b_frames=1


mplayer -vo null -ao null -frames 0 -identify [video_filename]

번호 제목 글쓴이 날짜 조회 수
57 rar [823] Shadow 2009.04.29 145304
56 wget [364] Shadow 2009.04.29 81285
55 rox-filer [555] file Shadow 2009.04.14 51463
54 enblend-enfuse-3.2 on MacOSX [216] file Shadow 2009.03.19 52077
53 [펌] PureFtpd - Mysql-auth per user connection limit feature [6633] Shadow 2009.02.25 136872
52 맥이 아닌 machine에서 맥에 SSH 접속시 한글 표시법 [9665] Shadow 2009.02.10 231109
51 제로보드XE 소스코드 수정 부분 [8688] secret Shadow 2009.01.15 0
50 MacOSX System Configurations - MyConf! Shadow 2009.01.04 35925
49 remote X11forwarding from OSX to Windows [6277] Shadow 2009.01.03 151122
48 MacOSX에 ufraw를 설치하자~ [1] [886] file Shadow 2009.01.03 635902
47 XQuartz [5570] Shadow 2009.01.03 127841
46 [펌] CFGetHostUUIDString: unable to determine UUID for host. Error: 35 [5772] Shadow 2009.01.03 121219
45 com.apple.boot.plist & bootloader [6505] Shadow 2009.01.03 121375
44 samba over ssh [9704] secret Shadow 2008.12.30 0
43 lukemftpd 질문에 대한 내 답변 [1] Shadow 2008.12.24 30235
» Mplayer & Mencoder - Compilation in MacOSX file sukhyun 2008.11.27 25722
41 Media Transcoding (Encoding) : mencoder & codecs [1] sukhyun 2008.11.26 26328
40 [작성중] 홈서버 구성 가이드 - 5. FTP를 이용한 파일서버 - LukemFTPd / PureFTPd [1] file sukhyun 2008.11.19 24799
39 [작성중] 홈서버 구성 가이드 - 2. 네트워크 구성과 공유기 설정 file sukhyun 2008.11.15 31260
38 [작성중] 홈 서버 구성 가이드 - 1. 홈서버 시스템의 선택 [4] sukhyun 2008.11.14 29198

사용자 로그인