How long is the livestream pause buffer? What happens when it’s full? - MX Player

When playing livestreams over the internet, it’s possible to press PAUSE in MX Player.
The stream will pause and you can later press PLAY to resume from the moment you were paused at!
But this is super mysterious to me?
- WHERE is it buffering? To RAM? To hard disk?
- HOW LONG is the pause buffer? After a while the RAM/HD will become full! But MX Player doesn’t indicate that space is running out! And of course, pausing a HD stream would need a lot more data (per second) than an SD stream. But right now there’s no indicator at all for how full the buffer is. Not even a ”132mb of 400mb used” indicator.
- WHAT happens if the buffer gets 100% full? Does the video auto-begin playing again (slightly before the buffer is completely full) to prevent 100% full RAM/HD? If not then MX really would benefit from code that auto-plays as soon as the buffer is 90% full, to avoid system crashes or data loss from being completely full and not leaving anything left for the rest of the system!
Very curious!
Best Regards

svartchimpans said:
When playing livestreams over the internet, it’s possible to press PAUSE in MX Player.
The stream will pause and you can later press PLAY to resume from the moment you were paused at!
But this is super mysterious to me?
- WHERE is it buffering? To RAM? To hard disk?
- HOW LONG is the pause buffer? After a while the RAM/HD will become full! But MX Player doesn’t indicate that space is running out! And of course, pausing a HD stream would need a lot more data (per second) than an SD stream. But right now there’s no indicator at all for how full the buffer is. Not even a ”132mb of 400mb used” indicator.
- WHAT happens if the buffer gets 100% full? Does the video auto-begin playing again (slightly before the buffer is completely full) to prevent 100% full RAM/HD? If not then MX really would benefit from code that auto-plays as soon as the buffer is 90% full, to avoid system crashes or data loss from being completely full and not leaving anything left for the rest of the system!
Very curious!
Best Regards
Click to expand...
Click to collapse
MX Player never loads the complete file into buffers. The buffer size is dynamically determined based on the available RAM. So, it's less likely to cause such system-level crash or data issues. If you are facing any issues, please provide us with more details so that we can assist you better.

MXPlayer said:
MX Player never loads the complete file into buffers. The buffer size is dynamically determined based on the available RAM. So, it's less likely to cause such system-level crash or data issues. If you are facing any issues, please provide us with more details so that we can assist you better.
Click to expand...
Click to collapse
Thanks for clarifying that it uses RAM and that it limits itself to prevent crashes! Great!
Well I did some testing to see what happens if I leave the player paused for a long time, on live TV streams: When I try to resume it fails to continue pulling data from the stream, and I end up with a black screen.
This makes me worried about pausing and makes it hard to relax. Do you think it would be a good idea to add an optional setting to allow MX to auto-resume when the buffer is full in LIVESTREAM mode (only)? So that the person no longer risks losing their whole playback if they wait too long.
Basically: User pauses live TV for a few minutes, and the buffer becomes full so it auto-plays and continues from the buffer, while continuing to buffer new livestream data, to ensure that the user never gets a black screen/data loss gap.
I would also think a pause buffer % display would be useful when pausing livestreams. So the user can see it fill up and estimate how much time they have left to pause.
Lastly, the ability to fast forward in the livestream pause buffer would help too.
Well this is sounding like a list of feature requests. Hehe...
Anyway, try playing live TV streams and pausing in MX. You’ll see that the experience is pretty unreliable. Oh well it’s not a huge problem.

Related

stream buffering customization

