MKV files stutter.
I was mistaken, it initially only showed Serviio as type "Network" but once I started playing something and got back to the main menu it showed it as "AllShare" as well. But still I was able to play the same files fluently with TVMobili which stuttered sometimes (both audio and video) using Serviio. I have a 3.4Ghz quad-core iMac and wired network (Gigabit, but probably the TV only supports 100 Mbit) so I don't think that's the issue here. Serviio isn't even transcoding when it occurs.
Re: MKV files stutter.
you could try to increase network socket buffer (http://www.serviio.org/index.php?option ... icle&id=43)
Default is 64536.
Default is 64536.
Petr
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Re: MKV files stutter.
serviio.log reports default is 65535 bytes (that is 2^16-1)
Have tried:
-Dserviio.socketBuffer=32267 (2^15-1)
-Dserviio.socketBuffer=131071 (2^17-1)
-Dserviio.socketBuffer=262143 (2^18-1)
Change of buffer size is reflected in serviio.log upon start, but mkv stuttering problem remains for all buffer sizes above.
Does this setting solve it for anybody else?
Have tried:
-Dserviio.socketBuffer=32267 (2^15-1)
-Dserviio.socketBuffer=131071 (2^17-1)
-Dserviio.socketBuffer=262143 (2^18-1)
Change of buffer size is reflected in serviio.log upon start, but mkv stuttering problem remains for all buffer sizes above.

Does this setting solve it for anybody else?
Samsung UE46D5005XXE | Samsung BD-C6500
Re: MKV files stutter.
As a new owner of a PN51D550 I have been following this thread since ditching the Allshare junk for Serviio after a day of messing with it.
I also have stuttering with mkv's and I am using a wired connection.
One thing I am wondering is what is the spec of the LAN port of the TV? I cannot find it anywhere and my gigabit switch does not differentiate 100 or 1000 by LED link color, only 10 shows orange.
Interestingly, I finally plugged in my BD-D5500 that I bought with the TV, and when I play the same mkv files via the same wired connection on that, they play flawlessly. Not sure of the LAN port speed on that either.
Just wondering if the LAN port has anything to do with it.
I also have stuttering with mkv's and I am using a wired connection.
One thing I am wondering is what is the spec of the LAN port of the TV? I cannot find it anywhere and my gigabit switch does not differentiate 100 or 1000 by LED link color, only 10 shows orange.
Interestingly, I finally plugged in my BD-D5500 that I bought with the TV, and when I play the same mkv files via the same wired connection on that, they play flawlessly. Not sure of the LAN port speed on that either.
Just wondering if the LAN port has anything to do with it.
Re: MKV files stutter.
Wow check this out:
http://bit.ly/xnKnGY
Pg 181
Other Restrictions
NOTE
●● Video content will not play, or not play correctly, if there is an error in the content or the container.
●● Sound or video may not work if the contents have a standard bitrate/frame rate above the compatible Frame/sec listed in the table above.
●● If the Index Table is in error, the Seek (Jump) function is not supported.
●● You may experience file stuttering while playing a video through a network connection. for PDP 550 Series and above
●● The menu may take longer to appear if the video’s bit rate exceeds 10Mbps.
●● Some USB/digital camera devices may not be compatible with the TV.
●● Video content can not be played, if there are many contents in one file.
●● When you play video over a network connection, the video may not be played smoothly.
so they expect this behavior?
http://bit.ly/xnKnGY
Pg 181
Other Restrictions
NOTE
●● Video content will not play, or not play correctly, if there is an error in the content or the container.
●● Sound or video may not work if the contents have a standard bitrate/frame rate above the compatible Frame/sec listed in the table above.
●● If the Index Table is in error, the Seek (Jump) function is not supported.
●● You may experience file stuttering while playing a video through a network connection. for PDP 550 Series and above
●● The menu may take longer to appear if the video’s bit rate exceeds 10Mbps.
●● Some USB/digital camera devices may not be compatible with the TV.
●● Video content can not be played, if there are many contents in one file.
●● When you play video over a network connection, the video may not be played smoothly.
so they expect this behavior?
Re: MKV files stutter.
I think you guys might be on to something with the WiFi concept, I streamed a 720p .mkv file from my friend's MacBook Air (using the same network and distance that didn't work on my MacBook Pro), and it worked more or less without any problems. There's a lot of huge .mkv files I'm unable to remux with iFlicks, so I would be very happy to find a solution
Unfortunately the Air doesn't have an ethernet connection so I'm unable to try such.
I should note that when the audio skips on .mkv files it doesn't show up as "Buffering" at the top right corner, which it should when there is not enough bandwidth.

