Stutter with MX Player + BubbleUPNP when playing videos over WIFI - Transformer TF300T Q&A, Help & Troubleshooting

Hi All,
Have lots of stutter playing a video over my local WIFI. Video is 6Mbps (720p). When copied to external SD card and played from there, it's smooth. So I'm pretty sure this indicates my hardware and MX Player is all fine. I'm using the KitKatt 4.4.4. ROM.
Things change though when I play this through BubbleUPNP (source is minidlna on FreeBSD). No transcoding should take place. Then I get lots of stutters. Have also tried to play this by using File Manager HD, connect with sftp and open the video directly. Probably plays slightly worse.
Does not seem to be a CPU issue, I watched this with top, load tends to stay around 0.7, sometimes getting up above 1, but can't find much relation to stutter. CPU is around 23-40%, with 60% idle.
You would say this indicates a network performance issue. Have the tablet is within a few metres of the Netgear R6300 route I have, and distance doesn't seem to matter too much. When using a tool like Speedtest.net I hit 17Mbps over my ADSL network, so WIFI doesn't seem a limiting factor. I've even tried iperf, I get 19-33Mbps when doing that (so from tablet to my minidlna server).
I tried copying the file with File Manager HD to my external SD card, but felt slow, i.e. perhaps even less then 1MB/s. But that could be File Manager HD or the write speed to my SD card, not sure.
Other things I've tried: different player, doesn't make any difference.
I'm grateful for any suggestions people may have. Playing a 720p video over a DLNA network shouldn't be this much trouble.

Some more observations: on an old laptop, link speed 54Mb/s, I have an iperf value of 34.6Mbits/s. If I do an rsync of a 1GB file I get 2.88MB/s, so quite respectable values.
Have installed "WiFi Speed Test" on my TF300T and get 21.91Mbit/s with the tcp client test (download), which is quite respectable, and perfectly in line with other tests (AnandTech for example). However, when I do the smb client test, I get between 5Mb/s to 6.5MB/s.
Using rsync, if I download the same large file as with the laptop using rsync, I get about 1.67MB/s.
So clearly I have an issue with this tablet or ROM, not with my wifi network it seems.
Keen to hear "WiFi Speed Test" values from anynone, especially SMB/FTP values. The problem doesn't appear to be with simplistic tests (iperf), but any more complex network protocol is a lot slower. But having said that, 1.6MB/s should be enough to play 6Mbps video, but possibly the rate may not be sustained enough. Continuing the investigation.

If on your link you only get 5Mb/s to 6.5MB/s. on the smb test , it's kinda expected that your 720P / 6Mbs video will stutter, especially if it's variable bitrate or when the network fluctuate.
smb protocol has a lot of ovverhead and tends to behave badly on wifi / latency so you get less throughoutput on smb than rsync or a direct tcp test
If you don't need transcoding, you will be better to mount the smb share natively (use something like cifs manager for example) and play it directly from there.
Playing a video through the file manager's sftp or smb own libs is less efficient and will tend to give stutters every now and then as its process goes in background while the video is played in foreground.
As for stats: on a 65 Mb/s wifi link I get the following on my TF300T:
tcp client: 43.6 Mb/s
rsync: ~17Mb/s
native smb: ~12Mb/s
wifi speed test smb: ~8Mb/s
file HD manager smb: ~5Mb/s

timduru said:
tcp client: 43.6 Mb/s
Click to expand...
Click to collapse
Yeah, that's twice of what I get, so all your numbers are double of mine. Maybe it's my Netgear router?? I'll test against a different WiFi router.

On a Samsung Galaxy Note 3 I get 26 Mbps - 47 Mbps. Considerable fluctuation.

I have now tested the tablet against another R6300, no nearby wifi, performance worse then I have at home, and at a company wifi network, also not so good.
I then replaced the firmware with the latest DD-WRT, nothing much seemed to change.

I have no wireless security enabled on my network as all clients use openvpn. I then switched to using WPA2+AES, and turned off openvpn. Suddenly I started to see numbers much more similar to Tim's.
Obviously I had tested with and without openvpn against stock firmware, but that didn't seem to make much of a difference. And the fluctuation was always considerable. But with DD-WRT it seems to make quite a difference. Hit 40Mbs with wifi speed test tcp client pretty regularly.

However, it didn't make any difference with playing the video! But thanks to DD-WRT I now have graphs for bandwidth monitoring. What I saw was spikes of 40-60 Mbps for several seconds, then nothing for several seconds, then it spiked again. What it seems to me is that the MX Player, or more likely BubbleUPnP client, has problems prefetching the content. It simply doesn't do it consistently enough at 6Mbps, causing stuttering, because when the buffer is empty, it can't fill it fast enough for a second or two.

Related

Data Transfer Rates

Hey guys, I apologize if this has been posted elsewhere. Basically, I'm having an issue with data transfer rates over both Wifi and EVDO. The maximum transfer rate I seem to be able to pull out of my Touch Pro is ~65 KB/s over BOTH my home Wifi connection (which gives me speeds of up to ~600 KB/s through convention CPU use) and EVDO (my "theoretical bandwidth is much higher than ~500kbps or 50-65 KB/s I am getting).
The questions are :
1) Is this the type of speed I should be expecting with a mobile device?
2) If so, is it due to the file system speed/cpu speed/etc?
3) If NOT, are there tweaks (akin to, for example, increasing the receive window/MTU on a PC) that will increase my speed?
Although I do transfer files over my home network, and achieving the ability to transfer at 54mbps would be nice, I am more concerned with my internet file transfer speeds!
Any help would be greatly appreciated...
bumped...because i know someone out there must know the answers
I just want to add my voice to this comment in case it's related. I can't speak for EVDO but I seem to have odd rate limiting issues over WLAN.
Streaming video over WLAN I average about 700kbps except for the occasional burst to 4500kbps while buffering (using TCPMP).
Watching youtube videos I get a pretty steady 100kbps (way better than the 64kbps limit I get while active synced).
Using NATF 2.3 ROM with fixed video drivers.
Surprised there isn't more input here. I have the same issues in that I basically get faster connectivity from 3G than wifi..why is that?
Wifi performance is so bad I can barely watch my slingbox over wifi or even complete a VoIP call without significant breakup due to lost packets.

[Q] Need advice on transfer speeds/video recording

Hoping someone could shed some light and/or point me in the right direction. I just go my TF and upgraded to the latest stock firmware from ASUS. I am having two issues that may or may not be unique to me, one being almost a deal breaker for me.
1) My wifi speeds are running below my expectations. I am measuring around 11Mbits/s reads, while using various SMB explorers. I have run internet speed tests that have measured around 20Mbit/s reads from the stock browser though. I am running on a wireless 54 Mbit/s g-router. While I didn't expect 54Mbit/s, I did hope for the 30ishMbit/s I have been getting with various laptops.
My concern mainly lies with video streaming from my NAS as 11 Mbps is borderline for my uses. I am getting those transfer rates from the NAS and from my Win7 setup as well. My hope is that the SMB file sharing apps aren't optimized and I can wait it out and hope to get at least the 20 MBps rates that I am seeing from the internet speed tests. Should I try to throw in a wireless N in to the mix and if so besides WEP (which I assume is limited to 54mbps) is there any other encryption that the TF supports over WiFi? I ask so I can research the best match wireless -n access point for the TF. I don't see the ability to change the authentication/encryption as the 'Advanced' tab on the TF settings is greyed out.
2) I am getting significant audio sync issues while recording video. Playback of video is smoother with the new firmware but I see an occasional stutter. I could live with that if the audio stayed in sync (playing back with built in player and mobo). THis one is not a dealbreaker as I will rarely use the video but I am concerned this is an issue with my device. The realtime playback during recording is terribly stuttery (though this isn't a big deal since the playback is far smoother).
I haven't rooted yet but has anyone used cifs.ko successfully and seen better transfer rates than some of the SMB implementations in terms of transfer rates?
Thanks for any advice on routes to go or just general confirming that these are issues you don't see.
Anyone able to chime in on this for me?
1) It sounds like you need to upgrade your wireless hardware. WEP is easily crackable nowadays by anyone who googles how to do it, and has been for a while. WPA2 is usually a much safer option if your equipment doesnt support it then its probably time for an upgrade. Wireless N routers are pretty cheap nowadays via ebay, so there's not really any reason not to get one (I've bought a few for around £5 each on there). It should increase your throughput dramatically, and increase the range you can use your wifi devices at. I'd also advise setting up MAC filtering and hiding your network from prying eyes if you do all this to make it more secure. Plenty of guides on the net for that, and it's very easy to do.
2) I don't get the audio sync issues you have, but then the quality of the audio via video recording is terrible, so I've not used it much. I've yet to try this, but perhaps plugging a microphone into the headset jack will help with your sync issue, just an idea to try. And if it doesnt help then perhaps another app would.
thanks for the reply.
I will try both suggestions.
stuntdouble said:
1) It sounds like you need to upgrade your wireless hardware. WEP is easily crackable nowadays by anyone who googles how to do it, and has been for a while. WPA2 is usually a much safer option if your equipment doesnt support it then its probably time for an upgrade. Wireless N routers are pretty cheap nowadays via ebay, so there's not really any reason not to get one (I've bought a few for around £5 each on there). It should increase your throughput dramatically, and increase the range you can use your wifi devices at. I'd also advise setting up MAC filtering and hiding your network from prying eyes if you do all this to make it more secure. Plenty of guides on the net for that, and it's very easy to do.
2) I don't get the audio sync issues you have, but then the quality of the audio via video recording is terrible, so I've not used it much. I've yet to try this, but perhaps plugging a microphone into the headset jack will help with your sync issue, just an idea to try. And if it doesnt help then perhaps another app would.
Click to expand...
Click to collapse
don't want to hijack but i have been using a netgear dg834 and am looking for a new router and a way to improve security as i use my wireless a lot more now so any links to tips or recomends for routers would be greats
combat goofwing said:
don't want to hijack but i have been using a netgear dg834 and am looking for a new router and a way to improve security as i use my wireless a lot more now so any links to tips or recomends for routers would be greats
Click to expand...
Click to collapse
Any well known brand (such as Belkin, Netgear, Linksys, Buffalo) will do you fine. Just check out their product page from the manufacturers website before you buy. Things that it should have as basic specs are a NAT firewall, 256bit WPA2 encryption, 2.4ghz operating spectrum and obviously compatibility with your current operating system. An easy to use setup is always a must for those not very confident in their tech abilities.

[Q] What speed are you getting to your 802.11n router?

So I've got the TF connected to my 802.11n router (Conceptronic, C300BRS4 if it matters) and the tab reports a link speed of approx. 65-70Mb/s (found from Wi-Fi settings > tap on access point).
I've been trying to get a proper network video streaming setup to work from my desktop (hooked up to the same router at a standard 100Mb/s ethernet) but I can't get anything to stream smoothly without pauses. I'm using Plex, but I've tried a few others with similar results.
What speeds are you getting? Is there anything I can do to improve streaming over my home network?
Thanks!
Plex works fine for me, no pauses whatsoever. I'm on an 8mb/s line with a gigabit router and computer.
What kind of file are you trying to stream? Pretty sure the better the computer the more smooth it would be.
I can't seem to see what speed its transferring on my tf. Can you explain exactly what to press.
The PC is a relatively modern quad core, 4GB RAM etc. When I use the transcode option in Plex the CPU usage hovers around 50-60%, so it's definitely not maxed out. I'm trying to stream regular old AVI files, nothing fancy. Haven't even bothered trying MKVs and HD stuff.
The router isn't a gigabit, it's one of the old 100Mb/s connections. Maybe the bottleneck is there?
As for the TF link speed, go to Wireless & Networks > Wi-Fi settings > tap on the router you're connected to.
Quality: Excellent, Speed: 72Mbit/s

WIFI slow

Good Morning,
By connecting the NAS via wifi network, the notebook can transfer files at a speed of about 4-5 MB/S, but through our ASUS TF700T can transfer files at a speed of about 1.7MB/S.
How come?
What do I need to set to be able to speed up data transfer and watch movies smoothly?
Thanks
Will have to test later.
I wonder if asus have reduced the power consumption in 4.2.1? If so that could explain what you are seeing as the signal strength is not as strong.
I can try to test the old power profile to see if it helps.
Thanks for the answer, great sbdags!
I tried the wifi with the NAS both your CROMI 3.6 JB 4.1.1 and then with Asus Stock 4.2.1 but it was always so slow.
Tonight I try to remove the fuel consumption.
MarkAndroid said:
Good Morning,
By connecting the NAS via wifi network, the notebook can transfer files at a speed of about 4-5 MB/S, but through our ASUS TF700T can transfer files at a speed of about 1.7MB/S.
How come?
What do I need to set to be able to speed up data transfer and watch movies smoothly?
Thanks
Click to expand...
Click to collapse
sbdags said:
Will have to test later.
I wonder if asus have reduced the power consumption in 4.2.1? If so that could explain what you are seeing as the signal strength is not as strong.
I can try to test the old power profile to see if it helps.
Click to expand...
Click to collapse
Wifi Advanced settings, untick WiFi optimizations maybe?
Yes, I try to uncheck that option on by default.
Our Asus has wifi "n" right?
How should transfer the data?
Yesterday I tried to transfer the data by removing the option of saving the wifi but the speed remained the same.
I noticed that the netbook and the notebook clamp the signal at 150 Mbps while the TAB anchors it to 65 Mbps (of course in the same room).
How come the TAB does not manage to connect with full signal?
There is a program that allows you to vary the parameters of the wifi inside the TAB?
Netbooks and Notebooks connect to 150 Mbps regularly!
MarkAndroid said:
I noticed that the netbook and the notebook clamp the signal at 150 Mbps while the TAB anchors it to 65 Mbps (of course in the same room).
Click to expand...
Click to collapse
65Mbps is the maximum speed the TF700 can connect at.
In my experience this does not matter though as the max short burst speed achievable is ~55Mbps as shown in perfmon when writing to class 10 sd. It is lower than this when writing to internal storage. Max sustained speed I get over wifi is using andftp which gives ~50Mbps.
50Mbps over WiFi? You are lucky boy! I can confirm very poor and inconsistent WiFi performance. Speedtest.net is reporting odd results and also data transfer from my home NAS varies. Based on Speedtest.net WiFi speed is mostly 1-2Mbps occasionally nearing 30Mbps. My PC wired to same router is pulling files from internet easily at 60Mbps and from local NAS much more faster. I also tried factory reset to have rooted clean 4.2.1, but it does not helped. Also AnTuTu benchmark is not giving consistent test outputs on my tablet so I am assuming that this could be related to some newly introduced bug.
I have 65 Mbps data transfer via the Internet, but not as a hook to the router.
The netbook hooked to 150 Mbps and Tab 65
The netbook on the NAS transfers data at a speed of 10 MB / s while the TAB to 1.7 MB / S!
I thought that at least 5 MB / S arrived safely
garfield_cz said:
50Mbps over WiFi? You are lucky boy!
Click to expand...
Click to collapse
I should clarify. I also get very low speeds using samba transfers. Max of about 30Mbps. I only see 50Mbps when using ftp (from local media server) to my 64gb class 10 sd card fomatted to ntfs. If I format to exfat or other I can't achieve as high a transfer speed.
After updating to 4.2.1 I had very low speed and it didn't improve until i cold booted twice.
I have nearly all 1080p mkv's on my files server and these can be up to 25GB in size. The only way I have found to reliably stream them from my server without stuttering is to use the FTP function in dice player.
From my point of view the problem lays in inconsistent WiFi speed. I can live happily with steady 10Mbps transfer speed for sure, but problem is that sometimes it is 30Mbps and sometimes only 2Mbps or even less, both on same network and router :silly:

Moonlight game streaming stutters on WiFi

Anyone tried Moonlight game streaming (aka NVIDIA GameStream) on their U11?
Long story short, the U11 seems to have issues streaming over WiFi where other lesser Android phones do not.
1) No matter what the bitrate, I get constant stuttering and the audio is very choppy on the U11.
2) My AC1900 network pushes well over 200Mbps with 3ms latency on speed tests on the phone.
2) It DOES work perfectly with a USB ethernet adapter. I can set set Moonlight to 1080p 60fps @ 40Mbps and it streams fine - no audio issues, no frame drops.
3) My Surface 4 (Moonlight Chrome plugin) and Nexus 5X (!) (same Moonlight Android app), can stream nearly perfectly at at least 20Mbps on the same network.
4) Even a crappy Moto E streams pretty smoothly @ 10Mbps on 2.4Ghz!.
So to me this clearly seems like a WiFi latency issue specifically with the U11....
I've tried:
1) Both 2.4Ghz and 5Ghz bands, same result.
2) 2 different AC1900 routers, same result.
3) Enabled "High performance mode" in developer options, same result.
What I'm wondering is, what happened to the "WiFi optimization" setting on the phone - did that get removed in the Oreo update?
Has anyone encountered something similar - wondering if maybe someone on a non-stock ROM/kernel has any different experiences?
I'm mostly just pissed that it works perfectly fine on other Android phones, but not the U11.
EDIT: Factory reset the phone and it resolved the issue.
Try an app called boost+ by htc. You might ha e too many programs battling for ram.
Try checking your Internet settings. Most carriers won't let you change this but a speed testing app might help find the bottleneck.
Try an app called adguard. Lots and lots of adservers run in the background without you knowing. Even when offline they still keep pinging and retrying until they get a connection. Adguard will blackhole them.
High performance mode shouldn't be necessary as when off battery saver it runs at full tilt anyway. When you play on data plan deactivate wifi completely. That will stop the phone constantly pinging wifi.

Categories

Resources