[Tip] How to improve colors in hardware accelerated video playback - Nexus 7 General

This was supposed to be a question when I was writing it down, but the writing process helped me figure out the solution, so I think I'd just share it as a tip
Nexus 7's display isn't known for good color accuracy, but at least for viewing pictures, it's looks reasonably good.
Unfortunately, when it plays video with hardware acceleration, the colors are completely washed out. Here are my findings:
1. Software video playback looks acceptable, but hardware video playback looks horrible.
Android 4.3 built-in video player: colors completely washed out
RockPlayer2 hardware decode: colors completely washed out
RockPlayer2 software decode: reasonable colors
MX Player hardware decode: colors completely washed out
MX Player software decode: reasonable colors​
2. It may be confusing, but screenshots of any of the above hardware decoded video also have reasonable colors.
Steps to reproduce:
1. Open a video using Android 4.3 built-in video player
2. Pause the video
3. Remember how washed out the colors are
4. Take a screenshot using the power button + volume down
5. Open the screenshot - the colors are much better now!
(In fact, the screenshot look just like the software decoded video.)​
Since the screenshots of the hardware decoded video is good, I believe there is nothing wrong with the hardware decode algorithm. I'm guessing that Android somehow switches the display to a special mode when you use hardware decode, and that special mode has very poor color calibration.
As this point, I suddenly remember that there was a "disable Tegra screen dimmer" setting in the franco kernel. I tried that and... bingo! Now hardware and software decoded video both look reasonably good

You could also disable Smart Dimmer in Trickster Mod

Strange color calibration

I have the exact same problem on my ASUS Memo Pad HD7, but that is not even a Tegra device. See screenshots.

Related

Found a bug to enable 1080p in mirroring mode (glitchy)

Hi all,
I could not sleep thinking of using chrooted linux on my 47" 1080p LCD, fine, but we a re limited to the hdmi mirroring, which is 800x480 stretched to fill the screen.
Thinking about the video player, which does proper 1080p output I tried to fool the system somehow with video playing and task switching, menus, back btn presses, and found something:
Using temasek´s kang + ironkrnl #251 32mb hack, qemu lcd density 210
You start playing a video, can be through native video player or mxplayer, HW or SW mode, then you press menu once or twice to show the options, the video freezes for a moment. then you press back twice rapdly, VOILA, you have a working gallery (works until you flip the phone to portrait, this resets the display to normally scaled screen) in 1080p in the lower half of the screen.
If you were using mxplayer, the top half of the screen will have the player controls as they were on the phones screen during video playback. everything is repeated side by side almos three times (I think it´s the difference in resolution being compensated in the framebuffer or some sort of scaling bug).
All in all, does someone have any idea on how to invoke a mirrorless 1080p picture on hdmi? (or mirrored and downscaled/croppped on the phones screen), apparently only gallery is capable of displaying in 1080, any other app works in the phones screen but the image keeps frozen on hdmi with sound ok.
Imagine chrooted linux in 1080 with BT mouse and KB!
Pictures attached:
edit: tried with 1202221503-ETaNa_48 kernel and could not reproduce it, later will try with etana 64 and other ironkrnl
What a great little bug. It would be nice to have it actually run at 1080p for the Android screen and things like the word processor. Would make using the phone as a mini computer so much better.
Great find dude...!!
Sent from my LG-P990
Sould I post this at Development section? Can some mod move this thread to dev? I think it will be more useful there.
bollux78 said:
Sould I post this at Development section? Can some mod move this thread to dev? I think it will be more useful there.
Click to expand...
Click to collapse
Not development. Moving to general.
I can only say that I wish I had the same amount of spare time as you

Xperia T Color banding issue

I see color banding issue on Xperia T's interface. Even when the brightness is maxed out, it is severely affected by the banding issue and there's also noticeable amount of noise while playing Video. My firmware ver. 9.1.a.1.141
I have included an image to test the banding issue. Just download the image and open it in full screen to your device.
I have noticed this too. Especially with certain colors on the Walkman app backgrounds. Guess theres nothing you can do about it. Its due to the quality of the lcd. Bit depth and all that. Also sometimes i notice backlight bleeding on the sides. Most of these issues could be overcome by an AMOLED screen I guess.
If you can find a way to enable "surface dithering" like in cyanogenmod this could help. Problem is it may be enabled already. Doesn't really bother me, who really cares about blacker blacks? as long as colours are good
Sent from my LT30p using Tapatalk 4 Beta
In CM10 I noticed narrower bands of color gradient but in CM10.1 it is like the stock one.
But it's irritating that while playing video it tries to show more shadow detail and then the video becomes more noisier at high brightness. Also the sharpness of playback isn't good.

How to disable video filter?

This phone puts a contrast filter on every video that's played back, making all dark colours look black, at a normal backlight level. This is not a defect of the panel itself, since the filter gets disabled for a split second, after the multitasking button is pressed. Is there a way of disabling it completely and permanently? If not, I might just take this phone back to the shop.
Also, the filter can be captured via screenshots. Here's a demonstration: video on Honor 9 lite, the same video on an iPhone 6s.
I've tried other videos, other players, and there's always a filter. I've tried the video on all my other devices (calibrated monitor, TV, shield tablet, moto E, xperia X) and it looks like it does on the iPhone.

S10 Won't recognize HDR video files while playing them

Hey!
I recently downloaded a few mkv HDR files to the phone, but when playing the files, it didn't activate the HDR feature (washed out colors and bad contrasts) in VLC or the native Samsung video app. How come and how can I watch HDR content? (It does work on YouTube HDR videos...)
Thanks!
HDR content is HIT AND MISS. Some will look fine after adjusting the brightness and contrast, some devices require Auto Brightness and Iris to be turned off. and sometimes a codec can fix the problem....
Have you tried using KODI and adjusting the hardware and software codec settings?
But honestly, HDR on a 6 inch screen isn't doing you any good. 1080p Will consume far less data and will look the same on that tiny screen. Unless you're using HDMI out to a screen over 50 inches, i don't see the need...
HDR has nothing to do with the resolution (and the fact that you should be watching it on big screens). HDR is about dynamic range and the color range which is perfect to watch on a high-end screen of a premium smartphone display like Galaxy S10.

Question Video playback : oversharpening

Hello
I have just bought a tab s8+, and videos played in fullscreen seem to be aggressively oversharpened (no issue in popup view).
It is noticeable when upscaling is involved, especially when the video resolution is at 1080p or below, causing a lot of ringing artifacts (mainly white lines around black borders). The image seems quite unnatural.
One way I have found to disable this post-processing is to use VLC, and in the settings set hw acceleration to be used only for decoding (as opposed to the "full" setting).
However, this post-processing is still enabled for other video apps (Youtube, Amazon, TV...).
Has anyone noticed the same thing, and is there any setting or way (adb, root...) to correct this behavior ?
Thanks

Categories

Resources