I should note that when the audio skips on .mkv files it doesn't show up as "Buffering" at the top right corner, which it should when there is not enough bandwidth.
Re: MKV files stutter.
Hello all,
I can confirm the stuttering problem on a UE32D5000. Also, the problem goes away when connected over wireless.
Right now I have a g router, the playback is ok, but the loading of the menu and fast forwarding in mkv is really slow compared to 100mbit lan. I was wondering if I upgrade to 300mbit n wireless, would it be faster or there are other issues with wireless which cause the performance issues?
I can confirm the stuttering problem on a UE32D5000. Also, the problem goes away when connected over wireless.
Right now I have a g router, the playback is ok, but the loading of the menu and fast forwarding in mkv is really slow compared to 100mbit lan. I was wondering if I upgrade to 300mbit n wireless, would it be faster or there are other issues with wireless which cause the performance issues?
Re: MKV files stutter.
atika wrote:Hello all,
I can confirm the stuttering problem on a UE32D5000. Also, the problem goes away when connected over wireless.
Right now I have a g router, the playback is ok, but the loading of the menu and fast forwarding in mkv is really slow compared to 100mbit lan. I was wondering if I upgrade to 300mbit n wireless, would it be faster or there are other issues with wireless which cause the performance issues?
tv only has 54mbit wireless, so faster router will help between pc and router but not between tv and router.
Phil Bennett
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Re: MKV files stutter.
Actually, the TV is connected to the router with a cable. So the wireless part would be between the pc with serviio and the router.
Re: MKV files stutter.
atika wrote:Actually, the TV is connected to the router with a cable. So the wireless part would be between the pc with serviio and the router.
then faster router would be good, but still wont solve your stutter issues, with mkv files.
Cerberus wrote:There is ongoing issues with ffmpeg and MKV files that the team over at ffmpeg are working on (stutter, not playing) and from the daily builds we can see they are starting to work through them and fix but theres nothing we can do from a serviio point of view until they fix the issues, there are now later daily builds availible that may fix your issues, impore on it but you would have to try them.
http://wiki.serviio.org/doku.php?id=win_ffmpeg
Phil Bennett
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Re: MKV files stutter.
Tried http://ffmpegmac.net/ - deff not worse, but still not working properly. Will have to wait and see what happens.
Re: MKV files stutter.
The stuttering is present even if I disable transcoding, and it goes away when the serviio server is on wireless.
Re: MKV files stutter.
atika wrote:The stuttering is present even if I disable transcoding, and it goes away when the serviio server is on wireless.
your must be a slightly different issue then as that first time i have heard that.
Phil Bennett
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Re: MKV files stutter.
This .mkv file won't play:
General
Unique ID : 168348648403719580577546155723716462494 (0x7EA6C532C2870C1E037BA147C20E879E)
Complete name : F:\Animation\Top Cat - The Movie (2011) 1080p\Top Cat - The Movie (2011).mkv
Format : Matroska
Format version : Version 2
File size : 1.79 GiB
Duration : 1h 30mn
Overall bit rate : 2 824 Kbps
Writing application : Lavf51.12.1
Writing library : Lavf51.12.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L5.0
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Format settings, GOP : M=1, N=12
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 30mn
Bit rate : 2 448 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.049
Stream size : 1.55 GiB (87%)
Language : English
Default : Yes
Forced : No
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 30mn
Bit rate mode : Constant
Bit rate : 320 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 208 MiB (11%)
Language : English
Default : Yes
Forced : No
and this .mkv file does play but the sound stutters:
General
Unique ID : 28893125631964504915851935722992391352 (0x15BC9D13D9E3FBE92A8DB8A9ADD954B8)
Complete name : E:\TV SERIES\Action\Hill Street Blues\Season 6\Hill Street Blues - S6x01 - Blues In The Night.mkv
Format : Matroska
Format version : Version 2
File size : 413 MiB
Duration : 43mn 46s
Overall bit rate : 1 320 Kbps
Writing application : HandBrake 0.9.4
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 43mn 46s
Bit rate : 1 133 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.137
Stream size : 355 MiB (86%)
Writing library : x264 core 79 r1347 5ddd61b
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=12 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=240 / keyint_min=24 / scenecut=40 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : A_MPEG/L3
Codec ID/Hint : MP3
Duration : 43mn 46s
Bit rate mode : Constant
Bit rate : 160 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 50.1 MiB (12%)
Writing library : LAME3.98
Default : Yes
Forced : No
Menu
00:00:00.000 : Chapter 01
any idea why? Any help would be greatly appreciated, Serviio seems to have trouble with .mkv file playback, any hope on fixing it in the next or future version.
General
Unique ID : 168348648403719580577546155723716462494 (0x7EA6C532C2870C1E037BA147C20E879E)
Complete name : F:\Animation\Top Cat - The Movie (2011) 1080p\Top Cat - The Movie (2011).mkv
Format : Matroska
Format version : Version 2
File size : 1.79 GiB
Duration : 1h 30mn
Overall bit rate : 2 824 Kbps
Writing application : Lavf51.12.1
Writing library : Lavf51.12.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L5.0
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Format settings, GOP : M=1, N=12
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 30mn
Bit rate : 2 448 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.049
Stream size : 1.55 GiB (87%)
Language : English
Default : Yes
Forced : No
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 30mn
Bit rate mode : Constant
Bit rate : 320 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 208 MiB (11%)
Language : English
Default : Yes
Forced : No
and this .mkv file does play but the sound stutters:
General
Unique ID : 28893125631964504915851935722992391352 (0x15BC9D13D9E3FBE92A8DB8A9ADD954B8)
Complete name : E:\TV SERIES\Action\Hill Street Blues\Season 6\Hill Street Blues - S6x01 - Blues In The Night.mkv
Format : Matroska
Format version : Version 2
File size : 413 MiB
Duration : 43mn 46s
Overall bit rate : 1 320 Kbps
Writing application : HandBrake 0.9.4
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 43mn 46s
Bit rate : 1 133 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.137
Stream size : 355 MiB (86%)
Writing library : x264 core 79 r1347 5ddd61b
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=12 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=240 / keyint_min=24 / scenecut=40 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : A_MPEG/L3
Codec ID/Hint : MP3
Duration : 43mn 46s
Bit rate mode : Constant
Bit rate : 160 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 50.1 MiB (12%)
Writing library : LAME3.98
Default : Yes
Forced : No
Menu
00:00:00.000 : Chapter 01
any idea why? Any help would be greatly appreciated, Serviio seems to have trouble with .mkv file playback, any hope on fixing it in the next or future version.

