[Q] video playback with screen off? - HTC One S

Hey guys!
I'm quite new to the android world. I'm very happy with my One S, but I haven't found a way, to stream videos from my NAS with the screen off.
(In order to improve my language skills I listen to english tv-series before sleeping. Before I got my new phone, I used my Ipod Touch with the "Video Lock" app from Cydia)

The only way i have found to do it is to use diceplayer. In the settings of diceplayer you can select Background Playback. That allows you to power off the screen and continue video playback.
My setup I have found works best. I use ES File Explorer to navigate to my NAS. When I select a video file, it asks what player to use. I select diceplayer and once the video starts, I turn off the screen.
I have found that sometimes my wifi will go into low power mode with the screen off and playback audio gets choppy, so I have to use a widget called WIFI High Performance Widget.

thx, it works. I was using mediahouse+mxplayer, mediahouse+diceplayer works for me now!

Related

[Feature request] Use MX player as remote controller via MHL/HDMI cable

Hi
When I use VLC player via MHL/HDMI cable connect to second monitor, I can use VLC as a remote controller, and VLC will dim the phone's screen after touching nothing in seconds. I like this behavior, and VLC also has an option to turn it off. I think MX player should also implement this feature. At least make MX player dim the phone's screen after touching nothing in seconds.
wdw89 said:
Hi
When I use VLC player via MHL/HDMI cable connect to second monitor, I can use VLC as a remote controller, and VLC will dim the phone's screen after touching nothing in seconds. I like this behavior, and VLC also has an option to turn it off. I think MX player should also implement this feature. At least make MX player dim the phone's screen after touching nothing in seconds.
Click to expand...
Click to collapse
Sounds like casting, which is already in the pipes.
wdw89 said:
Hi
When I use VLC player via MHL/HDMI cable connect to second monitor, I can use VLC as a remote controller, and VLC will dim the phone's screen after touching nothing in seconds. I like this behavior, and VLC also has an option to turn it off. I think MX player should also implement this feature. At least make MX player dim the phone's screen after touching nothing in seconds.
Click to expand...
Click to collapse
reviving this old thread.
During MHL/HDMI connection MX player now dims the screen, but the content keeps playing on the phone, probably using more cpu power than needed (resources that could be used for the playback).
Instead, VLC plays the content on the HDMI screen and the phone's screen shows only the play controls without showing the video itself.
(Like seen here https://www.piloteers.org/forums/11...s-movies-using-old-android-phone-via-mhl.html).
Not sure if this happens also for the new Displayport technology (USB-C to HDMI) found on high end devices nowadays.
Maybe this could be fixed so no resources are wasted to play the content both on the device display and the HDMI screen, and the full CPU/GPU power can be used for demanding file playback.
ninestarkoko said:
reviving this old thread.
During MHL/HDMI connection MX player now dims the screen, but the content keeps playing on the phone, probably using more cpu power than needed (resources that could be used for the playback).
Instead, VLC plays the content on the HDMI screen and the phone's screen shows only the play controls without showing the video itself.
(Like seen here https://www.piloteers.org/forums/11...s-movies-using-old-android-phone-via-mhl.html).
Not sure if this happens also for the new Displayport technology (USB-C to HDMI) found on high end devices nowadays.
Maybe this could be fixed so no resources are wasted to play the content both on the device display and the HDMI screen, and the full CPU/GPU power can be used for demanding file playback.
Click to expand...
Click to collapse
It seems that you have misunderstood the concept. Most of the system resource will be used for the decoding purpose. When you using the device with MHL, the device will still decode everything. The only difference is that when you use the mobile as remote, the connected screen is considered as a remote display and the video frame is rendered on the remote display instead of the device display. In simple words, still decoding and rendering are done by the device. So, there shouldn't be any noticeable difference in resource usage.
This is where casting comes into play. On Chromecast, The device will just act as a file server. The rest will be done by the receiver. On the downside, the chromecast doesn't support several video profiles. So, you may not be able to cast even if your mobile supports decoding of the same.
Anyway, will highlight your feedback with our team for further improvements in this aspect.
MXPlayer said:
It seems that you have misunderstood the concept. Most of the system resource will be used for the decoding purpose. When you using the device with MHL, the device will still decode everything. The only difference is that when you use the mobile as remote, the connected screen is considered as a remote display and the video frame is rendered on the remote display instead of the device display. In simple words, still decoding and rendering are done by the device. So, there shouldn't be any noticeable difference in resource usage.
This is where casting comes into play. On Chromecast, The device will just act as a file server. The rest will be done by the receiver. On the downside, the chromecast doesn't support several video profiles. So, you may not be able to cast even if your mobile supports decoding of the same.
Anyway, will highlight your feedback with our team for further improvements in this aspect.
Click to expand...
Click to collapse
You misunderstood me. I do know that the phone's hardware decodes the file and transmits the signal via microUSB-HDMI (MHL). The problem is that playing the video also on the phone's screen MIGHT reduce the overall performances of the decoding.
If you are sure that there's not difference in playing the video BOTH on the phone's screen and the HDMI connected screen VS playing video ONLY on the HDMI screen (like VideoLanPLayer does, as shown here https://www.piloteers.org/forums/at...-phone-via-mhl-120160219_162058-1024x576-.jpg), then i'm satisfied.
Hope the question is more precise now.

Bluetooth headphones resume playback not working

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.

How to keep VLC playing with screen off? OnePlus 6

I went into the VLC settings and enabled background playing, but every time I turn off the screen it still shuts off. I also disabled battery optimization.
Any solution?
With VLC after you select the appropriate setting, which you said you have, you have to minimize VLC first and then turn the screen off. That will work. I just tested.
Or just use MX Player. Go to settings, turn on the appropriate setting and you can turn the screen off and still listen to the sound of the video.
Just tested both right now, and both worked as discribed.
Is there way to do this with Picture In Picture mode as default? Is this a problem with VLC or with Android?
I can't get it to work with screen off if I chose PIP on VLC settings, but it works like I said in my previous post if you chose run in the background.
I'm note sure if the terms I'm using are correct. My VLC is not in English, so I'm translating.

PIP mode AND background playback

I really like PIP mode for multi-tasking, I also like being able to lock my phone and listen to a video's audio (i.e. Background Playback). What I don't understand is why I can't have both.
When I have PIP mode turned on in the settings of both MX Player and VLC both will pause playback when I lock my phone. Is this a technical issue and if so does anyone have a solution or alternative?
YouTube does not seem to have this issue, as they can seamlessly transfer between foreground, PIP and background playback.
I've searched the internet but no one seems to mention this (either that or I'm awful at searching).
Armand Bernard said:
I really like PIP mode for multi-tasking, I also like being able to lock my phone and listen to a video's audio (i.e. Background Playback). What I don't understand is why I can't have both.
When I have PIP mode turned on in the settings of both MX Player and VLC both will pause playback when I lock my phone. Is this a technical issue and if so does anyone have a solution or alternative?
YouTube does not seem to have this issue, as they can seamlessly transfer between foreground, PIP and background playback.
I've searched the internet but no one seems to mention this (either that or I'm awful at searching).
Click to expand...
Click to collapse
Unfortunately, it's not directly possible at the moment. However, you can achieve something similar by combining the existing settings.
Set PIP/Background Play mode to Background Play
Play any video file
Enter into PIP mode by using the onscreen button
Hope this helps.
MXPlayer said:
Unfortunately, it's not directly possible at the moment. However, you can achieve something similar by combining the existing settings.
Set PIP/Background Play mode to Background Play
Play any video file
Enter into PIP mode by using the onscreen button
Hope this helps.
Click to expand...
Click to collapse
Oh. That's a shame, but I didn't know about the button. I'll use that from now on. Thank you for the advice!

Dex - Controlling audio apps with phone screen off

Really loving Dex and Microsoft's Your Phone app.
Particularly for controlling DI.FM apps while listening to HD LDAC encoded HD radio streaming.
However it's annoying how I have to keep the screen on to do this. Is there any way to control audio apps with the screen off i.e. DI.FM etc?
The app would need the permissions to do so.
Poweramp does this quit well.
I've also seen a glitch in the Samsung browser do this while watching vids. If a vid is running and you hit the power button to turn off the screen after about 10 seconds the vid will resume, audio only. Just what you want but have doubts you could recreate it because of the OS and browser version difference. I assume Samsung corrected this.

Categories

Resources