Sunday 25 October 2015

Stutters only while streaming (probably NOT the bandwidth issue).



I use a file manager like ES File Explorer to locate a video file on a Windows Network Share and open it with MX Player. The file manager seems to convert Windows Network protocol into HTTP, and then passes the address to MX Player.

I have the following problems:
* For some files, streaming by the aforementioned configuration makes the video stutter. When the same file is copied to local storage and played it plays fine. This is irrelevant whether HW or SW decoding is used.
* For some files, HW decoding does not work at all when streaming or works but stutters and sometimes stops. When the same file is copied to local storage and played, HW decoding works fine.

First of all, I think it is not a bandwidth problem. It is a 300Mbps home Wi-Fi network, and the actual PC to Android copy speed is over 7MB/s (megabytes ) in ES File Explorer.
Secondly, to be fair, it does not seem only the problem of MX Player. For those problematic files, I tried VLC, Gom Player, Good Player, etc and they all had the same symptom.
Thirdly, it does not seem to be a problem of specific device, manufacturer, or low-end CPU. This happens on all my android devices, some of which are quite high-end devices.
Fourthly, it does not seem a problem of a specific streaming software (this case, ES File Explorer), because it happened with other file manager applications or direct HTTP/FTP streaming from a computer in my home network.
Finally, it does not seem to be the problem of video resolution either. Some 1080p/720p video files do not have this problem, but some 1080p/720p files do. For example, one video file that stutters when streaming is just a small 720p video whose video bandwidth is only about 2Mbps and audio bnadwidth is about 160Kbps. This is far below my 7MB/s copy speed.

This problem has been bugging me for more than a few years and I still cannot get a solution. It could be Android's problem because, even a low-end Windows laptop and an old Macbook can play those problematic files just fine. But those are not tablets, and I want to play them on tablets.

Do anyone of you have the same problem? Is there any solution to this other than transcoding or re-encoding the files?



No comments:

Post a Comment