Intuitive video orientation settings - MX Player

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

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.

annoying

1
How i prevent app to auto play next video on folder?
I want it to play just the selected video but when it ends
It automatic play the next video and i cant find how to prevent that!
2
When i record video in a portrait view and play it then the app
Put the control buttons and all the buttons instead of
At the bottom of the screen,it is shown on the side
As if the video is shown in landscape
I tried to not enable\enable screen rotation but it not
Make different still the buttons toolbar is shown on the side
When a portrait video is running
mo4xda said:
1
How i prevent app to auto play next video on folder?
I want it to play just the selected video but when it ends
It automatic play the next video and i cant find how to prevent that!
2
When i record video in a portrait view and play it then the app
Put the control buttons and all the buttons instead of
At the bottom of the screen,it is shown on the side
As if the video is shown in landscape
I tried to not enable\enable screen rotation but it not
Make different still the buttons toolbar is shown on the side
When a portrait video is running
Click to expand...
Click to collapse
1. Try Settings > Player > Back to list
2. HW and HW+ decoder would recognize portrait video but only if device support video rotation.

[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

Video filmed in landscape are in portrait mode on my PC

I shot a 1080p clip in landscape mode but the phone orientation was locked in portrait mode so apparently the clip think it was filmed that way. It plays just fine on the phone but everywhere else its in portrait mode.
Now I have to setup the orientation in VLC and I had to made the change in Youtube but it affects the video quality for some reason (I have a weird tearing when the camera is moving)
Is there any way to just edit the orientation information in the clip using some video editing software ?
TIA
How about apps that do just that?
eg: https://play.google.com/store/apps/details?id=com.outthinking.videorotate&hl=nl
try here too: http://www.geek.com/apps/geek-101-how-to-rotate-a-video-1567062/

Tips for recording videos when turned off on android phones

Instructions on how to record videos when the screen is off on Android phones for those who do not know:
First you download the application: Camera Background video record
Camera Background Video Recorder can be turned off screen or lock screen when recording video.
Turn off the screen to save battery power (record background video)
Easy to move when traveling, you can put it in your pocket.
Support zoom.
Floating preview or no preview.
Rotate the camera.
Night mode.
Timer.
Audio options: stereo or mono.
Support saving video on SD card.
Support managing and cutting videos.
After the installation is done, you can now experience the application.
- Press the start button to record the video and press the stop button to end the video.
- You can set volume keys to start video recording or stop video recording.
Note, please remove the screen unlock mode with the face. Because when using face unlock mode will cause conflicts that cause the application to stop recording when the screen turns on again.
And finally, you can place your phone on your bike, motorbike, vehicle or any other place to get the moments you want conveniently.
Download the app here: Camera Background Video Recorder
Reference from:
Camera background video recorder – Hayhaysoft
hayhayapps.com

Categories

Resources