2014.09.17 11:28

mp4 type 추가

조회 수 9385 추천 수 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. No Image 21May
    by 행복아이
    2019/05/21 by 행복아이
    Views 644 

    토토루 nginx 1.15 dev

  2. No Image 10Oct
    by 행복아이
    2017/10/10 by 행복아이
    Views 800 

    nginx ngxmp 설정

  3. No Image 23Aug
    by 행복아이
    2016/08/23 by 행복아이
    Views 2219 

    nginx RTMP GitHub

  4. No Image 22Aug
    by 행복아이
    2016/08/22 by 행복아이
    Views 591 

    WTServer Nginx PHP MariaDB

  5. No Image 29Oct
    by 행복아이
    2015/10/29 by 행복아이
    Views 6910 

    XE 닉네임변경 mysql

  6. 윈도우에서 Nginx 운영시에 멈추는 증상은 Fast cgi refresh로 해결하자.

  7. No Image 24Mar
    by 행복아이
    2015/03/24 by 행복아이
    Views 2172 

    ngxmp 18.0

  8. No Image 24Mar
    by 행복아이
    2015/03/24 by 행복아이
    Views 1237 

    nginx 지속적 중단 문제 hang

  9. No Image 13Mar
    by 행복아이
    2015/03/13 by 행복아이
    Views 874 

    mariaDB DB기본 명령 기록해둠. mysql

  10. RTMP HLS 트랜스코딩으로 실시간 스트리밍 모바일

  11. No Image 16Oct
    by 행복아이
    2014/10/16 by 행복아이
    Views 685 

    hls m3u8스트리밍을 위한 mime types 추가

  12. No Image 07Oct
    by 행복아이
    2014/10/07 by 행복아이
    Views 3156 

    RTMP 라이브

  13. No Image 17Sep
    by 행복아이
    2014/09/17 by 행복아이
    Views 1843 

    NGXMP 17 RTMP

  14. No Image 17Sep
    by 행복아이
    2014/09/17 by 행복아이
    Views 856 

    NGXMP 17

  15. No Image 17Sep
    by 행복아이
    2014/09/17 by 행복아이
    Views 9385 

    mp4 type 추가

  16. No Image 05Sep
    by 행복아이
    2014/09/05 by 행복아이
    Views 558 

    Nginx 서버 관련 정보

Board Pagination Prev 1 Next
/ 1