i want to customize the stream buffer and need some guidance
specifically, radio streaming apps that i've used seem to not have a very large buffer size, and if the network speed drops (as it usually does while moving in a car) once the buffered data is played through, the sound stops, until enough of a buffer is filled, and the network speed is better again. Then it starts playing again, that is, unless the player background service has been stopped.
i think that this could be greatly minimized if the stream buffer size was ALOT bigger. i'm willing to wait a bit at the beginning of my streaming experience for the sound to start playing. if it means that i wont get any stoppages in play, im willing to wait at least a minute or so if i have to. i dont care.
so, the question is, where is this value of buffer size being set? in the music player? in each individual app? in the kernel? wtf? where is it? libmediaplayerservice.so?
i have searched the forums, and have not found this answer
found these: http://developer.android.com/reference/java/io/BufferedInputStream.html
http://developer.android.com/reference/java/io/InputStream.html
http://d.android.com/reference/java/io/PipedInputStream.html
and cant make heads nor tails out of them.
i'm a "cut and paster" and im not bad at it
but unless i know where to cut and paste, im lost (usually)
hey, an app or setting that allows one to choose the buffer size (if it is a global setting) would be awesome, maybe something for spare parts if thats possible

[Feature Request] Minor requests for options to improve resuming videos

Option to show the resume position out of the video duration
An option in View -> Fields (or by default) to toggle an additional text field that shows the time the video will resume at, as well as possibly a progress bar at the bottom of the thumbnail that illustrates how much of the video has been watched. As reference, DicePlayer has this feature and for how relatively straightforward it is, it is very helpful.
Option/change to "finish watching" the current video when skipping to next
An option in Settings -> Player that either toggles between the current behavior and automatically completing the current video when skipping to next, or possibly a slider that automatically "finishes" the video if the user skips to next with the seek position at least 0-100% of the total duration. Skipping to the next video currently marks the current position in the video to resume at later, which has its uses but it poses a small, continuous inconvenience when used for entertainment in conjunction with always resuming. I typically don't even use the Next button anymore, instead manually seeking to the end of the video to mark it finished and reset if viewed again before continuing to the next video.
Option/change to more aggressively save resume positions
This may not affect others, but I have noticed that if the app is closed unexpectedly or perhaps if the device is shut down, the current resume position will remain the same and only updates when the video is paused or exited from within the app itself. While this doesn't occur often, it is still fairly inconvenient (especially for long videos, which would be annoying for things like podcasts or audiobooks). Either as a universal or optional change, update the resume position regularly (optional and/or longer intervals if it poses a performance/IO issue) as well as when the user "properly" pauses/exits the video.
I've used MX Player Pro quite a lot now, so I appreciate the work put into it. These suggestions are in response to some pet peeves I've had with resuming videos and would love to see any and all of the above implemented! Thanks!
I must thank you for this helpful post, let me try the instruction posted above!
EdwardSmith36 said:
I must thank you for this helpful post, let me try the instruction posted above!
Click to expand...
Click to collapse
Note that the post is suggesting the options/instructions listed. They're not implemented in MX Player as far as I'm aware. Sorry! I'd like to have them, as well.

[Feature Request] Saving audio position time interval

Hi, great player but my phone is not very stable and app gets killed for some reason or another,
so I would welcome to be able to set automatic position saving to lets say every minute or so.
MX Player does save your latest time position, but it's retrieved only if paused or closed properly.
Thanks
urpi_ said:
Hi, great player but my phone is not very stable and app gets killed for some reason or another,
so I would welcome to be able to set automatic position saving to lets say every minute or so.
MX Player does save your latest time position, but it's retrieved only if paused or closed properly.
Thanks
Click to expand...
Click to collapse
Kindly provide more info about the device. We might be able to fix, if we can get more info about the issue & the affected device.

Video lags/buffers/stutters while streaming from online app

