<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dogan Yazar</title>
    <description>The latest articles on DEV Community by Dogan Yazar (@doganyazar).</description>
    <link>https://dev.to/doganyazar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F751654%2Ffa4a4445-623a-4892-9f53-40a15705d388.jpeg</url>
      <title>DEV Community: Dogan Yazar</title>
      <link>https://dev.to/doganyazar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/doganyazar"/>
    <language>en</language>
    <item>
      <title>Running ffmpeg as an rtmp server</title>
      <dc:creator>Dogan Yazar</dc:creator>
      <pubDate>Tue, 23 Nov 2021 06:35:13 +0000</pubDate>
      <link>https://dev.to/doganyazar/running-ffmpeg-as-an-rtmp-server-507h</link>
      <guid>https://dev.to/doganyazar/running-ffmpeg-as-an-rtmp-server-507h</guid>
      <description>&lt;p&gt;Ffmpeg supports running as an rtmp server which is very useful to test/verify an incoming rtmp stream. &lt;br&gt;
Run ffmpeg with &lt;code&gt;-listen 1&lt;/code&gt; flag as a server and set &lt;code&gt;-i rtmp://ip:port&lt;/code&gt;. Copy the incoming stream to udp output to be able to check the stream using ffplay or vlc afterwards:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ffmpeg -f flv -listen 1 -i rtmp://127.0.0.1:9000 -c copy udp://127.0.0.1:9001
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and then check the stream as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ffplay -i udp:/127.0.0.1:900
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>ffmpeg</category>
      <category>ffplay</category>
      <category>rtmp</category>
    </item>
  </channel>
</rss>
