Page 1 of 1

Video playback stuttering on remote access via internet

PostPosted: Mon Feb 09, 2015 10:25 am
by Clumsy007
Hello!

I am facing an issue playing videos (movies and tv shows, in first place) with mediabrowser and serviigo on remote access via internet. The video starts playing but after ~10sec to ~3min (seemingly depending on filesize/videoquality, bigger=earlier) it stucks or keeps stuttering and loading every few seconds.

I have 7,5Mbit upload and can stream to twitch in HD (3500kbit) for hours without any frameloss, so i doubt its my connection.

Maybe important to mention. It worked fine during the evaluation period under 1.4.1. The problem showed up since pro license and 1.5.

I installed a bandwithmonitor on the serverside. While the playback is working properly i have around 2000kbit/s upload but when the stuttering starts it breaks down to 500kbit/s for a few moments.
On both sides of the connection are cablemodems with fixed IPs 75Mbit download and 7,5Mbit upload.

In the local environment of the serviio server all is working fine.

I am a little frustrated and planless what to do, because the same files that played properly during evaluation suddenly dont play anymore. I havent changed anything in the setup.

Can anyone help me out?

Re: Video playback stuttering on remote access via internet

PostPosted: Mon Feb 09, 2015 1:42 pm
by zip
So the fact it's evaluation vs pro will not make any difference. 1.4 vs 1.5 might, so you could try to retest with 1.4 and compare results.
Having said that, the fact that it works locally (I assume you tried from another PC on the same LAN) means the problem is not likely to be with Serviio.

I'm not sure what protocol Twitch uses, but it might not be HTTP - there could be some additional processing of HTTP on your routers (just thinking out loud) that would make the difference. Also, Twitch may adapt gracefully to bandwidth loss, where Serviio via the simple HTTP streaming doesn't.

Re: Video playback stuttering on remote access via internet

PostPosted: Sun Feb 22, 2015 5:01 pm
by Clumsy007
Hello again!

I ignored the issue for the last 2 weeks because i was hoping it would resolve itself - had no luck with this strategy.

Yes local environment meant: Desktop Computer where Serviio is running, LAN attached to a Technicolor TC7200U cablemmodem/router; Samsung UE46F6500 also attached via LAN to the router; occasionally i use the MediaHouse App on my Samsung Galaxy S3 to push Mediafiles from Serviio on the TV (via WLAN), and also very rarely i watch via the Serviio Merdia Browser on a Notebook via WLAN. This is all working properly. FullHD movies with 8GB filesize doesnt cause any issue.

The problem comes with streaming over the internet. During evaluation (under 1.4.1) i watched serveral movies and Episodes of TV-Shows and had no problems with buffering. I even used the ServiiGo App to start a video with the Videoplayer of my Galaxy S3 and pushed it on a Samsung UE37ES6300, whats pretty cool actually :D
And then at some point the buffering issue begun, nothing changed in the setting. I am not 100% sure if i already had updated to 1.5 but i for sure alreday had purchased and activated the pro license (i know you said it makes no difference, i just want to tell the whole story ;)

So what i want to know is if i can change any settings or buffersize, open more ports or do anything else to get this working. As i mentioned in the post above the bufferingissue starts earlier if the filesize is bigger, what makes me guess it has to do with buffering. In case of an 700MB avi movie i can almost watch 3min before buffering starts. At a filesize of 2,4GB it already starts after ~20sec. After some seconds of buffering its playing for some seconds and then its buffering again and so on. This happens in the MedieBrowser as well as on the bypassed TV connection.

I searched this forum and the FAQ a little and found the Supported system properties page
could serviio.socketBuffer solve the issue? i also dont know how to use this property... just add "serviio.sockerBuffer = 512000" to the file ServiioService.exe.vmoptions in the bin folder of Serviio?
I also read something about updating the FFmpeg executable? could this help?

I would really appreciate your advice!

Re: Video playback stuttering on remote access via internet

PostPosted: Sun Feb 22, 2015 5:14 pm
by zip
That would not make any difference, as it works locally ok.

Re: Video playback stuttering on remote access via internet

PostPosted: Mon Feb 23, 2015 12:22 am
by atc98092
I suggest using http://www.speedtest.net and determine your upload link speed. EDIT: whoops, I just reread your initial post. In theory you should have sufficient bandwidth. Test it again just to be sure.

Most people at home have asynchronous speeds, meaning they can download far faster than upload. Before my latest speed bump, my upload speed was under 1 Mbps, which is too slow to stream anything. I currently have 5 Mbps upload, which is sufficient for most of my videos.

Remember there is a setting in MediaBrowser that you can select a lower quality picture to help overcome this sort of thing. It's up to you if the reduced resolution is worth it, though. Depending on what you're watching, it may or may not be an issue.

Re: Video playback stuttering on remote access via internet

PostPosted: Mon Feb 23, 2015 2:12 pm
by Clumsy007
I tested with speedtest.net several times during the last month. It always showed ~10ms ping and slightly above 75Mbit download and 7,5Mbti upload (what are the specs of my internetproduct). I actually have the best internet i can get, there are products with higher bandwith but its the best provider.

Lower video quality isnt rly what i want because it takes the fun of watching movies :-/ I think i tried it once (will try it again) and it also bufferd... i rly dont think its a bandwith issue, since it should only use 1/4 of my upload.

I also asked a friend to try out watch some video via internet/mediabrowser and the same thing happened, so i guess it is a serversided issue. It's a pretty new Desktop PC with an Intel 4790, harddrive is a WD red Sata III (6Gb/s) and a Killer e2200 PCI-E Gigabit Ethernet Controller.

Can i download a previous version of serviio somerwhere to test it out? I dont have the exe anymore.

I just took a look in my networkmonitor tool and recognized that java.exe ist listening to the port i forwarded in my router for serviio. is this legit? i uninstalled java now as i know it is not the savest peace of software. i will test the internet replay later.

any other ideas what i can do?

Re: Video playback stuttering on remote access via internet

PostPosted: Mon Feb 23, 2015 11:55 pm
by atc98092
It is possible to download an older version. I don't have the link, but I've seen it posted before so someone can offer it up.

I completely understand not wanting to downgrade the video quality. I have no idea what the bandwidth requirements are for streaming the MediaBrowser. I would agree with you that your current connection should be fine. When I've been traveling I've always been limited by the hotel speed, which is usually 1Mb or less. I just received a new hotspot to replace my old air card, and I've tested it at around 15Mbps (4G), so my next trip I'm looking forward to trying it out. I've always had to reduce my resolution to be able to watch anything before.

One suggestion before you try a downgrade. Zip just released version 1.5.1 today, and it might be worth a shot to see it something may have fixed it for you.