No matter which size, format or online url I use, the video eventually starts lagging. I have switched between HW+, HW and SW decorders as well but to no avail. I’m not allowed to either attach a file or a url as of now in this thread. I have even reduced the cpu cores to just two. I’m also using the codecs on this site for 1.9.18.2.
I’ve installed MX Player on my Sanyo Android TV running Oreo. The specs of the TV, video and player should be available from the logs. Please help me either force the player to keep caching the entire video until it’s done (if that’s the problem) or find a way to get the best possible configuration for decoding the videos. Thanks, I’m advance.
yohu123 said:
No matter which size, format or online url I use, the video eventually starts lagging. I have switched between HW+, HW and SW decorders as well but to no avail. I’m not allowed to either attach a file or a url as of now in this thread. I have even reduced the cpu cores to just two. I’m also using the codecs on this site for 1.9.18.2.
I’ve installed MX Player on my Sanyo Android TV running Oreo. The specs of the TV, video and player should be available from the logs. Please help me either force the player to keep caching the entire video until it’s done (if that’s the problem) or find a way to get the best possible configuration for decoding the videos. Thanks, I’m advance.
Click to expand...
Click to collapse
Hey Yohu,
Thanks for reaching out. Generally, this may happen due to inadequate bandwidth. If your bandwidth is good enough, the server might be throttling itself. Several online streaming apps make use of the cloud storages as an alternative to CDNs. If it is the case with you, it might be due to the bandwidth limitation on the cloud storage side.
We will be able to assist you if you can provide us with more information. Could you please collect a bug report from the app immediately after noticing the issue and contact us at [email protected] along with the details about the app used for streaming? It will help us to assist you better.
MXPlayer said:
Hey Yohu,
Thanks for reaching out. Generally, this may happen due to inadequate bandwidth. If your bandwidth is good enough, the server might be throttling itself. Several online streaming apps make use of the cloud storages as an alternative to CDNs. If it is the case with you, it might be due to the bandwidth limitation on the cloud storage side.
We will be able to assist you if you can provide us with more information. Could you please collect a bug report from the app immediately after noticing the issue and contact us at [email protected] along with the details about the app used for streaming? It will help us to assist you better.
Click to expand...
Click to collapse
I agree. My bandwidth is a 50Mbps broadband line. I downloaded a 1080p video and played it via MS Player offline. It didn’t lag/stutter even once! Then I changed the online source from where I was streaming videos and voila! The stuttering and lagging were permanently fixed. Thank you for the quick response. This thread/issue is resolved/closed.

Make MX Player Pro halt/pause at the end of each video.

Even as an 5+ years' MX Player Pro user, I still struggle with the limited options available for the end of video behaviour, which are:
(a) return to the media list, or
(b) run into the next unrelated video(*).
They go well along with media junky habits. However, both options feel awkward if you want a smooth, immersive, zero distraction experience, watching nothing but this one deeply moving masterpeace, today.
There definitely should be an option that
(c) simply halts playback at the end, showing a still image of the last frame
- just as you see a still image of the first frame at the beginning, i. e. before starting playback.
I'm stunned that apparently, this natural preference is neither considered nor discussed (publicly). I would greatly appreciate if it was implented!
Thank you!
(*) with or without having to anwer a popup question
(note: I've made a similar post to the FAQ thread, it didn't get blessed with an answer.)
It's a trip no one has responded to this. I have exactly this same wish. Every other video player I've used has an option to simply stop the video at the end or repeat it. MX Play has neither option. Don't
know why.
MikeO89 said:
It's a trip no one has responded to this. I have exactly this same wish. Every other video player I've used has an option to simply stop the video at the end or repeat it. MX Play has neither option. Don't
know why.
Click to expand...
Click to collapse
Thanks for your valuable comments. We would like to let you know that MX Player already has the option to loop the current file. Request you to enable the loop one function from the quick shortcuts on the screen or from the play menu.
With regards to stopping it on the last frame, we regret to inform you that it is not prioritised as we found it useless in most of the common use cases and will unnecessarily keep the decoder component active. However, you can enable the "back to list option" to close the player and return to file list on completion of the playback.
Trying to get used to this app and just can't do it. As far as I can tell this app wants you to do everything within the app like start a movie for example. It doesn't work as well when starting a video from outside the app. For example clicking on a movie from say the Gallery app. After playing a video, I want it to return to the app I came from but mxplayer wants to return to it's own videos list. I have tried to get a refund but the option is no longer there in the Google Play Store. I have uninstalled this app. Can I get a refund?
Edit: Never mind, got a refund. I'm good.

Categories

Resources