OverLay Color Mismatch
OverLay Color Mismatch
Using Laptimer v20.0.7 on an Andoid (Galaxy Note Edge), Successfully included Video recording and OBD Data. When overlaying the data over the video, the colors from the overlay (Green and red) appear to high versus the gray, creating a mismatch and some sort of shadow effect.
I had it on all video's. Any suggestions on what can be done to correct this?Re: OverLay Color Mismatch
Yes, we have seen this for a Samsung Note 4 during beta too. See #3 on viewtopic.php?f=39&t=1693.
The problem seems to be the Samsung returns wrong memory addresses for the UV planes. This means the gray scale part (Y plane) of the frame is aligned correctly, but coloring (UV) is misaligned. As I never can be sure if this is a device specific issue or some missing tweak in LapTimer, item #3 has been raised to monitor if this problem occurs for other devices too. The Galaxy Note Edge seems to be the second device showing this problem.
If I'm right, it is a problem in Samsung's adoption of the Android Image class. This implementation is very chip set / video coder dependent and varies for each model / make.
To further track this issue, please post your Android version here. The straight forward way would be Samsung fixes it in an upcoming Android version. I will consider some workaround too, but it is hard to do without direct access to these devices.
Your workaround for overlay exports is simply to fall back to the slow software approach: LapTimer ‣ Administration ‣ Settings ‣ Expert Settings ‣ Video Tweaks / Force Software Encoding.
- Harry
The problem seems to be the Samsung returns wrong memory addresses for the UV planes. This means the gray scale part (Y plane) of the frame is aligned correctly, but coloring (UV) is misaligned. As I never can be sure if this is a device specific issue or some missing tweak in LapTimer, item #3 has been raised to monitor if this problem occurs for other devices too. The Galaxy Note Edge seems to be the second device showing this problem.
If I'm right, it is a problem in Samsung's adoption of the Android Image class. This implementation is very chip set / video coder dependent and varies for each model / make.
To further track this issue, please post your Android version here. The straight forward way would be Samsung fixes it in an upcoming Android version. I will consider some workaround too, but it is hard to do without direct access to these devices.
Your workaround for overlay exports is simply to fall back to the slow software approach: LapTimer ‣ Administration ‣ Settings ‣ Expert Settings ‣ Video Tweaks / Force Software Encoding.
- Harry
Re: OverLay Color Mismatch
Thanks for the FAST response. Impressed! The workaround did the job, got great footage now.
FYI Samsung Model# SM-N915A, Android Version 5.1.1
Finally a great App!
FYI Samsung Model# SM-N915A, Android Version 5.1.1
Finally a great App!
Re: OverLay Color Mismatch
Hi,
I will have a workaround for the color problem available with LapTimer v20.0.10. Once calibrated, you can switch back to the faster hardware encoded option. Additional information needed: which size is the video - is is HD (720), FullHD (1080) or UHD 4K (2160)? And can you send me a full resolution snapshot of the above attachment to Harry@gps-laptimer.de?
Thanks.
- Harry
I will have a workaround for the color problem available with LapTimer v20.0.10. Once calibrated, you can switch back to the faster hardware encoded option. Additional information needed: which size is the video - is is HD (720), FullHD (1080) or UHD 4K (2160)? And can you send me a full resolution snapshot of the above attachment to Harry@gps-laptimer.de?
Thanks.
- Harry
Re: OverLay Color Mismatch
I am having the same issue with v20.0.15 on a Samsung Galaxy Note 4 (SM-N910T) running Android 5.1.1 and generating overlay on 1080p30 video recorded on GoPro 4. Switching to the software render generates the overlay correctly.
In the attached pic, you can see that all the colors are misaligned in the video, not just the overlay.
I had to crop the right side of the image to get below the 256k file size limit.
In the attached pic, you can see that all the colors are misaligned in the video, not just the overlay.
I had to crop the right side of the image to get below the 256k file size limit.
- Attachments
-
- overlay.jpg (242.08 KiB) Viewed 2655 times
Re: OverLay Color Mismatch
Hi,
The device specific workaround implemented in LapTimer for the "SM-N910A" is not applied automatically to a "SM-N910T"... Provided the T model uses the same offsets (to be verified), I can change recognition to a SM-N910 prefix in a future release.
You can define you own workaround by setting the "UV Plane Offsets (model,w,h,[-]lines:...)" Expert Setting in LapTimer:
Try
to verify the T uses the same as the A and let me know if this fixes the issues.
NB: changing the pixel offset (+32 for HD and +16 for FullHD) to a wrong value may crash your phone when an overlay is generated.
- Harry
The device specific workaround implemented in LapTimer for the "SM-N910A" is not applied automatically to a "SM-N910T"... Provided the T model uses the same offsets (to be verified), I can change recognition to a SM-N910 prefix in a future release.
You can define you own workaround by setting the "UV Plane Offsets (model,w,h,[-]lines:...)" Expert Setting in LapTimer:
Try
Code: Select all
SM-N910T,1280,720,+32:SM-N910T,1920,1080,+16
NB: changing the pixel offset (+32 for HD and +16 for FullHD) to a wrong value may crash your phone when an overlay is generated.
- Harry
Re: OverLay Color Mismatch
That fixed it.
Thanks!
Thanks!
Re: OverLay Color Mismatch
This seems to apply to the Samsung S5 as well, it will get a proper handling starting with LapTimer v20.1
- Harry
- Harry