Note that there are some explanatory texts on larger screens.

plurals
  1. POConstant Buffering & Audio/Video Out of Sync RTMP Streaming
    text
    copied!<p>I am attempting to establish a high quality RTMP stream using Flash Media Live Encoder and Flash Media Server which is installed on my CentOS VPS Host. I am able to connect to the stream with the following url in the encoder: rtmp://myhost:1935/live/streamname (this is example).</p> <p>I am using Flash Media Playback and embedding the following html for video playback:</p> <pre><code>&lt;object width="640" height="480"&gt; &lt;param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"&gt; &lt;/param&gt; &lt;param name="flashvars" value="src=rtmp%3A%2F%2Fmyhost%3A1935%2Flive%2Fstreamname&amp;poster=http%3A%2F%2Fsquarestream.ca%2Fpics%2Fframe.jpg&amp;autoPlay=true&amp;streamType=live&amp;optimizeInitialIndex=false"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt; &lt;embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="480" flashvars="src=rtmp%3A%2F%2Fmyhost%3A1935%2Flive%2Fstreamname&amp;poster=http%3A%2F%2Fsquarestream.ca%2Fpics%2Fframe.jpg&amp;autoPlay=true&amp;streamType=live&amp;optimizeInitialIndex=false"&gt;&lt;/embed&gt;&lt;/object&gt; </code></pre> <p>The problem I am having is that the video is consistently buffering (approx every 5 seconds), followed by a sped up video playback and the audio and video is never in sync. From everything I have read, my encoder settings are fine: </p> <p>25 FPS, 500 Kbps bitrate video, 128 kbps audio, I am on internet connection averaging 6 MBPS upload, my CPU/RAM usage never above 75% as Adobe suggests. I fear the issue is my hosting, but I am at a loss, I have tried every conceivable encoder setting, and as far as I know, FMS is setup correctly on host, and can verify stream connects in the admin console. Any suggestions would be helpful. </p> <p>Thanks. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload