[bug] Image stretched when using the Background Play feature - MX Player

Hi,
In the Player Settings, I have Background Play enabled. I watch a video in portrait orientation and turn the screen off, so I can continue listening to the audio. When I turn it back on, the video aspect ratio is set to Stretch (filling the whole screen), making the image very distorted. I have to tap the lower right button until the video is set to Fit To Screen again. Given that I do this routine several times a day, it make it very annoying.
I have a Galaxy S2 with Android Jelly Bean 4.1.2.
Model number: GT-I9100M
In the Decoder section I have:
Use H/W+ decoded: unchecked
H/W+ decoder (local): is grayed out, but checked
Correct Aspect Ratio: checked
H/W audio track selectable: unchecked
Is this a know issue, and if so, is there plans to correct it? Please let me know if you need any additional info.
Best regards,

vincentroy22 said:
Hi,
In the Player Settings, I have Background Play enabled. I watch a video in portrait orientation and turn the screen off, so I can continue listening to the audio. When I turn it back on, the video aspect ratio is set to Stretch (filling the whole screen), making the image very distorted. I have to tap the lower right button until the video is set to Fit To Screen again. Given that I do this routine several times a day, it make it very annoying.
I have a Galaxy S2 with Android Jelly Bean 4.1.2.
Model number: GT-I9100M
In the Decoder section I have:
Use H/W+ decoded: unchecked
H/W+ decoder (local): is grayed out, but checked
Correct Aspect Ratio: checked
H/W audio track selectable: unchecked
Is this a know issue, and if so, is there plans to correct it? Please let me know if you need any additional info.
Click to expand...
Click to collapse
@bleu8888
Can you look at the problem?
I can reproduce the problem.
Sent from my SM-G900H using Tapatalk

Actually I encountered same issue years ago with my first Android device - Galaxy S.
I tried many ways to fix it up but unfortunately cannot.
It looks like issue of early Galaxy devices.

I encountered this issue too with my andriod TV and even worse. MX can not play vedio without Background Play enabled in my andriod TV.So I must enable this option to play video. But the video aspect ratio is Stretched.
I press the right buttom corner button but no one brings proper ratio. When chose Fit To Screen the video play as 4:3 with letterbox surrounded.

Related

[Bug] Android video driver crash under specific circumstances

Device Manufacturer & Model: LG Nexus 5
Android Version: 5.0.2
Rom Info: CM12 02/28 Nightly, tested also on CM12 02/15 Nightly
Detailed Problem Description:
Hi. I have encountered a very specific issue with MX Player. When I am playing full HD portrait video and next video is full HD landscape, the Android video driver seems to completely crash in the event when videos switch. E.g. when portrait one ends and landscape one starts playing. Sometimes the device freezes with corrupted graphics, sometimes it recovers, but graphics are shifted and reboot is needed to resume normal operation.
I have reset the settings to default when reproducing the issue and only setting I am using is Display / Settings / Screen / Orientation : Auto rotation. I am holding the phone in portrait, so basically the first video should be full screen on my phone and the second should be scaled down a lot to fit in portrait. It happens with both HW and HW+ codecs.
I have recorded two short videos which can be used to reproduce the problem. I have also recorded the behavior on the phone using another camera (this time the phone "kind of recovered").
Steps to reproduce the problem:
1. Install MX player.
2. Set Display / Settings / Screen / Orientation : Auto rotation
3. Play attached videos when holding the phone in portrait, the crash should appear when the first ends and the second starts.
See recorded video for details.
Logs from MX Player
Video 1 - portrait
Video 2 - landscape
Issue recorded using another camera to show what happens on the phone
It works in default video player and does not cause anything similar. I did not have a chance to try it on stock ROM yet. However, I have a lot of videos with different sizes and switching between them does not cause the issue. Just full HD videos.
Let me know if any more details are needed.
It happens on stock 5.1 too. Very annoying if you have mix of portrait and landscape videos recorded.
fenikso said:
It happens on stock 5.1 too. Very annoying if you have mix of portrait and landscape videos recorded.
Click to expand...
Click to collapse
It looks like ROM issue if HW has same issue.
FYI, HW is default media player actually which is provided by the OS.
bleu8888 said:
It looks like ROM issue if HW has same issue.
FYI, HW is default media player actually which is provided by the OS.
Click to expand...
Click to collapse
I did some more testing. It happens on all factory images I had for Nexus 5, 4.4.4, 5.0.1, 5.1. All of them exhibit the same problem. I tried also the SW decoder, but that did not tell me anything, as SW does not follow the tag for portrait orientation, so the portrait video showed up as landscape anyway.
Now the interesting part is that default player does not crash like that, when switching between the videos. But it takes longer to switch. It seems that it deletes the whole drawing surface and starts it again. Contrary, when switching videos in MX Player you can always see last frame of previous video stretch to the following video size before it starts playing.

[Bug Report] HW Force Aspect only works If you Toggle to SW mode first

