Table of Contents

How to reduce excessive stuttering or buffering when streaming videos

If you are streaming videos to your devices or web browsers in your home or outside your home and they are stuttering, buffering or stopping, then use this guide to help solve the problem.

Your home network

Your home network must be fast enough to allow Mezzmo to transmit the video data from your computer to your device(s) in your home - otherwise you will see stuttering, buffering or stopping on your device.

Your Mezzmo settings

Listed below are the settings in Mezzmo that you should ensure are correct for optimal streaming.

Transcoding performance

FFmpeg is used in a separate process to transcode your audio and video files so they can be played on your devices and web browsers. If FFmpeg is using too much CPU and memory, then Mezzmo server may not have enough CPU time to stream the file to the device. You can change the Transcoding CPU priority in Transcoding Settings dialog in Mezzmo to Low so that the FFmpeg will use less CPU time (however, this may slow down transcoding so if the transcoding is already too slow it will not help).

When your videos are playing on your device but they are stuttering or buffering, then go to Mezzmo and look at the Transcoding pane. If you see your video file listed there, then it is being transcoded on-the-fly. If it is marked in red, then the transcoding speed is not fast enough for real time playback and this is one of the causes of the stuttering.

To improve transcoding performance, you can upgrade your computer's CPU and memory. In general, the more cores and powerful your computer's CPU, the better transcoding performance will be obtained.

An alternative solution is to pre-transcode your video file(s) before streaming them - thus eliminating slow transcoding as being the reason for stuttering. To pre-transcode your videos, see this FAQ - Pre-transcode Files.

Your video files

If your video files have high video bitrates, then this can be a cause of excessive stuttering or buffering.

Advanced Mezzmo settings

Mezzmo server streams video to your devices in discrete data packets. The default size of these data packets is typically 64KB. Adjusting the size of the packets can sometimes provide improved streaming performance for devices on home network configurations. Here's how to adjust the data packet size:

  1. Stop your Mezzmo server and exit Mezzmo.
  2. Using Windows Explorer, go to the DeviceProfiles folder.
  3. Edit the device profile (.PRF) file associated with your device in a text editor such as Notepad.
  4. In the <device> … </device> section, add: <packetsize>8000</packetsize> (where 8000 is the data packet size in bytes; recommended range 4000 - 4096000)
  5. Save your changes to the .PRF file.
  6. Run Mezzmo and start your Mezzmo server. Try streaming and check streaming performance.
  7. Repeat the above steps with different data packet sizes to find the optimal value for your home network.