Re: MKV files stutter.
Format profile : Baseline@L5.0 is probably to blame.
Change the level.
Change the level.
Re: MKV files stutter.
eclp wrote:Format profile : Baseline@L5.0 is probably to blame.
Change the level.
@eclp - nope.
@ madman10
File 1 - possiblely bad encoder setting cause file looks fine try remuxing it with MKVmerge.
File 2 - update ffmpeg to latest daily build and try again.
any idea why? Any help would be greatly appreciated, Serviio seems to have trouble with .mkv file playback, any hope on fixing it in the next or future version.
serviio doesnt have an issue with MKV its ffmpeg that has the issue atm as i stated above.
Phil Bennett
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Re: MKV files stutter.
I got the latest build how do I add it or update it to the present one? Where would I put it, in what folder in Serviio or somewhere else?
Re: MKV files stutter.
madman10 wrote:I got the latest build how do I add it or update it to the present one? Where would I put it, in what folder in Serviio or somewhere else?
viewtopic.php?f=10&t=3810&start=100#p36946
Phil Bennett
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Beta Tester Group
Wiki | FAQ
Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Re: MKV files stutter.
sunnyday wrote:
Suddenly I remembered I have got a WiFi USB Stick in a drawer in the basement, I inserted it into my Server (the one that almost every mkv stutters) let i plug'and'play-install and disabled the wired NIC. Turned on TV and: No Stuttering anymore!
The only conclusion I draw is:
Samsung TV UExxD500x stutters for one reason or another when streamed via wired network. Replacing wired NIC with wireless card seem to be the cure.
(As previosly been suggested by both zip and zotune)
Summary of my testing:
Win7 64/Serviio 0.6.1/D-Link DGE 528T Stutters severly on most mkv
Win7 64/Serviio 0.6.1/TP-Link WN321G No stutter
Win7 64/Serviio 0.6.1/Atheros AR9002WB-1NG No stutter (apart from single occasion approx 7 seconds in from beginning of movie)
All computers and TV are communicating via Linksys WRT54GL router running Tomato 1.28 firmware.
Streaming-wise, the only drawback of WiFi is it takes a little longer to launch a new clip compared to a wired connection. Perhaps a little slower FF/REW response.
But of course I would prefer wired NIC, for higher speed/better connectivity at other protocols than DLNA.
I can confirm this 100%:
Realtek Nic: Wired from PC (Win7 64/Servioo 0.6.2) to router to UE32D5005 => Stutters
Atheros Nic: WiFi from PC (Win7 64/Servioo 0.6.2)) to router but wired from router to UE32D5005 => no stutter
Same issue as synnyday, dysje, pluhi, zotune and atika has explained in this thread.
I have the same stutter (in wired system) with theese DLNA mediaservers:
- Serviio
- Samsung Allshare
- Synology Diskstation
but as other have mentioned ( noise, pertercv) is TVMOBiLi playing the MKV files WITHOUT stutter on UEXX5000
It would be interesting to hear if anybody have a Samsung D-series UExx500x, who can handle MKV files without stutter with Servioo, in a wired system.
Or if you have the same problem, please write your experience about it in this thread.
Last edited by boink on Thu Feb 09, 2012 6:51 am, edited 1 time in total.
Re: MKV files stutter.
can someone capture packets of browsing to the file and few seconds of playing in tvmobili? it's possible they're using other mime-type that stream the file differently.
Petr
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Who is online
Users browsing this forum: No registered users and 36 guests