Skip to content

아파치를 소스컴파일해서 설치했다는 가정하에...

 

wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz

./configure --with-apxs=/usr/local/apache/bin/apxs

 

make

make install

 

httpd.conf 맨 밑줄에 추가

 

AddHandler h264-streaming.extensions .mp4
LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so

 

 

### 플레이어로 확인 하기 ###

1. jwplayer 다운받기

http://www.longtailvideo.com/players/jw-flv-player/

이메일 주소 넣으면 다운로드 됨

 

2. 해당 jwplayer 파일 웹서버에 올리기 및 재생할 동영상 파일 서버에 올리기

 

3. jwplayer 소스 작성 (예를들어 http://abc.xxxx.co.kr/broad.html 이런식으로 웹페이지 파일 작성)

 
 

<script type="text/javascript" src="jwplayer.js"></script>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
 jwplayer("container").setup({
  flashplayer: "player.swf",
  file: "flv_21.flv",
  height: 270,
  width: 480,
  provider : 'http',
  controlbar : 'over' 
 });
</script>

 

4. 브라우저에서 http://abc.xxxx.co.kr/broad.html 띄워 확인


List of Articles
번호 제목 글쓴이 날짜 조회 수
88 (간단한 팁) 우분투에 Apache2 설치하기 ( apt-get ) 로키 2012.04.01 17774
87 *** glibc detected *** double free or corruption (!pre... ADMINPLAY 2010.05.03 26910
86 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류 ADMINPLAY 2008.10.07 15630
85 Address already in use: make_sock:could not bind to ad... ADMINPLAY 2009.01.10 23969
84 apache + oracle (오라클 DB 한글깨짐) ADMINPLAY 2010.02.24 19733
83 Apache - 도메인 포워딩 ADMINPLAY 2010.08.26 18957
82 Apache 1.3.12 httpd.conf 파일 한글설명 ADMINPLAY 2009.03.04 13516
81 apache 2.0.x , 2.2.x 버전대 max client 값 수정시 ADMINPLAY 2008.10.08 14979
80 Apache 2.2.17 (mod_url 하고 mod_rewrite 충돌) file ADMINPLAY 2011.08.18 20546
79 Apache 2.2.21 패치 (mod_proxy_ajp 패치와 apache killer... ADMINPLAY 2012.01.16 19802
78 apache cronolog를 이용한 Apache Log File 날짜 별로 생... ADMINPLAY 2012.01.16 23672
77 Apache expires 설정으로 브라우저 캐시 l2zeo 2013.03.18 12071
76 apache log 정리 ADMINPLAY 2008.12.14 13683
75 apache log에 그림이미지 파일 로그 안남기기 ADMINPLAY 2009.11.26 14776
74 Apache Make시 /usr/lib/libexpat.so: could not read sym... ADMINPLAY 2009.08.07 18072
73 Apache mod_deflate ADMINPLAY 2012.01.16 23559
72 apache server 2.2, Tomcat5.5 로드밸런싱 및 클러스터 ADMINPLAY 2009.12.10 19290
71 Apache Worker 방식의 이해 및 설정법 ADMINPLAY 2012.01.16 17105
70 Apache 로그레벨의 종류 ADMINPLAY 2012.01.16 21021
69 Apache 버전확인 ADMINPLAY 2008.12.23 15572
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234