{"id":174089,"date":"2013-03-28T14:09:03","date_gmt":"2013-03-28T10:09:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=174089"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=174089","title":{"rendered":"<span class=\"post_title\">\u041e\u043d\u043b\u0430\u0439\u043d \u0432\u0435\u0449\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 Nginx-RTMP: \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0442\u043e\u043f\u0438\u043a &quot;<a href=\"http:\/\/habrahabr.ru\/post\/162237\/\">\u0421\u0435\u0440\u0432\u0435\u0440 \u043e\u043d\u043b\u0430\u0439\u043d-\u0432\u0435\u0449\u0430\u043d\u0438\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 nginx<\/a>&quot; \u043e\u0431 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435 \u0420\u043e\u043c\u0430\u043d\u0430 \u0410\u0440\u0443\u0442\u044e\u043d\u044f\u043d\u0430 \u0434\u043b\u044f nginx: <a href=\"https:\/\/github.com\/arut\/nginx-rtmp-module\">nginx-rtmp-module<\/a>. \u041c\u043e\u0434\u0443\u043b\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 nginx \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432\u0438\u0434\u0435\u043e\u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438 \u0436\u0438\u0432\u043e\u0433\u043e \u0432\u0435\u0449\u0430\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u0440\u043e \u0441\u0430\u043c \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0435\u0433\u043e <a href=\"http:\/\/arut.github.com\/nginx-rtmp-module\/\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043d\u0430 GitHub<\/a>, \u044f \u0436\u0435 \u0445\u043e\u0447\u0443 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0442\u043e\u043f\u0438\u043a \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u043e\u0432\u0438\u0447\u043a\u0430\u043c \u0432 \u0432\u0438\u0434\u0435\u043e\u0434\u0435\u043b\u0430\u0445 (\u0442\u0430\u043a\u0438\u043c \u043a\u0430\u043a \u044f).<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"http:\/\/ross.vc\/rtmptest\/\">\u0434\u0435\u043c\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u041a\u043e\u0440\u043e\u0442\u043a\u043e \u043e\u0431 RTMP<\/h2>\n<p>  RTMP (Real Time Messaging Protocol) \u2014 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432\u0435\u0449\u0430\u043d\u0438\u044f \u043e\u0442 Adobe. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f TCP (\u043f\u043e\u0440\u0442 1935). \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c RTMP \u0432 HTTP (RTMPT). \u041a\u043b\u0438\u0435\u043d\u0442 RTMP \u2014 \u044d\u0442\u043e \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c Adobe Flash Player. <br \/>  \u041a\u043e\u0434\u0435\u043a \u0432\u0438\u0434\u0435\u043e \u2014 H.264, \u043a\u043e\u0434\u0435\u043a \u0430\u0443\u0434\u0438\u043e AAC, nellymoser \u0438\u043b\u0438 MP3, \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b MP4 \u0438\u043b\u0438 FLV.<\/p>\n<h2>\u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u0437\u0430\u043f\u0438\u0441\u0438<\/h2>\n<p>  \u0418\u043d\u0430\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u0432\u0438\u0434\u0435\u043e \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 (VOD). \u041f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432 nginx.conf \u0432 \u0441\u0435\u043a\u0446\u0438\u044e rtmp { server {\u2026 }}.  <\/p>\n<pre><code class=\"bash\">application vod {      play \/var\/videos;   } <\/code><\/pre>\n<p>  <i>(\u041f\u0440\u0438\u043c.: \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0435\u043a\u0446\u0438\u044e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c vod)<\/i><br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0443 \/var\/videos \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432\u0438\u0434\u0435\u043e\u0444\u0430\u0439\u043b \u0438 \u00ab\u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c\u00bb \u043f\u043b\u0435\u0435\u0440\u0443 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 rtmp:\/\/server\/vod\/file.flv. \u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u043f\u043e\u043d\u044f\u043b, MP4 \u043d\u0430\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u043e\u0442\u043a\u0443 \u0432\u0438\u0434\u0435\u043e, \u0430 FLV \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p>  \u0412\u0441\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e \u0436\u0438\u0432\u0443\u044e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ffmpeg \u043f\u043e\u0434 Windows.<\/p>\n<h2>\u041e\u043d\u043b\u0430\u0439\u043d-\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f<\/h2>\n<p>  \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0442\u043e\u043a \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0432\u0441\u0435 \u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b RTMP \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438. \u0410 \u043d\u0430\u0448\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u0441\u043c\u043e\u0433\u0443\u0442 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u043a\u0446\u0438\u044e:<\/p>\n<pre><code class=\"bash\">application live {      allow publish 1.2.3.4;      allow publish 192.168.0.0\/24;      deny publish all;      allow play all;      live on;   } <\/code><\/pre>\n<p>  \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u0441\u0435\u043c, \u043a\u0440\u043e\u043c\u0435 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 IP, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435.<\/p>\n<p>  \u041d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u0435\u0449\u0430\u0442\u044c, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0434\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 DirectShow. \u041f\u0443\u0441\u043a \u2014 \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u2014 cmd, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 ffmpeg\/bin \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">ffmpeg -list_devices true -f dshow -i dummy<\/code><\/pre>\n<p>  <i>\u0415\u0441\u043b\u0438 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0435\u0441\u0442\u044c \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0431\u0443\u043a\u0432\u044b, \u0442\u043e \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f \u043a\u0440\u0430\u043a\u043e\u0437\u044f\u0431\u0440\u0430\u043c\u0438. \u0422\u0440\u0443\u042a \u0430\u0434\u043c\u0438\u043d\u044b \u0437\u0430\u044e\u0437\u0430\u044e\u0442 iconv, \u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u0430\u0440\u043d\u0438 \u0432\u0440\u043e\u0434\u0435 \u043c\u0435\u043d\u044f \u0440\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u0443\u044e\u0442 <a href=\"http:\/\/www.artlebedev.ru\/tools\/decoder\/\">\u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u041b\u0435\u0431\u0435\u0434\u0435\u0432\u0430<\/a>. FFmpeg&#8217;\u0443 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u0443\u044e \u043d\u0430\u0434\u043f\u0438\u0441\u044c.<\/i><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u0437\u043d\u0430\u044f \u0438\u043c\u044f \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"http:\/\/ffmpeg.org\/download.html\">ffmpeg<\/a> \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<h3>\u0412\u0435\u0431-\u043a\u0430\u043c\u0435\u0440\u0430<\/h3>\n<p>  \u041a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0434\u0435\u043a \u0438 \u0441\u0435\u0440\u0432\u0435\u0440:  <\/p>\n<pre><code class=\"bash\">ffmpeg -f dshow -i video=&quot;Webcam C170&quot; -c:v libx264 -an -f flv &quot;rtmp:\/\/1.2.3.4\/live\/test.flv  live=1&quot;<\/code><\/pre>\n<p>  \u0412\u043c\u0435\u0441\u0442\u043e \u00abWebcam C170\u00bb \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u0430\u0448\u0435\u0439 \u043a\u0430\u043c\u0435\u0440\u044b \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430.<br \/>  \u041a\u043b\u044e\u0447 -an \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0430\u0443\u0434\u0438\u043e \u043f\u043e\u0442\u043e\u043a. \u0415\u0441\u043b\u0438 \u0430\u0443\u0434\u0438\u043e \u043f\u043e\u0442\u043e\u043a \u043d\u0443\u0436\u0435\u043d, \u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">ffmpeg -f dshow -i video=&quot;Webcam C170&quot; -f dshow -i audio=&quot;\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d ...&quot; -c:v libx264 -c:a libfaac -ar 44100 -ac 2 -f flv &quot;rtmp:\/\/1.2.3.4\/live\/test.flv  live=1&quot;<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043a\u043e\u0434\u0435\u043a libfaac, \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438 44100, 2 \u043a\u0430\u043d\u0430\u043b\u0430 (\u0441\u0442\u0435\u0440\u0435\u043e). \u041c\u043e\u0436\u043d\u043e \u0432\u043c\u0435\u0441\u0442\u043e AAC \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c MP3 (\u043a\u043e\u0434\u0435\u043a libmp3lame). <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/ross.vc\/rtmptest\/rtb.jpg\" alt=\"image\"\/><\/p>\n<h3>\u0410\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u0430\u044f \u043a\u0430\u043c\u0435\u0440\u0430<\/h3>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0448\u0435\u0439 \u043a\u0430\u043c\u0435\u0440\u044b \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u044b\u0445\u043e\u0434, \u0442\u043e \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0445\u0432\u0430\u0442\u0430. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e <a href=\"http:\/\/dx.com\/p\/cmos-color-surveillance-security-camera-with-4-ir-led-night-vision-pal-44677\">\u0434\u0435\u0448\u0435\u0432\u0443\u044e PAL \u043a\u0430\u043c\u0435\u0440\u0443<\/a> \u0438 <a href=\"http:\/\/club.dx.com\/reviews\/text\/11127\">USB \u043f\u043b\u0430\u0442\u0443 \u0437\u0430\u0445\u0432\u0430\u0442\u0430<\/a> \u0441 Dealextreme.<\/p>\n<pre><code class=\"bash\">ffmpeg -r pal -s pal -f dshow -i video=&quot;USB2.0 ATV&quot; -c:v libx264 -an -f flv &quot;rtmp:\/\/1.2.3.4\/live\/test.flv live=1&quot;<\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"http:\/\/ross.vc\/rtmptest\/rtc.jpg\" alt=\"image\"\/><\/p>\n<h3>\u0417\u0430\u0445\u0432\u0430\u0442 \u044d\u043a\u0440\u0430\u043d\u0430<\/h3>\n<p>  \u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"http:\/\/www.ffsplit.com\/\">FFSplit<\/a> \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/rdp\/screen-capture-recorder-to-video-windows-free\">screen-capture-recorder<\/a> \u0441 FFmpeg.<br \/>  FFSplit \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0449\u0435, \u0442.\u043a. \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 GUI, \u043d\u043e \u043e\u043d \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 XP\/2003. <\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 FFmpeg \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">ffmpeg -f dshow -i video=&quot;screen-capture-recorder&quot; -c:v libx264 -an -r 2 -f flv &quot;rtmp:\/\/1.2.3.4\/live\/test.flv live=1&quot;<\/code><\/pre>\n<p>  \u0410\u0443\u0434\u0438\u043e-\u043f\u043e\u0442\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0441 virtual-audio-capturer.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/ross.vc\/rtmptest\/rtd.jpg\" alt=\"image\"\/><br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u0445\u0432\u0430\u0442\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438<\/i><\/p>\n<h3>\u0420\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f<\/h3>\n<p>  \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0438\u043b\u0438 \u0430\u0443\u0434\u0438\u043e \u0444\u0430\u0439\u043b (\u0438\u043b\u0438 \u043f\u043e\u0442\u043e\u043a) FFmpeg \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0438\u0436\u0435 \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c MJPEG \u0432\u0438\u0434\u0435\u043e \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043a\u0430\u043c\u0435\u0440\u044b:  <\/p>\n<pre><code class=\"bash\">ffmpeg -f mjpeg -i video=&quot;http:\/\/iiyudana.miemasu.net\/nphMotionJpeg?Resolution=320x240&Quality=Standard&quot; -c:v libx264 -f flv &quot;rtmp:\/\/1.2.3.4\/live\/test.flv live=1&quot;<\/code><\/pre>\n<p>  \u041d\u043e \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0437\u0443\u043c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0446\u0438\u044e push \u043d\u0430 \u0441\u0430\u043c\u043e\u043c RTMP-\u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0435 \u0437\u0432\u0435\u043d\u043e \u0438 \u0432\u044b\u0442\u044f\u0433\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0442\u043e\u043a \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/ross.vc\/rtmptest\/rte.jpg\" alt=\"image\"\/><br \/>  <i>\u041a\u0430\u043a\u0430\u044f-\u0442\u043e \u0432\u0435\u0431-\u043a\u0430\u043c\u0435\u0440\u0430 \u0432 \u042f\u043f\u043e\u043d\u0438\u0438<\/i><\/p>\n<h2>\u0422\u044e\u043d\u0438\u043d\u0433, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/h2>\n<p>  <b>-preset \u0438\u043c\u044f<\/b> \u0423 H.264 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u044f\/\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0441\u0442\u043e\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:  <\/p>\n<pre><code class=\"bash\">-preset ultrafast <\/code><\/pre>\n<p>  <b>-crf <i>\u0447\u0438\u0441\u043b\u043e<\/i><\/b> \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0431\u0438\u0442\u0440\u0435\u0439\u0442 \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e. \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 0 \u0434\u043e 51 \u2014 \u0447\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435, \u0442\u0435\u043c \u043d\u0438\u0436\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 23, 18 \u2014 losless \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e. \u0411\u0438\u0442\u0440\u0435\u0439\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0443\u0434\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0438 CRF \u043d\u0430 6.<\/p>\n<p>  <b>-r <i>\u0447\u0438\u0441\u043b\u043e <\/i><\/b>\u0437\u0430\u0434\u0430\u0435\u0442 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 FPS. \u0414\u043b\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u044b \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443, \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u043e -r <b>-re<\/b>, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u00ab\u0440\u043e\u0434\u043d\u043e\u0439\u00bb FPS.<\/p>\n<p>  <b>-rtbufsize <i>\u0447\u0438\u0441\u043b\u043e <\/i><\/b> \u0440\u0430\u0437\u043c\u0435\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0431\u0443\u0444\u0435\u0440\u0430 \u0438 \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u043d\u0438\u0438 \u043a\u0430\u0434\u0440\u043e\u0432, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 100000k), \u043e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438.<\/p>\n<p>  <b>-s <i>\u0448\u0438\u0440\u0438\u043d\u0430x\u0432\u044b\u0441\u043e\u0442\u0430<\/i><\/b> \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438.<\/p>\n<p>  <b>-g <i>\u0447\u0438\u0441\u043b\u043e<\/i><\/b> \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u043f\u043e\u043d\u044f\u043b, \u044d\u0442\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043a\u0430\u0434\u0440\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c\u0438. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 FPS \u043e\u0447\u0435\u043d\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u0430\u0447\u0430\u043b\u0430 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438.<\/p>\n<p>  <b>-keyint_min <i>\u0447\u0438\u0441\u043b\u043e<\/i><\/b> \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043a\u0430\u0434\u0440\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c\u0438.<\/p>\n<p>  <b>-vf \u00abcrop=w:h:x:y\u00bb<\/b> \u043e\u0431\u0440\u0435\u0437\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e<\/p>\n<p>  <b>-tune zerolatency<\/b> \u00ab\u0432\u043e\u043b\u0448\u0435\u0431\u043d\u0430\u044f\u00bb \u043e\u043f\u0446\u0438\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438. \u0427\u0442\u043e \u043e\u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b (-:<\/p>\n<p>  <b>-analyzeduration 0<\/b> \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u0438\u0437 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0447\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0441\u043d\u0438\u0437\u0438\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438<\/p>\n<p>  \u041f\u043e\u043c\u0438\u043c\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0430\u0443\u0434\u0438\u043e \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f <b>-acodec copy<\/b> \u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448 \u0430\u0443\u0434\u0438\u043e \u043f\u043e\u0442\u043e\u043a \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u0432 MP3\/AAC.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440: \u0432\u0435\u0449\u0430\u0435\u043c \u0441 \u0432\u0435\u0431-\u043a\u0430\u043c\u0435\u0440\u044b \u0441 \u043d\u0438\u0437\u043a\u043e\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0431\u0435\u0437 \u0437\u0432\u0443\u043a\u0430, \u0440\u0438\u0441\u0443\u0435\u043c \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f<\/p>\n<pre><code class=\"bash\">ffmpeg -r 25 -rtbufsize 1000000k -analyzeduration 0 -s vga -copyts -f dshow -i video=&quot;Webcam C170&quot; -vf &quot;drawtext=fontfile=verdana.ttf:fontcolor=yellow@0.8:fontsize=48:box=1:boxcolor=blue@0.8:text=%{localtime}&quot; -s 320x240 -c:v libx264 -g 10 -keyint_min 1 -preset UltraFast -tune zerolatency -crf 25 -an -r 3 -f flv &quot;rtmp:\/\/1.2.3.4:1935\/live\/b.flv live=1&quot;<\/code><\/pre>\n<h2>\u041f\u043b\u0435\u0435\u0440 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<\/h2>\n<p>  \u0422\u0443\u0442 \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e. \u041f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0430\u0439\u0442 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043f\u043b\u0435\u0435\u0440\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"http:\/\/flowplayer.org\/\">Flowplayer<\/a> \u0438\u043b\u0438 <a href=\"http:\/\/www.longtailvideo.com\/jw-player\/\">JW Player<\/a>.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f JW Player \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 <a href=\"http:\/\/ross.vc\/rtmptest\/\">\u0434\u0435\u043c\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438<\/a>.<\/p>\n<h2>\u0427\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435?<\/h2>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0443\u043b\u044f rtmp \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0438\u0434\u0435\u043e\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e, \u043d\u043e \u0438 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442, \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0440\u0430\u0434\u0438\u043e, \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u043e\u0432. \u0414\u0435\u0440\u0437\u0430\u0439\u0442\u0435!<\/p>\n<p>  \u042f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043b\u0438\u0448\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c nginx-rtmp-module \u0438 ffmpeg. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0443 \u043d\u0438\u0445 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0448\u0438\u0440\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e:<br \/>  <a href=\"http:\/\/rarut.wordpress.com\/\">\u0411\u043b\u043e\u0433 nginx-rtmp-module<\/a><br \/>  <a href=\"https:\/\/github.com\/arut\/nginx-rtmp-module\/wiki\/Directives\">Wiki nginx-rtmp-module<\/a><br \/>  <a href=\"http:\/\/ffmpeg.org\/ffmpeg.html\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f FFmpeg<\/a><br \/>  <a href=\"http:\/\/ffmpeg.org\/trac\/ffmpeg\/wiki\/StreamingGuide\">Streaming Guide<\/a><br \/>  <a href=\"http:\/\/ffmpeg.org\/trac\/ffmpeg\/wiki\/x264EncodingGuide\">x264 Encoding Guide<\/a><br \/>  <a href=\"http:\/\/ffmpeg.org\/trac\/ffmpeg\/wiki\/FilteringGuide\">Filtering Guide<\/a>    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/174089\/\"> http:\/\/habrahabr.ru\/post\/174089\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0442\u043e\u043f\u0438\u043a &quot;<a href=\"http:\/\/habrahabr.ru\/post\/162237\/\">\u0421\u0435\u0440\u0432\u0435\u0440 \u043e\u043d\u043b\u0430\u0439\u043d-\u0432\u0435\u0449\u0430\u043d\u0438\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 nginx<\/a>&quot; \u043e\u0431 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435 \u0420\u043e\u043c\u0430\u043d\u0430 \u0410\u0440\u0443\u0442\u044e\u043d\u044f\u043d\u0430 \u0434\u043b\u044f nginx: <a href=\"https:\/\/github.com\/arut\/nginx-rtmp-module\">nginx-rtmp-module<\/a>. \u041c\u043e\u0434\u0443\u043b\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 nginx \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432\u0438\u0434\u0435\u043e\u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438 \u0436\u0438\u0432\u043e\u0433\u043e \u0432\u0435\u0449\u0430\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u0440\u043e \u0441\u0430\u043c \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0435\u0433\u043e <a href=\"http:\/\/arut.github.com\/nginx-rtmp-module\/\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043d\u0430 GitHub<\/a>, \u044f \u0436\u0435 \u0445\u043e\u0447\u0443 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0442\u043e\u043f\u0438\u043a \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u043e\u0432\u0438\u0447\u043a\u0430\u043c \u0432 \u0432\u0438\u0434\u0435\u043e\u0434\u0435\u043b\u0430\u0445 (\u0442\u0430\u043a\u0438\u043c \u043a\u0430\u043a \u044f).<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"http:\/\/ross.vc\/rtmptest\/\">\u0434\u0435\u043c\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-174089","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=174089"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174089\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}