Hi.
I just updated to the newest version. I love mxplayer pro. And one of my favorite things about it is the background play feature. Well it no longer works even when having it on. I am trying to play one of my videos from my Plex server and when I go to turn off the screen it no longer continues to play. Please help. Pixel XL running Android 8.0 Oreo
Frostyd241 said:
Hi.
I just updated to the newest version. I love mxplayer pro. And one of my favorite things about it is the background play feature. Well it no longer works even when having it on. I am trying to play one of my videos from my Plex server and when I go to turn off the screen it no longer continues to play. Please help. Pixel XL running Android 8.0 Oreo
Click to expand...
Click to collapse
Can you collect a bug report immediately after reproducing the issue and share here?
It will help us to identify the root cause.
Thirumalai.K said:
Can you collect a bug report immediately after reproducing the issue and share here?
It will help us to identify the root cause.
Click to expand...
Click to collapse
I am in the same situation (Pixel XL, MX Player Pro, just updated to Oreo) and background play stopped working. However, this does not consistently happen unless I am connected to a Bluetooth speaker.
I use MX Player for audio only often. This is the easiest way to reproduce the problem:
1. Connect to Bluetooth (in this case I have an Amazon Tap and I tell Alexa to connect to my phone).
2. After connecting start an MP3.
2. Press the power button to turn off the screen.
3. Wait a few seconds and the audio will stop playing.
4. Swipe to look at the notification for MX Player and note that the time in the MP3 is incrementing but no sound.
MX Player is *not* crashing. You can reopen the screen and press pause (wait) and then press play on the lock screen notification and MX Player will begin to play audio even when the screen goes back to sleep.
Note that this is not always consistent. It happens almost all the time, but I have done the above procedure and on some occasions audio will continue to play. Again, I think it happens much more often when connected to a Bluetooth speaker.
If you let me know how to collect a bug report or some sort of dev log when MX Player I will. But again, MX Player is not crashing when this happens.
I have the same issue since the last update on my nexus 5x running Android 8.
Update: it doesn't seem to happen when playing either local content, or a stream over samba. Only remote streams (I use megabox HD)
f3bruary said:
I have the same issue since the last update on my nexus 5x running Android 8.
Update: it doesn't seem to happen when playing either local content, or a stream over samba. Only remote streams (I use megabox HD)
Click to expand...
Click to collapse
This one might be different than the OP. Our developers are on it. We will try to fix ASAP.
Endroclast said:
I am in the same situation (Pixel XL, MX Player Pro, just updated to Oreo) and background play stopped working. However, this does not consistently happen unless I am connected to a Bluetooth speaker.
I use MX Player for audio only often. This is the easiest way to reproduce the problem:
1. Connect to Bluetooth (in this case I have an Amazon Tap and I tell Alexa to connect to my phone).
2. After connecting start an MP3.
2. Press the power button to turn off the screen.
3. Wait a few seconds and the audio will stop playing.
4. Swipe to look at the notification for MX Player and note that the time in the MP3 is incrementing but no sound.
MX Player is *not* crashing. You can reopen the screen and press pause (wait) and then press play on the lock screen notification and MX Player will begin to play audio even when the screen goes back to sleep.
Note that this is not always consistent. It happens almost all the time, but I have done the above procedure and on some occasions audio will continue to play. Again, I think it happens much more often when connected to a Bluetooth speaker.
If you let me know how to collect a bug report or some sort of dev log when MX Player I will. But again, MX Player is not crashing when this happens.
Click to expand...
Click to collapse
If you are not familiar about how to collect a bug report, Kindly read the sticky thread about how to collect the bug report ( https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144 ).
You can find some more detailed additional methods on our website which can be used to collect complete system logs ( https://sites.google.com/site/mxvpen/report-an-issue ).
Thirumalai.K said:
If you are not familiar about how to collect a bug report, Kindly read the sticky thread about how to collect the bug report ( https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144 ).
You can find some more detailed additional methods on our website which can be used to collect complete system logs ( https://sites.google.com/site/mxvpen/report-an-issue ).
Click to expand...
Click to collapse
Ok, I was able to reproduce this. Apparently this isn't as cut-and-dried as any Bluetooth speaker causes it. I connected this to my Amazon Echo Tap and the problem happened, so I collected the log linked here:
https://www.dropbox.com/s/ets5njs6rrm8c1l/report_2017-09-18_111234.zip?dl=0
However, I had trouble reproducing this problem with several other Bluetooth speakers, if that is relevant. It did happen before I knew how to collect bug reports but I wasn't able to reproduce it on any Bluetooth except the Tap this morning.
I'm using google pixel, android 8.0. Mx player ver 1.9.8
Music stop playing when I press the home button.
I'm not connected to bluetooth.
bingunginter said:
I'm using google pixel, android 8.0. Mx player ver 1.9.8
Music stop playing when I press the home button.
I'm not connected to bluetooth.
Click to expand...
Click to collapse
Have you enabled background play?
Can you provide a bug report?
Thirumalai.K said:
Have you enabled background play?
Can you provide a bug report?
Click to expand...
Click to collapse
After the recent update to MX Player Pro 1.9.8 I think all of the background play problems disappeared for me EXCEPT for when I am connected over Bluetooth to an Amazon Tap.
I have tried every combination (with no Bluetooth, Echo, Echo Dot, various generic Bluetooth speakers and the Tap) and I only see the audio in background problem when my Pixel XL is connected to the Tap.
The symptoms are the same and easy to reproduce. You can see the player still incrementing time in notifications but there is no audio. When MX Player Pro is brought back to the foreground audio starts playing again and the position in the MP3 has still been incrementing while MX Player was in the background.
I took another report from MX Player Pro, linked here (I can't put outside links because my account is too young, this is the rest of the URL without dropbox.com prepended...is there some other way I should do this?):
/s/y5k85v90jag0mbq/report_2017-09-20_094121.zip?dl=0
my issue still remains with background playback. Seems to only happen with remote streams.
f3bruary said:
my issue still remains with background playback. Seems to only happen with remote streams.
Click to expand...
Click to collapse
Hi,
Our developers already notified about the issue about the background play issue with remote streams. We will try to fix it ASAP.
You may set HW+ as default for network streams as a temporary workaround. HW+ & SW works as usual.
Other Issues Fixed by Android Security Patch for 5 Oct 2017
Thirumalai.K said:
Have you enabled background play?
Can you provide a bug report?
Click to expand...
Click to collapse
I wanted to follow up that any additional problems and weirdness with MX Player Pro after your initial fix have also been fixed by the Android 8.0.0 Security patch for October 5, 2017. Background play works for all cases I had issues with.
Endroclast said:
I wanted to follow up that any additional problems and weirdness with MX Player Pro after your initial fix have also been fixed by the Android 8.0.0 Security patch for October 5, 2017. Background play works for all cases I had issues with.
Click to expand...
Click to collapse
Thanks for the information
i still have got this issue.
Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
psocik said:
i still have got this issue.
Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
Click to expand...
Click to collapse
can you collect bug report right after the issue (from MX Player help menu) and share with us?
mx player background play via Bluetooth fixed
i encounter same problem in my huawei maye 10 lite oreo and i fixed in this way
go to developer option.... under MEDIA... turn on DISABLE USB AUDIO ROUTING...
now play background play in mx player...
---------- Post added at 09:30 AM ---------- Previous post was at 09:28 AM ----------
f3bruary said:
my issue still remains with background playback. Seems to only happen with remote streams.
Click to expand...
Click to collapse
in developer option search DISABLE USB AUDIO ROUTING and turn it on
I can report that playback pauses on bluetooth speakers (Anker SoundCore Mini) on AIMP player as soon as the screen turns off, but it works well with LineageOS Music player (or so I think it works). Phone in question is Galaxy S5 klte
It worked well in 14.1, but not in 15.1 ofc
I will try the baba.yoga suggestion
Latest update, lost background play ability
Frustrating. App just updated and I lost background playing, settings still the same. If I uninstall the app and reinstall, I get background playing for a hour or so, then it disappears again.
doctorc501 said:
Frustrating. App just updated and I lost background playing, settings still the same. If I uninstall the app and reinstall, I get background playing for a hour or so, then it disappears again.
Click to expand...
Click to collapse
This is caused by the new restriction when targetting the newer android SDKs. When the system force closes a foreground service (used to prevent it from getting killed when the device reaches low memory state), it can't be restarted again by the app itself. You have to completely force stop the MX. Then it will work again.
If it is possible, kindly collect the logs through ADB when the MX Player is getting killed by the system. It will help us to understand the issue.
Related
Hello, since one of the latest updates I have been having a lot of issues with mx player acting up.
The problem started when I was listening to a video without the screen on and after around 30 seconds the audio would cut out but the video would continue to run. Either that would happen or it would freeze my device.
I have been unable to get a log of that issue but I just had a video freeze on me and the player crash so I will post it below. I have uninstalled and signed up to the nightly build but still getting the same issues.
Phone - samsung galaxy s7
Rom - stock unrooted
Version - 6.0.1
MX version - nightly Version 1.8.4.nightly.20160125 (ARMv7 NEON)
Log link = h**ps://drive.google.com/file/d/0By4WsG59vc5lNG9lV0psaUVTQnM/view?usp=drivesdk
Just encountered another freeze when the screen was off and managed to get a log.
Log file = h**ps://drive.google.com/file/d/0By4WsG59vc5lVTBVVW5DZ01IRk0/view?usp=drivesdk
@Penthus
The issue seems to be from system.
AudioPolicy Server & AudioFlinger dies while playing.
Does it happens with a particular file or everywhere?
Does it happen when the player is on foreground?
Does it happens when you use HW decoder (Seems that you are using HW+)?
Sent from my SM-G900H using Tapatalk
ktsamy said:
@Penthus
The issue seems to be from system.
AudioPolicy Server & AudioFlinger dies while playing.
Does it happens with a particular file or everywhere?
Does it happen when the player is on foreground?
Does it happens when you use HW decoder (Seems that you are using HW+)?
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
It happens to a whole range of videos I view using the player and have not been able to reproduce it as it seems to happen at random intervals and not in the same spot. It can happen 5 times in an hour or a couple of times a day.
It happens when running in the foreground but less frequently. I have disabled power saving on my device to see if that was affecting it but does not appear to have made a difference.
I have tried SW, HW and HW+ to see if any were better than the others and they seem to crash with the same frequency.
Penthus said:
It happens to a whole range of videos I view using the player and have not been able to reproduce it as it seems to happen at random intervals and not in the same spot. It can happen 5 times in an hour or a couple of times a day.
It happens when running in the foreground but less frequently. I have disabled power saving on my device to see if that was affecting it but does not appear to have made a difference.
I have tried SW, HW and HW+ to see if any were better than the others and they seem to crash with the same frequency.
Click to expand...
Click to collapse
Does any other apps having this issue..?
It seems to be a bug from the system.
Sent from my SM-G900H using Tapatalk
It happens very rarely with my media player when the audio will stutter for a few seconds and the phone becomes unresponsive. It definitely happens a lot more frequently with mx player and it has only started the last couple of weeks.
Is there anything I can do on my end to see what might be causing the issue?
Just tried changing to HW again and got a freeze. The app recovered from the freeze and the video resumed but the audio didn't. I had to play some audio on my phone and then the video audio started again.
Log h**ps://drive.google.com/file/d/0By4WsG59vc5lX3F2Y281RUo3T1U/view?usp=drivesdk
Penthus said:
Just tried changing to HW again and got a freeze. The app recovered from the freeze and the video resumed but the audio didn't. I had to play some audio on my phone and then the video audio started again.
Log h**ps://drive.google.com/file/d/0By4WsG59vc5lX3F2Y281RUo3T1U/view?usp=drivesdk
Click to expand...
Click to collapse
I have forwarded the issue to the developer.
He may find more information about this issue your logs.
Sent from my SM-G900H using Tapatalk
Thanks for your help so far.
@Penthus
Hi, would you try after turning off `Fade on start` and `Fade on seek` from Settings > Audio?
If audio crash continues, turn off Settings > Audio > `System volume panel` too.
bleu8888 said:
@Penthus
Hi, would you try after turning off `Fade on start` and `Fade on seek` from Settings > Audio?
If audio crash continues, turn off Settings > Audio > `System volume panel` too.
Click to expand...
Click to collapse
Since turning off fade on start and fade on seek I have yet to have a crash or slowdown. I have been switching between sw, hw & hw+. So far so good, I will post back if I experience anything.
Thanks for all your help.
Wasn't sure whether to make a new thread or post in this one again. Seeing as the issue is similar I thought I should add to this one. Since having my last issue fixed things have been going perfectly until a few days ago when my videos started crashing with HW+ decoder. It was happening fairly frequently so I decided to to try out the other decoders and they all had issues.
HW+ as I said would hard crash out to the main menu with the crash report. HW would freeze and then start the video from the start. SW would have the video continue but the audio would freeze and then the video would roll back to sync up with the audio. It also seems to happen more frequently when I have headphones attached to the phone but that might just be statistical bias as I use headphones 99% of the time with my phone.
I have been using SW as it allows me to still watch videos although it can be a bit annoying as this can happen every couple of minutes or as frequently as every 5-10 seconds.
I have got log reports from each of the different decoders.
HW+
https://drive.google.com/open?id=0By4WsG59vc5leEt3bVdfc3NpX1k
HW
https://drive.google.com/open?id=0By4WsG59vc5lVlE2cFAtUFo1WDA
SW
https://drive.google.com/open?id=0By4WsG59vc5lYklqekQtbDNCY3M
If anyone can help me out with this is would be greatly appreciated.
Penthus said:
Wasn't sure whether to make a new thread or post in this one again. Seeing as the issue is similar I thought I should add to this one. Since having my last issue fixed things have been going perfectly until a few days ago when my videos started crashing with HW+ decoder. It was happening fairly frequently so I decided to to try out the other decoders and they all had issues.
HW+ as I said would hard crash out to the main menu with the crash report. HW would freeze and then start the video from the start. SW would have the video continue but the audio would freeze and then the video would roll back to sync up with the audio. It also seems to happen more frequently when I have headphones attached to the phone but that might just be statistical bias as I use headphones 99% of the time with my phone.
I have been using SW as it allows me to still watch videos although it can be a bit annoying as this can happen every couple of minutes or as frequently as every 5-10 seconds.
I have got log reports from each of the different decoders.
HW+
https://drive.google.com/open?id=0By4WsG59vc5leEt3bVdfc3NpX1k
HW
https://drive.google.com/open?id=0By4WsG59vc5lVlE2cFAtUFo1WDA
SW
https://drive.google.com/open?id=0By4WsG59vc5lYklqekQtbDNCY3M
If anyone can help me out with this is would be greatly appreciated.
Click to expand...
Click to collapse
From Logs:
AudioSystem: AudioFlinger server died!
IMediaDeathNotifier: media server died
AudioSystem: AudioPolicyService server died!
The issue happens with HW as well.
HW decoder uses the mediaplayer API provided by android. The is used in the stock video player as well.
From the logs the The AudioFlinger & AudioPolicyService Server both has died for an unknown reason. So, mediaserver is also died. [all are system services.]
In some devices when the volume is changed very aggressively it may lead to the issue. This was the issue with OP. But, in your case you have already disabled audio fading. So, the reason is unknown.
Could give some more details....?
Does this happen with all videos or only in certain videos or certain formats..?
Could you try Stock Player for the same file in which HW decode crashes..? Let me know whether it has the same issue or not.
Can you provide a sample file in which it crashes..? We need to check it with our other samsung & nexus test devices.
Sent from my SM-G900H using Tapatalk
I'm listening to podcasts so when I disconnect the Bluetooth the episode automatically pauses but then I get a notification sound from YouTube for example and MX player resumes the episode once the YouTube notification is done!, why is this happening?, please help.
how can I fix this?
pinkbecca said:
I'm listening to podcasts so when I disconnect the Bluetooth the episode automatically pauses but then I get a notification sound from YouTube for example and MX player resumes the episode once the YouTube notification is done!, why is this happening?, please help.
Click to expand...
Click to collapse
Hi,
We couldn't reproduce the issue in our devices. Kindly collect a bug report immediately after the issue & share here.
Thirumalai.K said:
Hi,
We couldn't reproduce the issue in our devices. Kindly collect a bug report immediately after the issue & share here.
Click to expand...
Click to collapse
ok I'll explain thoroughly, so when I'm listening via Bluetooth in the car then I switch off the car the audio pauses, which is great, then whilst I'm using my phone for other activities, like watching Snapchat videos, once the Snapchat video ends, the audio from the episode starts playing in the background!, I have to always pause it, I don't understand why it resumes!, also when I record a voice note on WhatsApp and then I finish recording, again MX plays the background audio and I go to the MX player in the navigation bar to pause the audio.
pinkbecca said:
ok I'll explain thoroughly, so when I'm listening via Bluetooth in the car then I switch off the car the audio pauses, which is great, then whilst I'm using my phone for other activities, like watching Snapchat videos, once the Snapchat video ends, the audio from the episode starts playing in the background!, I have to always pause it, I don't understand why it resumes!, also when I record a voice note on WhatsApp and then I finish recording, again MX plays the background audio and I go to the MX player in the navigation bar to pause the audio.
Click to expand...
Click to collapse
when it resumes, just open MX Player immediately, collect bug report from help menu & share here.
as we couldn't reproduce it, we need bug reports (logs) to know why it resumes.
Thirumalai.K said:
when it resumes, just open MX Player immediately, collect bug report from help menu & share here.
as we couldn't reproduce it, we need bug reports (logs) to know why it resumes.
Click to expand...
Click to collapse
ok I attached
While playing video freezes sometime.It happens with any of the files.I have attached 2 bug reports of 2 different files
dhruvdave said:
While playing video freezes sometime.It happens with any of the files.I have attached 2 bug reports of 2 different files
Click to expand...
Click to collapse
HI,
Looks like you were playing in HW decoder. HW decoder uses android mediaplayer API. It's known that under some unkown circumstances it may lead to such freezes. It will happen with all apps that use the mediaplayer API (Like Stock Gallery, Google Photos, etc). But, It will continue to report to the calling app as playback is in progress. Just restart & check again. It will go away.
If the problem continues, use HW+ as default. It will work.
Thirumalai.K said:
HI,
Looks like you were playing in HW decoder. HW decoder uses android mediaplayer API. It's known that under some unkown circumstances it may lead to such freezes. It will happen with all apps that use the mediaplayer API (Like Stock Gallery, Google Photos, etc). But, It will continue to report to the calling app as playback is in progress. Just restart & check again. It will go away.
If the problem continues, use HW+ as default. It will work.
Click to expand...
Click to collapse
Using Hw+ by defuault and using A7 2017
I have the same problem with mx player using HW+.
When playing stream the image just freezes, sound wil continue.
mauricewal said:
I have the same problem with mx player using HW+.
When playing stream the image just freezes, sound wil continue.
Click to expand...
Click to collapse
It is Fixed after oreo update
dhruvdave said:
It is Fixed after oreo update
Click to expand...
Click to collapse
Not for me. I'm using a Nexus 6P, latest Oreo update and it's still doing this whether in HW or HW+ mode.
I can't be certain for sure but I think I recall testing it in SW mode a year ago and it also had this issue.
James_LX said:
Not for me. I'm using a Nexus 6P, latest Oreo update and it's still doing this whether in HW or HW+ mode.
I can't be certain for sure but I think I recall testing it in SW mode a year ago and it also had this issue.
Click to expand...
Click to collapse
We couldn't reproduce such issues on our Nexus 6P.
Can you please share a bug report with us?
Hello,
I use a pair of true wireless Soul X-shock earphones to listen to seminars when out jogging etc using background playback. (Samsung Galaxy S7 and MX Player Pro)
The play/pause function (on the earphones) works as it should if there is less than an approx 5 minute delay between button presses...
However, when the video is pause is longer than 5 minutes I find the resume function on my earphones no longer operate and background playback of the video is completely halted.
Not only that, when resuming playback on my phone screen and then pressing the home button or lock screen the video does not play in the background as it should.
I have found the only way to remedy this is to force quit MX Player Pro directly and start it up again. That way the background playback function behaves like normal again.
The problem also happens immediately if I put my ear phones back into the charging case and take them out to use them again.
I am able to use spotify without issue taking my ear phones on and off but MX Player Pro behaves very differently.
I have also noticed the background playback for MX Player Pro on the notifications bar gets killed after about 5 minutes of no playback, requiring a full restart of the app before it can come back again.
I have already added MX Player Pro to the power saving exceptions list but the issue still happens.
Is there anyway to fix this via settings or via new update?
Kiwidude333 said:
Hello,
I use a pair of true wireless Soul X-shock earphones to listen to seminars when out jogging etc using background playback. (Samsung Galaxy S7 and MX Player Pro)
The play/pause function (on the earphones) works as it should if there is less than an approx 5 minute delay between button presses...
However, when the video is pause is longer than 5 minutes I find the resume function on my earphones no longer operate and background playback of the video is completely halted.
Not only that, when resuming playback on my phone screen and then pressing the home button or lock screen the video does not play in the background as it should.
I have found the only way to remedy this is to force quit MX Player Pro directly and start it up again. That way the background playback function behaves like normal again.
The problem also happens immediately if I put my ear phones back into the charging case and take them out to use them again.
I am able to use spotify without issue taking my ear phones on and off but MX Player Pro behaves very differently.
I have also noticed the background playback for MX Player Pro on the notifications bar gets killed after about 5 minutes of no playback, requiring a full restart of the app before it can come back again.
I have already added MX Player Pro to the power saving exceptions list but the issue still happens.
Is there anyway to fix this via settings or via new update?
Click to expand...
Click to collapse
Thanks for your feedback. When you pause the playback manually, MX Player will no longer use the foreground service. So, the system may kill the app to reclaim the resources if it is required for some other process. Once it's killed by the system, it may not be able to receive the media button controls. So, you can't resume the playback from the headset. However, everything should work as expected when you open the app again. If you found any abnormal behaviour, kindly provide us with more info so that we can investigate it further for you.
Hi everybody
Been using Mx player for years installed in several android boxes connected to tv set
Configuration si so simple to play several videos inside movies folder and repeat them endless
But.. found a problem.. when tv is power off and power on again noticed that video is paused.. never had this problem before, so must press play button again to recover play loop..
Does anyone knows how to solve it and let videos be played all day without interruptions even tv set is power off ??
thanks
frankyglobal said:
Hi everybody
Been using Mx player for years installed in several android boxes connected to tv set
Configuration si so simple to play several videos inside movies folder and repeat them endless
But.. found a problem.. when tv is power off and power on again noticed that video is paused.. never had this problem before, so must press play button again to recover play loop..
Does anyone knows how to solve it and let videos be played all day without interruptions even tv set is power off ??
thanks
Click to expand...
Click to collapse
By default, MX Player won't resume the playback when there is a change in the audio output device. Based on the information provided, it seems that switching off the device also disables the audio output route. However, we share this with our development team for further analysis and will check if there is a possibility of handling this in a better way.
Thank You.
Is there any way for no controlling audio track and avoiding that issue ???
frankyglobal said:
Is there any way for no controlling audio track and avoiding that issue ???
Click to expand...
Click to collapse
Could you collect a bug report from the app right after reproducing the issues and share with us at [email protected]? It will help us to investigate further.