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
번호 제목 글쓴이 날짜 조회 수
28 apache server 2.2, Tomcat5.5 로드밸런싱 및 클러스터 ADMINPLAY 2009.12.10 19119
27 아파치 컴파일 에러(apr-util) configure: error: cannet ... ADMINPLAY 2009.08.08 19574
26 apache + oracle (오라클 DB 한글깨짐) ADMINPLAY 2010.02.24 19594
25 [Apache] MPM(Prefork VS Worker) ADMINPLAY 2012.01.16 19639
24 Apache 2.2.21 패치 (mod_proxy_ajp 패치와 apache killer... ADMINPLAY 2012.01.16 19641
23 KeepAlive 설정 및 정의 ADMINPLAY 2012.01.16 19891
22 트래픽분석툴(mod_throttle) 설치 및 설정 - apache1.3.x ... file ADMINPLAY 2010.05.03 20019
21 Apache 2.2.17 (mod_url 하고 mod_rewrite 충돌) file ADMINPLAY 2011.08.18 20396
20 리눅스 개인계정 로딩시 틸드(~)기호없이 그냥 사용 ADMINPLAY 2010.09.22 20684
19 APM + Snort + ADODB + BASE + oinkmaster 설치 l2zeo 2010.05.29 20816
18 Apache 로그레벨의 종류 ADMINPLAY 2012.01.16 20844
17 아파치에서 멀티도메인 설정 방법 1 l2zeo 2012.10.09 20974
16 [LINUX] Apache 2.2 + mod jk 1.2 + Tomcat 5.x 연동 ADMINPLAY 2009.05.07 21037
15 apache 외부링크 차단 ADMINPLAY 2010.08.31 21221
14 mod_deflate 설정 ADMINPLAY 2011.03.18 21236
13 Apache: client denied by server configuration ADMINPLAY 2010.10.25 21665
12 Unclean shutdown of previous Apache run? ADMINPLAY 2009.08.05 21795
11 APM 기본설치후 아파치 실행에러 httpd: Could not determ... ADMINPLAY 2009.08.08 21875
10 apache, tomcat 가상디렉토리 설정 file ADMINPLAY 2010.09.17 23003
9 Apache mod_deflate ADMINPLAY 2012.01.16 23387
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234