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. expires설정으로 브라우저캐시

    Date2009.04.18 ByADMINPLAY Views14662
    Read More
  2. h264 스트리밍 서버 구축(리눅스,아파치) (실시간 아님, ...

    Date2012.08.13 ByADMINPLAY Views17176
    Read More
  3. httpd.conf 파일에 대한 설명 / 번역

    Date2008.10.08 ByADMINPLAY Views14196
    Read More
  4. KeepAlive 설정 및 정의

    Date2012.01.16 ByADMINPLAY Views19891
    Read More
  5. make[2]: *** [htpasswd] 오류 1 , make[1]: *** [all-rec...

    Date2009.08.07 ByADMINPLAY Views27118
    Read More
  6. mod_deflate 설정

    Date2011.03.18 ByADMINPLAY Views21236
    Read More
  7. mod_gzip, mod_deflate

    Date2010.07.29 ByADMINPLAY Views19117
    Read More
  8. RedirectMatch (도메인포워딩)

    Date2009.01.23 ByADMINPLAY Views15435
    Read More
  9. rewrite 모듈을 이욜한 서브도메인으로 홈페이지 운영하기

    Date2009.11.26 ByADMINPLAY Views14217
    Read More
  10. SetEnvIf 지시어 설명 (mod_setenvif)

    Date2014.01.18 ByADMINPLAY Views7387
    Read More
  11. squid 로 웹서버 가속하기..---== 강추 ==---

    Date2009.11.26 ByADMINPLAY Views18254
    Read More
  12. SSL 인증서 발급 후 SSL mode 시작시 두 개의 패스워드 입...

    Date2009.10.15 ByADMINPLAY Views14176
    Read More
  13. Tomcat 4 과 Apache 2 연동

    Date2009.06.06 ByADMINPLAY Views14617
    Read More
  14. tomcat 에서 OutOfMemory에러가 발생할때

    Date2013.09.09 ByADMINPLAY Views8769
    Read More
  15. Unclean shutdown of previous Apache run?

    Date2009.08.05 ByADMINPLAY Views21795
    Read More
  16. WAS 란? WAS 뭐에요?

    Date2014.01.19 ByADMINPLAY Views10965
    Read More
  17. xcache 설치 (xcache-1.2.2.tar.gz)

    Date2009.03.17 ByADMINPLAY Views18362
    Read More
  18. [Apache] 2.4 버전에서 403 에러시 [authz_core:error AH0...

    Date2015.01.09 ByADMINPLAY Views7284
    Read More
  19. [Apache] MPM(Prefork VS Worker)

    Date2012.01.16 ByADMINPLAY Views19639
    Read More
  20. [LINUX] Apache 2.2 + mod jk 1.2 + Tomcat 5.x 연동

    Date2009.05.07 ByADMINPLAY Views21037
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234