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

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

Related

[bug] Image stretched when using the Background Play feature

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.

[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.

Intuitive video orientation settings

This is a guide to make MX Player's video orientation make more sense.
What I mean is that when you open up a video, if you were in portrait mode, the video will be played in portrait mode, no matter what orientation the video was actually recorded in.
And if you were holding your device in landscape mode, the video will, by default, be displayed in landscape mode, instead of the app switching orientation and you start tilting your head because the video was recorded in portrait.
You can force the app to switch orientation by using the Screen roatation button.
Here's how to configure your settings:
Open up any video in MX, from the overflow menu choose Display > Settings, in the Screen tab set the Orientation setting to Use system default.
Also from Display > Video Zoom, select Fit to screen.
It works better with the hardware decoder.
That's it

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.

Unswitchable subtitles while using HW Decoder

Hi there.
i am trying to watch movies on my MINIX Neo X8-H with the MX Player, but the problem is there are forced subtitles in different languages (in this example it is chinese/japanese subs on top - the bottom is mine. but sometimes it is in russian or other gibberish, but it happens to every single movie or TV series i turn on) and it only happening while i am using HW Decoder. but when i am switching to HW+ or SW Decoder they disappear. but the problem is that while i'm using SW or HW+, the video and the sound gets desynchronized after short time, (and it gets worse after a while), or if it doesn't (sometimes it doesn't) the bigger problem is HW+ & SW doesn't support surround mode, and i really like surround. so i am forced to use HW Decoder on my TV. Is there a way to either turn off the forced subs or to either use other decoders properly so the video and the audio wouldn't get desynchronized? Or is there a way to make HW+ or SW to support surround
Android Version: 4.4.2
Core Ver: 3.10.33
MX Player Ver: 1.10.47
ARMv7 NEON Codec 1.9.18.2
fenixsword said:
Hi there.
i am trying to watch movies on my MINIX Neo X8-H with the MX Player, but the problem is there are forced subtitles in different languages (in this example it is chinese/japanese subs on top - the bottom is mine. but sometimes it is in russian or other gibberish, but it happens to every single movie or TV series i turn on) and it only happening while i am using HW Decoder. but when i am switching to HW+ or SW Decoder they disappear. but the problem is that while i'm using SW or HW+, the video and the sound gets desynchronized after short time, (and it gets worse after a while), or if it doesn't (sometimes it doesn't) the bigger problem is HW+ & SW doesn't support surround mode, and i really like surround. so i am forced to use HW Decoder on my TV. Is there a way to either turn off the forced subs or to either use other decoders properly so the video and the audio wouldn't get desynchronized? Or is there a way to make HW+ or SW to support surround
Click to expand...
Click to collapse
We are sorry to bring you this inconvenience. Unfortunately, it is caused by the android media framework implementation on your device. Request you to open the accessibility settings on your device and disable the caption. That should fix your issues.

Categories

Resources