Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reduce_video_stuttering [2016/06/15 10:02]
admin created
reduce_video_stuttering [2020/12/21 05:41] (current)
admin [Your home network]
Line 11: Line 11:
   * When streaming a video, make sure your home network is not congested with other traffic - for example, copying files from one computer to another computer.   * When streaming a video, make sure your home network is not congested with other traffic - for example, copying files from one computer to another computer.
   * Routers can sometimes slow down or get themselves in an unstable state where it affects streaming performance. ​ Try turning off your router for a minute and then turning it on again to correct these issues.   * Routers can sometimes slow down or get themselves in an unstable state where it affects streaming performance. ​ Try turning off your router for a minute and then turning it on again to correct these issues.
 +  * For best performance it is best to have the Network card duplex mode in 1.0 Gbps Full Duplex
 +    - Right-click on This PC in Windows explorer and select properites
 +    - Click on Device Manager in the list on the left
 +    - Expand Network Adapters and right-click your ethernet adapter and select properties
 +    - On the Advanced tab scroll to the Speed & Duplex item and select it then select the 1.0 Gbps Full Duplex item
 +{{:​advanced-network.png?​400|}}
  
 ===== Your Mezzmo settings ===== ===== Your Mezzmo settings =====
Line 27: Line 33:
 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. 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 - [[ [url]http://​forum.conceiva.com/​showthread.php/​6025-Tutorial-Pre-transcoding-Files[/url]+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|Pre-transcode ​Files]].
  
-[B][U]Your video files[/U][/B]+===== Your video files =====
  
 If your video files have high video bitrates, then this can be a cause of excessive stuttering or buffering. If your video files have high video bitrates, then this can be a cause of excessive stuttering or buffering.
  
-[LIST] +  ​* If your video files' format is supported by your device but have a high video bitrate, then your device may not be able to decode and play them in real time.  This will be a limitation of the device'​s firmware. ​ As an example, some devices can stutter when trying to play Blu-ray rips that have video bitrates of 10Mb/sec or higher. ​ In this case, trying lowering the video bitrate when encoding/​ripping your videos. ​ As a test, you can try to pre-transcode the video to another format and see if that plays. 
-[*]If your video files' format is supported by your device but have a high video bitrate, then your device may not be able to decode and play them in real time.  This will be a limitation of the device'​s firmware. ​ As an example, some devices can stutter when trying to play Blu-ray rips that have video bitrates of 10Mb/sec or higher. ​ In this case, trying lowering the video bitrate when encoding/​ripping your videos. ​ As a test, you can try to pre-transcode the video to another format and see if that plays+  * If Mezzmo is transcoding the video but the video bitrate is too high, then you can reduce the video bitrate that Mezzmo encodes in the transcoded video. ​ Follow these steps: 
-[LIST=1] +    ​- ​In Mezzmo, go to the **Media Devices** dialog and edit your device. 
-[*]In Mezzmo, right-click on the video and click [B]Pre-transcode Files[/B]+    ​- ​On the Device Settings dialog, go to the **Performance tab** and lower the **Maximum ​bitrate** value halfway. 
-[*]On the Pre-transcode Files dialog, select your device and click [B]Choose Formats[/​B]. +    ​- ​On the Device Settings dialog, go to the **Transcoding tab** and delete your transcoded files. 
-[*]On the Pre-transcode Formats dialog, select the bolded format and click the [B]Force full transcode[/​B] checkbox. ​ Click [B]OK[/​B]. +    ​- ​Try streaming the video now and see if the stuttering is no longer there or reduced. 
-[*]Select the [B]Pre-transcode files even if they match the device'​s supported formats[/B] checkbox. +    ​- ​Repeat these steps whilst adjusting the Maximum ​bitrate ​value to get the optimal setting.
-[*]Click [B]OK[/B] to start transcoding. ​ Once transcoding has completed, try streaming the video again. +
-[/LIST] +
-[/LIST] +
-[LIST] +
-[*]If Mezzmo is transcoding the video but the video bitrate is too high, then you can reduce the video bitrate that Mezzmo encodes in the transcoded video. ​ Follow these steps: +
-[LIST=1] +
-[*]In Mezzmo, go to the [B]Media Devices[/B] dialog and edit your device. +
-[*]On the Device Settings dialog, go to the [B]Performance[/B] tab and move the [B]Video ​bitrate ​slider[/​B] ​halfway. +
-[*]On the Device Settings dialog, go to the [B]Transcoding[/B] tab and delete your transcoded files. +
-[*]Try streaming the video now and see if the stuttering is no longer there or reduced. +
-[*]Repeat these steps whilst adjusting the Video bitrate ​slider ​to get the optimal setting. +
-[/LIST] +
-[/LIST]+
  
-[B][U]Advanced Mezzmo settings[/U][/B]+===== 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: 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:
  
-[LIST=1] +  - Stop your Mezzmo server and exit Mezzmo. 
-[*]Stop your Mezzmo server and exit Mezzmo. +  ​- ​Using Windows Explorer, go to the DeviceProfiles folder. 
-[*]Using Windows Explorer, go to the DeviceProfiles folder ​(see [url]http://​forum.conceiva.com/​showthread.php/​467-FAQ-Where-are-device-profiles-located[/​url]). +  ​- Edit the device profile (.PRF) file associated with your device in a text editor such as Notepad. 
-[*]Edit the device profile (.PRF) file associated with your device in a text editor such as Notepad. +  ​- ​In the <​device>​ ... </​device>​ section, add: <​packetsize>​8000</​packetsize>​ (where 8000 is the data packet size in bytes; recommended range 4000 - 4096000) 
-[*]In the <​device>​ ... </​device>​ section, add: +  ​- ​Save your changes to the .PRF file. 
-[INDENT]<​packetsize>​8000</​packetsize>​ +  ​- ​Run Mezzmo and start your Mezzmo server. ​ Try streaming and check streaming performance. 
-(where 8000 is the data packet size in bytes; recommended range 4000 - 4096000)[/INDENT] +  ​- ​Repeat the above steps with different data packet sizes to find the optimal value for your home network. 
-[*]Save your changes to the .PRF file. +
-[*]Run Mezzmo and start your Mezzmo server. ​ Try streaming and check streaming performance. +
-[*]Repeat the above steps with different data packet sizes to find the optimal value for your home network. +
-[/LIST]+