2014.09.17 11:28

mp4 type 추가

조회 수 9391 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

nginx_rtmp_1512_113.rar


RTMP모듈을 컴파일한 최신버전이다. 여기에 conf/myme.types 를 보면 mp4에 대한 부분이 없다.

일단 위rar에 들어있는 것을 첨부.

mime.types


내용을 보면 아래와 같다.



types {

    text/html                             html htm shtml;

    text/css                              css;

    text/xml                              xml;

    image/gif                             gif;

    image/jpeg                            jpeg jpg;

    application/x-javascript              js;

    application/atom+xml                  atom;

    application/rss+xml                   rss;


    text/mathml                           mml;

    text/plain                            txt;

    text/vnd.sun.j2me.app-descriptor      jad;

    text/vnd.wap.wml                      wml;

    text/x-component                      htc;


    image/png                             png;

    image/tiff                            tif tiff;

    image/vnd.wap.wbmp                    wbmp;

    image/x-icon                          ico;

    image/x-jng                           jng;

    image/x-ms-bmp                        bmp;

    image/svg+xml                         svg svgz;

    image/webp                            webp;


    application/java-archive              jar war ear;

    application/mac-binhex40              hqx;

    application/msword                    doc;

    application/pdf                       pdf;

    application/postscript                ps eps ai;

    application/rtf                       rtf;

    application/vnd.ms-excel              xls;

    application/vnd.ms-powerpoint         ppt;

    application/vnd.wap.wmlc              wmlc;

    application/vnd.google-earth.kml+xml  kml;

    application/vnd.google-earth.kmz      kmz;

    application/x-7z-compressed           7z;

    application/x-cocoa                   cco;

    application/x-java-archive-diff       jardiff;

    application/x-java-jnlp-file          jnlp;

    application/x-makeself                run;

    application/x-perl                    pl pm;

    application/x-pilot                   prc pdb;

    application/x-rar-compressed          rar;

    application/x-redhat-package-manager  rpm;

    application/x-sea                     sea;

    application/x-shockwave-flash         swf;

    application/x-stuffit                 sit;

    application/x-tcl                     tcl tk;

    application/x-x509-ca-cert            der pem crt;

    application/x-xpinstall               xpi;

    application/xhtml+xml                 xhtml;

    application/zip                       zip;


    application/octet-stream              bin exe dll;

    application/octet-stream              deb;

    application/octet-stream              dmg;

    application/octet-stream              eot;

    application/octet-stream              iso img;

    application/octet-stream              msi msp msm;


    audio/midi                            mid midi kar;

    audio/mpeg                            mp3;

    audio/ogg                             ogg;

    audio/x-m4a                           m4a;

    audio/x-realaudio                     ra;


    video/3gpp                            3gpp 3gp;

    video/mp4                             mp4;

    video/mpeg                            mpeg mpg;

    video/quicktime                       mov;

    video/webm                            webm;

    video/x-flv                           flv;

    video/x-m4v                           m4v;

    video/x-mng                           mng;

    video/x-ms-asf                        asx asf;

    video/x-ms-wmv                        wmv;

    video/x-msvideo                       avi;

}


위 빨간부분이 토토루님의 버전 NGXMP에는 없다. 왜 없는지,,,

하여튼 외국님께서 RTMP버전으로 배포하는 것에는 들어있으니 아예 파일을 위것으로 사용해도 된다.

이렇게 하면 mp4파일을 바로 다운도 되고 재생도 된다. conf에 어떻게 주느냐에 따라..
conf에 옵션을 주게 되면 
예를 들어 http://도메인/mp4파일명 이렇게 웹에서 접근하면 
바로 브라우저에서 video플레이어로 재생이 된다. 따라서  스트리밍 player에서도 원할히 플레이가 된다.


  1. 토토루 nginx 1.15 dev

    Date2019.05.21 By행복아이 Views660
    Read More
  2. nginx ngxmp 설정

    Date2017.10.10 By행복아이 Views861
    Read More
  3. nginx RTMP GitHub

    Date2016.08.23 By행복아이 Views2235
    Read More
  4. WTServer Nginx PHP MariaDB

    Date2016.08.22 By행복아이 Views607
    Read More
  5. XE 닉네임변경 mysql

    Date2015.10.29 By행복아이 Views6936
    Read More
  6. 윈도우에서 Nginx 운영시에 멈추는 증상은 Fast cgi refresh로 해결하자.

    Date2015.10.01 By행복아이 Views982
    Read More
  7. ngxmp 18.0

    Date2015.03.24 By행복아이 Views2172
    Read More
  8. nginx 지속적 중단 문제 hang

    Date2015.03.24 By행복아이 Views1237
    Read More
  9. mariaDB DB기본 명령 기록해둠. mysql

    Date2015.03.13 By행복아이 Views874
    Read More
  10. RTMP HLS 트랜스코딩으로 실시간 스트리밍 모바일

    Date2014.10.16 By행복아이 Views5794
    Read More
  11. hls m3u8스트리밍을 위한 mime types 추가

    Date2014.10.16 By행복아이 Views689
    Read More
  12. RTMP 라이브

    Date2014.10.07 By행복아이 Views3156
    Read More
  13. NGXMP 17 RTMP

    Date2014.09.17 By행복아이 Views1843
    Read More
  14. NGXMP 17

    Date2014.09.17 By행복아이 Views856
    Read More
  15. mp4 type 추가

    Date2014.09.17 By행복아이 Views9391
    Read More
  16. Nginx 서버 관련 정보

    Date2014.09.05 By행복아이 Views558
    Read More
Board Pagination Prev 1 Next
/ 1