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 띄워 확인


  1. RedirectMatch (도메인포워딩)

    Date2009.01.23 ByADMINPLAY Views15435
    Read More
  2. mod_gzip, mod_deflate

    Date2010.07.29 ByADMINPLAY Views19117
    Read More
  3. mod_deflate 설정

    Date2011.03.18 ByADMINPLAY Views21236
    Read More
  4. make[2]: *** [htpasswd] 오류 1 , make[1]: *** [all-rec...

    Date2009.08.07 ByADMINPLAY Views27119
    Read More
  5. KeepAlive 설정 및 정의

    Date2012.01.16 ByADMINPLAY Views19891
    Read More
  6. httpd.conf 파일에 대한 설명 / 번역

    Date2008.10.08 ByADMINPLAY Views14196
    Read More
  7. h264 스트리밍 서버 구축(리눅스,아파치) (실시간 아님, ...

    Date2012.08.13 ByADMINPLAY Views17176
    Read More
  8. expires설정으로 브라우저캐시

    Date2009.04.18 ByADMINPLAY Views14662
    Read More
  9. CGI 퍼미션 으로 웹페이지 열리지 않음

    Date2009.01.12 ByADMINPLAY Views14674
    Read More
  10. CGI 오류: Premature end of script headers (Internal Se...

    Date2008.12.14 ByADMINPLAY Views14127
    Read More
  11. CentOS 5.X 에 MRTG설치 할때 한글 문제

    Date2014.06.06 ByADMINPLAY Views6881
    Read More
  12. AWSTATS 설치

    Date2008.12.25 ByADMINPLAY Views23807
    Read More
  13. AWSTATS 국가별 사용자 분석

    Date2008.12.25 ByADMINPLAY Views14463
    Read More
  14. APM설치 후 80포트가 연결이 안되요....ㅜㅜ

    Date2013.02.14 Bykimbongsoo Views9803
    Read More
  15. APM 기본설치후 아파치 실행에러 httpd: Could not determ...

    Date2009.08.08 ByADMINPLAY Views21875
    Read More
  16. APM + Snort + ADODB + BASE + oinkmaster 설치

    Date2010.05.29 Byl2zeo Views20816
    Read More
  17. Apache의 Indexes된 페이지에서 한글표시

    Date2009.05.07 ByADMINPLAY Views16291
    Read More
  18. apache가 worker 모드인지 prefork 모드로 동작하는지 확인

    Date2013.01.21 Byl2zeo Views17469
    Read More
  19. Apache: client denied by server configuration

    Date2010.10.25 ByADMINPLAY Views21665
    Read More
  20. apache2 worker 방식 client 수치 설정법

    Date2009.11.26 ByADMINPLAY Views16069
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234