I think I found a bug with MX Player Pro.
I am using it on my Android TV Q7 device KitCat 4.4.2.
If I open a video with the hardware decoder it does not correct for the Aspect ratio unless I toggle to Software Mode then toggle back to Hardware mode. Then it is OK. I have the circle selected in the Preference to force the HW decoder to correct the ratio. ( If not checked it never corrects it so the circle setting is working)
I use mostly the HW mode since my videos are Dolby encoded AC3 and HW gives a smoother picture. My work around is to do the SW/ HW toggle or for my new videos recode with the WxH the same as the aspect ratio . (IE 640x480 for 4:3 but I should not need to do this.)
[email protected] said:
I think I found a bug with MX Player Pro.
I am using it on my Android TV Q7 device KitCat 4.4.2.
If I open a video with the hardware decoder it does not correct for the Aspect ratio unless I toggle to Software Mode then toggle back to Hardware mode. Then it is OK. I have the circle selected in the Preference to force the HW decoder to correct the ratio. ( If not checked it never corrects it so the circle setting is working)
I use mostly the HW mode since my videos are Dolby encoded AC3 and HW gives a smoother picture. My work around is to do the SW/ HW toggle or for my new videos recode with the WxH the same as the aspect ratio . (IE 640x480 for 4:3 but I should not need to do this.)
Click to expand...
Click to collapse
Can you try H/W+?
ktsamy said:
Can you try H/W+?
Click to expand...
Click to collapse
Same problem if I switch to HW+ then back the HW aspect ratio is ok.
SW and HW+ do not pass through digital audio so the only option for me is the HW mode. (Unless that is another bug, that they don't do pass through. However not an issue that affects my normal mode of operation. I normally don't use SW or HW+ )
[email protected] said:
Same problem if I switch to HW+ then back the HW aspect ratio is ok.
SW and HW+ do not pass through digital audio so the only option for me is the HW mode. (Unless that is another bug, that they don't do pass through. However not an issue that affects my normal mode of operation. I normally don't use SW or HW+ )
Click to expand...
Click to collapse
Can share a download link of the any sample video that has issue.....?
I will check it out.
Sent from my SM-G900H
I did a bit more testing and what I found is that if I open a 4:3 video encoded at 740:480 (3:2) video in HW mode is sets the default screen to 3:2. I can manually set the aspect ratio to 4:3 to watch the video but the default setting is still 3:2. If I toggle to SW mode then back then the default setting becomes 4:3 and the video is ok in the default aspect setting.
Seems like in hardware mode the default aspect ratio from the file is set by the size (740:480) not the actual ratio information (4:3) . In software mode it corrects this by the file information and sets default to the actual aspect ratio. So back to HW mode it is still OK
Now that I understand the problem I can manage it but it would be nice if the default ratio worked automatically in HW mode like it does in SW mode.
Try the file at the following. (2 Scarry n Winter loose.mkv) at
https://onedrive.live.com/redir.asp...3E!105&authkey=!&Bpub=SDX.SkyDrive&Bsrc=Share
Off topic : is there any way I can watch the video in SW or HW+ mode but have the audio (AC3) pass through to my device like HW mode?
Thanks

Audio interruptions in background mode.

If I'm listening to audio in MX Player Pro on my Galaxy S7, it will interrupt for a second whenever I perform another operation, even though I have set the audio to play in the background. The settings for background audio are a little unclear (screenshot attached), but I've tried every configuration with no improvement.
This interruption happens when I minimize the screen with the home button or click the side button for the display to go blank, or basically any task. The audio does resume after that short interruption.
Is there a setting for it to play uninterrupted while performing other functions? Any info is greatly appreciated.
kwhopson said:
If I'm listening to audio in MX Player Pro on my Galaxy S7, it will interrupt for a second whenever I perform another operation, even though I have set the audio to play in the background. The settings for background audio are a little unclear (screenshot attached), but I've tried every configuration with no improvement.
This interruption happens when I minimize the screen with the home button or click the side button for the display to go blank, or basically any task. The audio does resume after that short interruption.
Is there a setting for it to play uninterrupted while performing other functions? Any info is greatly appreciated.
Click to expand...
Click to collapse
HI,
It's introduced in recent versions as there are some issues in certain devices.
We have also received the similar report from others.
In the next version, it will be optional. Users with issue can enable the new option to avoid the issue while others can get the old behaviour.
Thank you. Can you tell me the name of the option and where to find it in the settings once the new version is released?
kwhopson said:
Thank you. Can you tell me the name of the option and where to find it in the settings once the new version is released?
Click to expand...
Click to collapse
There won't be any extra effort required on your end.
There will be a option called "Smooth Switch" just below background play. By default it will be disabled.
When it's enabled audio will fade out when you switch to background. It's for those who has issues.

Regarding HDR Playback on VLC

Does OnePlus 6 also support HDR? I know it's not officially stated but YouTube supports HDR on OnePlus 6. I downloaded a few of the demos and tried playing them in VLC. Upon opening, VLC directed me to "allow modifying system settings" to change screen brightness, I'm assuming it was trying to set it to Max. I enabled it and the video is now playing at full brightness in VLC. I was using DCI-P3 color profile. However, after trying to play the video again the brightness is not set to Max. I tried reinstalling VLC and playing the video again, this time I didn't get the prompt to enable system modifications as it was off by default for new apps. So now the video on playing in VLC doesn't set the brightness to Max. Tried giving permission to modify system settings, still not setting brightness to max. I'm assuming upon brightness going all the way, HDR is triggered, as I don't have any other visual indicator in VLC to see if HDR is truly ON.
YouTube HDR works great everytime, high contrast and brightness set to Max automatically.
I don't know if the display of OnePlus 6 is 10bit but that's highly unlikely.
Tried restarting, reinstalling VLC and changing color profiles to DCI-P3. Auto brightness is off, some users reported on other devices it affected HDR auto brightness so I kept it off. Nothing puts brightness to Max upon opening videos in VLC.
I'm on latest OOS 9.0 Stable OTA. I am using 4k HDR demos from 4kmedia.org and I have 4k HDR movie on my device.
Does anyone have working HDR videos on VLC? How did you get it to work and how do you know that it truly is displaying in HDR?
I don't know if any other video player which can display HDR videos as intended on Android. If you know any other video player which works for OnePlus 6 to display HDR then please let me know (and drop a link of possible).
Since I did get the prompt for the first time upon opening HDR video on VLC to allow VLC to set max brightness, I believe that the device just might do it but I'm held back by some software bug.
Sorry for the long post! Just wanted to make sure I covered everything.

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.

Categories

Resources