futeko.com FORUM

Old Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: DMD on June 06, 2018, 07:03:28 AM

Title: Color space which setting to select?
Post by: DMD on June 06, 2018, 07:03:28 AM
Good morning
the HiMedia Q10 Pro is connected to an LG Oled 65 HDR TV on the HDMI ULTRA Deep Color input.
The setting of the Q10 Pro is set by default on the YCbCr420 8 bit, is this setting correct?

Thank you
Title: Re: Color space which setting to select?
Post by: codyrocco on June 06, 2018, 07:37:25 AM
is enough for standard bluray and below.
for uhd you should select  at least 4:2:0 10bit . i'm using 4:2:2 10bit.
Title: Re: Color space which setting to select?
Post by: DMD on June 06, 2018, 08:18:12 AM
OK.  then set to 4.2.2 @10 bit
Thank you
Title: Re: Color space which setting to select?
Post by: Mount81 on June 06, 2018, 08:38:10 AM
Are you running your GUI at 30Hz?

On 4K/60Hz and 10bit your best and only choice is to set to 4:2:0 (https://www.extron.com/company/article.aspx?id=hdmi2faq). I guess the player will switch automatic to 4:4:4 when switching to 23.976Hz video playback. (You can check it on your AVRs on TVs input info).
Title: Re: Color space which setting to select?
Post by: nmou88 on June 06, 2018, 11:27:02 AM
On 4:2:2 there is no 8 and 10 bits switch
So is it 8 or 10 ?
Title: Re: Color space which setting to select?
Post by: DMD on June 06, 2018, 11:53:31 AM
Then I leave the default settings YCbCr420 @ 8 bit ?

(https://s20.postimg.cc/diti6m50t/Ridimensiona_di_WP_20180606_13_13_40_Pro.jpg)

Thank you
Title: Re: Color space which setting to select?
Post by: Mount81 on June 06, 2018, 04:06:52 PM
OK, once again: for 4K/HDR/10bit videos on a 4K/HDR/10bit TV:

Set to 420 10bit. Than check your TV/AVR info while you play a video. If it shows 422 10 bit, you'r good (better than any 8 bit), if it shows 444 10 bit you have it even better.

420 8bit makes not much sense in this case.
Title: Re: Color space which setting to select?
Post by: DMD on June 06, 2018, 05:04:36 PM
What I do not understand is the setting value YCbCr422 to how many bits of resolution are.

(https://s20.postimg.cc/h8xqda14d/Senza_titulo-1.png)

However I tried to set YCbCr444 10 bit but this is not allowed.
Title: Re: Color space which setting to select?
Post by: Mount81 on June 06, 2018, 06:00:20 PM
What I do not understand is the setting value YCbCr422 to how many bits of resolution are.

(https://s20.postimg.cc/h8xqda14d/Senza_titulo-1.png)

However I tried to set YCbCr444 10 bit but this is not allowed.

Have you checked at least the sheet I've liked (scroll to the middle)? I guess not. You should have find the explanation as I said it before:  On 4K/60Hz and 10 bit: only 420 is allowed, that's a HDMI 2.0a standard regulation.

So setting to 422 will be 8bit for sure. However you can still choose this and than see during video playback if the input on your TV/AVR if it's changing to 10bit or not and to what colorspace if you play a 10bit video. For 10bit video it's best when it's switching to 444/10bit f.e. with 23.976Hz/fps videos. The next closes "best" would be than 422/10bit of course. But I would also recommend leaving it on 420/10bit for 8bit videos, but you must check by your own eyes if you see any change in PQ and aslo that if the "simple" 422 will switch to 10bit or 444 automatic.
Title: Re: Color space which setting to select?
Post by: nmou88 on June 07, 2018, 11:06:27 AM
Does 4:2:2 switch automatically to 10 ? Is it 8 by default ?
Title: Re: Color space which setting to select?
Post by: DMD on June 07, 2018, 05:44:41 PM
I tried with other HD TV not HDR (only 1080p) to check the color space setting.
and the HiMedia, and it was set by default YCbCr422.
So I tried to select YCbCr420 8 bits and YCbCr420 10 bits and gave me the following message.

(https://s20.postimg.cc/rtly7nfy5/Ridimensiona_di_WP_20180607_18_30_35_Pro.jpg)

Does this mean that the YCbCr420 8 bits and YCbCr420 10 bits color spaces are only reserved for 4KP50 and 4KP60 systems, so YCbCr422 is a color space only for Hd and not UHD.

However, I think that the color space adapts automatically according to the output signal and the connected display.


The problem is that I can not verify it while playing a movie, with the info button on the LG TV I get only this information

(https://s20.postimg.cc/zfywwk7nh/Ridimensiona_di_WP_20180607_19_55_40_Pro.jpg)
Title: Re: Color space which setting to select?
Post by: pcristi on June 07, 2018, 10:45:35 PM
@DMD
Run via adb shell or add on Q5Q10PRO-OUPUTINFO tool (http://www.futeko.com/newforum/index.php?topic=1086.0)
Code: [Select]
adb shell "grep Color /proc/msp/hdmi0"
DeepColorMode will give wanted information

24 = 8Bit
30 = 10Bit
36 = 12Bit

Title: Re: Color space which setting to select?
Post by: DMD on June 08, 2018, 07:45:37 AM
73/5000
Thanks for the information.
I performed the test and these are the results:

(https://s20.postimg.cc/eupnl4ar1/Screenshot_001.png)
(https://s20.postimg.cc/j3udn9j59/Screenshot_002.png)
(https://s20.postimg.cc/ehy9ex5bx/Screenshot_003.png)
Title: Re: Color space which setting to select?
Post by: pcristi on June 08, 2018, 08:03:49 AM
Is look like you forgot to add code line on Q5Q10PRO-OUPUTINFO.bat file.
Code: [Select]
adb shell "grep Color /proc/msp/hdmi0"Please added somewhere after line 21/22.

grep command will add info like that
Code: [Select]
DeepColorMode  : 30                    SpdInfoEnable  : NO
OutColorSpace  : YCbCr444              MpegInfoEnable : NO
ColorSpaceAdapt: NO                    DeepColorAdapt : NO
Title: Re: Color space which setting to select?
Post by: DMD on June 08, 2018, 08:11:29 AM
I added the line in the .bat file

(https://s20.postimg.cc/x077cwk7h/Screenshot_001.png)
Title: Re: Color space which setting to select?
Post by: Mount81 on June 08, 2018, 10:07:22 AM
I've already linked the chart that explains what modes you can have with 4K resolution and different output frequencies. In the case of 1080p TV the best you can get is to set to 444/10bit or 8bit. ->Again, check with your own eyes what you would find -maybe a slightly- better during video playback.  Even in the case of 8bit videos you may can get equal or even a slightly bit better result with 10bit (and even if you'r TV is 8bit only).

To make the above test correctly with 4K TV: Set it to 4K and 420/10bit and play a 4K/10bit video, and than check with the tool if it switches to 444/10bit or 422/10bit during video playback.  The best and most desired result would be 444/10bit.

Would be suggested to keep the above settings and also test it with 1080p/8bit videos. 444/10bit would be the best result indeed.   

If you set it on any 4K/8bit mode, than I guess it won't adapt the bitdepth according to the source, so it will stay on 8bit even if you play a 10bit video. But you can also check this with that tool.


Title: Re: Color space which setting to select?
Post by: DMD on June 11, 2018, 02:03:27 PM
I did a test
as soon as the HiMedia is turned on, it is set YCbCr420 10 bit

(https://s20.postimg.cc/ndjbe7on1/Ridimensiona_di_WP_20180611_13_57_20_Pro.jpg)


When I play a 4K HDR file, it is set as it should be

(https://s20.postimg.cc/dmql1nfgd/Screenshot_003.png)

One problem I found is this:
If I first launch an SD or HD non-HDR file, with YCbCr 422 color space, and after I launch the 4K HDR file again, the color space is "locked" on YCbCr422, as shown by Info Diagnostic Tool (The file is 59.940fps)

(https://s20.postimg.cc/5iigwv3b1/Screenshot_004.png)


By restarting the HiMedia and launching the 4K HDR file first, the color space is YCbCr420 10 bit.

I do not understand why this happens.
Title: Re: Color space which setting to select?
Post by: nmou88 on June 11, 2018, 02:34:39 PM
Does 4:2:2 switch automatically to 10 when playing hdr video ?
Title: Re: Color space which setting to select?
Post by: DMD on June 11, 2018, 03:26:31 PM
No.
When it's just turned on, if I first launch 4K HDR file I get 420 @ 10bit.
When it is in the 422 state, if I launch the 4K HDR file, it does not switch to 420 @ 10bit.
However, the display switches to HDR mode.
Title: Re: Color space which setting to select?
Post by: nmou88 on June 11, 2018, 11:03:02 PM
No.
When it's just turned on, if I first launch 4K HDR file I get 420 @ 10bit.
When it is in the 422 state, if I launch the 4K HDR file, it does not switch to 420 @ 10bit.
However, the display switches to HDR mode.
I want to know if it switch to 422 @ 10 from 422 @ 8bit
I already know it doesn't switch to 420
Title: Re: Color space which setting to select?
Post by: Mount81 on June 12, 2018, 05:39:19 AM
I did a test
as soon as the HiMedia is turned on, it is set YCbCr420 10 bit

(https://s20.postimg.cc/ndjbe7on1/Ridimensiona_di_WP_20180611_13_57_20_Pro.jpg)


When I play a 4K HDR file, it is set as it should be

(https://s20.postimg.cc/dmql1nfgd/Screenshot_003.png)

One problem I found is this:
If I first launch an SD or HD non-HDR file, with YCbCr 422 color space, and after I launch the 4K HDR file again, the color space is "locked" on YCbCr422, as shown by Info Diagnostic Tool (The file is 59.940fps)

(https://s20.postimg.cc/5iigwv3b1/Screenshot_004.png)


By restarting the HiMedia and launching the 4K HDR file first, the color space is YCbCr420 10 bit.

I do not understand why this happens.

So does it stay on 422 8bit or 10bit? 422 10bit with 59.94Hz would be -theoretically- impossible as for anything 50Hz and beyond on 4K res.

Isn't it an interlaced or MBAFF video with originally 29.97fps? Maybe the tool reports back the output frequency or the colorspace incorrectly.

If it shows 422 8bit -that would be rather possible-, how I presume, then the player just fails to switch back to 420 10bit. What does it show in the settings after you played the HD videos?

And you can also try it with a 23.976fps 10bit UHD video, what happens than with the colorspace and the bit depth?


Title: Re: Color space which setting to select?
Post by: DMD on June 12, 2018, 05:21:30 PM
I tried to set the YCbCr 444 8bit color space, and with this setting it always stays fixed with both 4K HDR files and HD and SD files.

(https://s20.postimg.cc/lsmvocjml/Screenshot_001.png)

(https://s20.postimg.cc/42l73c0wt/Screenshot_002.png)

At this point what is better to set 422 (bit?) or 444 8bit?

Title: Re: Color space which setting to select?
Post by: Mount81 on June 12, 2018, 06:00:48 PM
As I wrote many times before: -theoretically- at same bit depth level, 444 is always the best option. As well as to check the difference with your own eyes, and decide regarding which you -may- find slightly better. At most cases there would be minor differences anyway between 422 and 444, but they also might can be perceptible. The safer to say is to set it to 444. This only in the case if those both give you 8bit during playback.

As the best still would be, if you could have it switched to 10bit somehow for 10bit videos, as in most cases 10bit rather can make more significant PQ enhancement.

If the setting 422 (no bits) gives you any 4xx 10bit output while playing a 10bit video, I would go for that one for sure. 
Title: Re: Color space which setting to select?
Post by: DMD on June 12, 2018, 06:12:18 PM
The problem of this player I could not understand why it does not keep the settings 4.2.0@10bit.
Title: Re: Color space which setting to select?
Post by: Mount81 on June 12, 2018, 09:07:18 PM
Have you tried with any OFW?
Title: Re: Color space which setting to select?
Post by: DMD on June 12, 2018, 09:19:41 PM
No! only FWC 2.0.4
Title: Re: Color space which setting to select?
Post by: Mount81 on June 12, 2018, 09:32:05 PM
Maybe someone with OFW could test this. I can't since i don't have a 4K TV.
Title: Re: Color space which setting to select?
Post by: DMD on June 12, 2018, 10:25:20 PM
Is look like you forgot to add code line on Q5Q10PRO-OUPUTINFO.bat file.
Code: [Select]
adb shell "grep Color /proc/msp/hdmi0"Please added somewhere after line 21/22.

grep command will add info like that
Code: [Select]
DeepColorMode  : 30                    SpdInfoEnable  : NO
OutColorSpace  : YCbCr444              MpegInfoEnable : NO
ColorSpaceAdapt: NO                    DeepColorAdapt : NO
I apologize for forgetting to thank you for suggesting that I enter the commands in the diagnostic program.
Thank you

After line 20 I added a few lines to remind me of the values of DeepColor.

Code: [Select]
echo --------------------------------------------------
echo REMEMBER: DeepColorMode 24=8Bit 30=10Bit 36=12Bit
echo --------------------------------------------------
Title: Re: Color space which setting to select?
Post by: DMD on June 14, 2018, 06:34:43 PM
I've done some tests and it works 10 bit even with YCbCr444 color space, but only at the 30Hz frame rate.
Having selected HDMI auto adaptation, the resolution of HiMedia is automatically set to that of the 2160P 60Hz display Oled 4K, also with demo movies or filming with fps 60Hz it is impossible to use the 10 bit color space.  :-\
However, the doubt remains if this condition also occurs with the official Firmware. 
Title: Re: Color space which setting to select?
Post by: Mount81 on June 15, 2018, 05:21:16 AM
Why you did set HDMI auto adaptation on, what's the need of that? It's rather advised to leave it OFF in most cases.

You mean it switches form 422 (no bits) to 444 10bit with 30Hz/fps videos? Didn't you mean 23.976Hz/fps? And in the case of 60Hz/fps 10bit videos it switches to 422 8bit? With 60fps and 10bit videos it should switch (or stay on) 420 10bit as the best case. Try both settings 422 (no bits) and 420 10bit on 60Hz.
Title: Re: Color space which setting to select?
Post by: DMD on June 15, 2018, 07:06:10 AM
One thing is certain, that with the tests I made the Himedia (with FWC 2.04) does not guarantee the color space of 10bit @ 60Hz, this is evident and I do not know if it is a limit.
Are there any other players who can do it?
Title: Re: Color space which setting to select?
Post by: pcristi on June 15, 2018, 05:01:24 PM
I don't understand your point about 10bit @ 60Hz

HDMI 2.0 support
(http://www.acousticfrontiers.com/wp-content/uploads/2016/03/HDMI_data_rates.png)
Title: Re: Color space which setting to select?
Post by: DMD on June 15, 2018, 06:25:03 PM
Thanks for specifying the characteristics of the HDMI 2.0 standard, which confirms the color space @ 60Hz 4.4.4 only 8Bit, but at least 4.2.0 I should have it at 10 bit.
Title: Re: Color space which setting to select?
Post by: pcristi on June 15, 2018, 08:22:35 PM
For experiment try autoFMTswitch (http://www.futeko.com/newforum/index.php?topic=1043.0) scripts on yours box when is connected to Oled 4K and see how is switching. Maybe will be good for you.
Title: Re: Color space which setting to select?
Post by: DMD on June 16, 2018, 08:32:39 AM
I also tried this tool.
With initial settings @ 60Hz 4.2.0 10 bit, after playback it always switches to 4.2.2. 8bit and always stays with these settings.
Title: Re: Color space which setting to select?
Post by: DMD on June 21, 2018, 05:55:50 PM
Good morning.
Today I took some time and made 2 final tests.

First test
With CFW (2.0.4) I set the color space 4.2.0 @ 10bit with 4K @ 60Hz display.
I launched a video in HDR and after a video SDR, verifying during playback, with the diagnostic tool Q5Q10PRO-OUTPUTINFO, the color space has changed from 4.2.0 @ 10bit to 4.2.2., This change also remains in the setting.
To check this condition, I launch a 4k HDR video again, but the color space always remains 4.2.2 (DeepColor 24).

Second Test
I installed the OFW (2.0.4) and set the 4.2.0 @ 10bit color space with a 4K @ 60Hz display.
I have launched a video in HDR and after a video SDR verifying during playback, with the diagnostic tool Q5Q10PRO-OUTPUTINFO, the color space remains always as it was set (4.2.0 @ 10bit), even in the setting section remained the same value.

This is an example of a DVD file that in the first test I always detected with the color space 4.2.2 @ 8bit
(https://s20.postimg.cc/tnjoliz1p/Screenshot_001.png)


In conclusion, I do not know what you can depend on, but with the CFW if you set 4.2.0 @ 10bit (4K @60Hz) and an SDR file is played, the color space changes to 4.2.2 and always stays with this value.
These conditions were detected on 2 boxes of HiMedia (Q10 Pro and Q5 Pro).

Thank you
Title: Re: Color space which setting to select?
Post by: Mount81 on June 23, 2018, 02:42:41 PM
The SD video info shows 25fps, means it should switch to 25Hz or (if you have the auto FMT patch installed) to 50Hz during playback. Do you have 50Hz as output or 60Hz? Cause on 25Hz you couldn't have YCbCr 420 with 10bit (as it shows in the info window), only on 50 or 60Hz.

Cause if it's 60Hz, than it's not the correct output frequency for this video and means that you do not have the 24p mode turned on (or not working) in the Playback menu.
Title: Re: Color space which setting to select?
Post by: DMD on June 23, 2018, 11:35:40 PM
No auto FMT patches have been installed.
The tests have only shown that with CFW the color space is changed, with any SDR file and with any framerate, the screenshot you referred to was just one example.
What I wonder and why this does not happen with the OFW with both HDR and SDR files and the color space remains the one set by the 4.2.0 @10bit setting?
Title: Re: Color space which setting to select?
Post by: Mount81 on June 24, 2018, 05:01:12 AM
I'm just making my conclusions by the info's you have shared and  -by my understanding and upon more consideration- the referred info chart show exactly what I've been suspected: the video is 25fps but the output happens on 60Hz. It definitely means that the auto freque switching is not working or it's turned on (the "24p Mode").

If the info app shows that it stays on 420 / 10bit even with 23.976 fps videos (or with any fps videos under 50fps), and you got the number "_60" after the resolution displayed in the chart, it also means the same as above.  As 420 / 10bit / 4K is only supported with 60Hz or 50Hz output. (See all the HDMI 2.0 spec tables linked here before.) So the auto freque switching -necessary for cadence perfect playback-  just isn't activated.  It can and should show 10bit in the case of 23.976, 24, 25, 29,97 and 30fps videos but not with 420 color space. When the proper auto frequency switching happens -adapting to the videos fps-  it should switch also the color space to either 444 or 422. As in these cases (again: with anything under 50fps) the 420 would be simply impossible. 

All of this being told only because your tests simply could make more sense if they would happen also with the proper refresh rate switching.
Title: Re: Color space which setting to select?
Post by: DMD on June 24, 2018, 07:14:56 AM
I understand his logical conclusions, but my question remains the same, because with OFW the color space does not change.
Title: Re: Color space which setting to select?
Post by: Mount81 on June 24, 2018, 07:26:01 AM
I understand his logical conclusions, but my question remains the same, because with OFW the color space does not change.

Because -concluded from the info window you've pasted- the auto frequency switching isn't turned on in your settings. Turn it on and repeat the test with any under 50fps video.
Title: Re: Color space which setting to select?
Post by: DMD on June 24, 2018, 07:52:59 AM
These are the screens with OFW with Frame rate adaptation> Close


(https://s20.postimg.cc/9vvraqlel/01-_23.976_fps.png)

(https://s20.postimg.cc/v5jdll9f1/02-_24fps.png)

(https://s20.postimg.cc/qjn9d8vlp/03-_25_fps.png)

(https://s20.postimg.cc/g9kue0l5p/04-_29.970fps.png)

(https://s20.postimg.cc/3uy2dp931/05-_30fps.png)

(https://s20.postimg.cc/4x88w84r1/06-_50fps.png)

(https://s20.postimg.cc/p4loojhnx/07-_59.940fps.png)

(https://s20.postimg.cc/6p17r5iz1/08-_60fps.png)




These are the screens with OFW with Frame rate adaptation> Open


(https://s20.postimg.cc/ky5fn8a3h/01-23.976fps.png)

(https://s20.postimg.cc/4adxkqn1p/02-_24fps.png)

(https://s20.postimg.cc/kle1h2799/03-_25_fps.png)

(https://s20.postimg.cc/ekgcjzsct/04-_29.970fps.png)

(https://s20.postimg.cc/4adxkrhwt/05-_30fps.png)

(https://s20.postimg.cc/o4zz6vpel/06-_50fps.png)

(https://s20.postimg.cc/h1s3r9zel/07-_59.940fps.png)

(https://s20.postimg.cc/6eyaluyz1/08-_60fps.png)


You're absolutely right is the automatic enabling of the frame rate to always set the color space 4.2.2 @8bit
Title: Re: Color space which setting to select?
Post by: Mount81 on June 24, 2018, 10:51:14 AM
I'm getting suspected that there are several mayor misunderstandings concerned in this issue (could be mine as well, regarding the lack of infos given in your replies).

First: Are you using KODI's own internal player for playback or the HiMedai Player via the Wrapper or from the Media Center?

Second: Where do you set the "Auto frame rate adaptation"? In KODI or in the HiMedia Settings->Playback menu?

Third: Do you have the Auto Frame rate extender patch installed?

To do list:

Uninstall the auto freq extender patch first (only if you have installed it before on this FW).

Turn ON the 24p mode (the HiMedia Players own auto frequency switcher) in the Settings->Playback menu. You should look for something similar to this: 24Hz on the bottom is the setting in this case (https://geeks.hu/sites/default/files/styles/large/public/2016-12/0704_himedia_q10_pro_89.png).

Forget KODI for a while, and do your tests with simply starting the videos from the Media Center using HiMedai Player for playback. (Or you can use the Wrapper method with KODI, but be 100% sure that the Wrapper is activated and that the playback happens with the stock HiMedai Player and not with KODI's player-> See the FAQ).



Repeat the tests.


Cause what I presume is, that you did all the tests with KOID's internal player, which isn't highly suggested to use for playback on these Boxes in general, as it isn't designed to take on all the hardware features that the Box is capable of.


(Or I've could be also mistaken and you indeed did use the HiMedai Player, but your posts were rather so uninformative to conclude anything else at the moment).
Title: Re: Color space which setting to select?
Post by: DMD on June 24, 2018, 11:04:33 AM
1- the HimediaVideoplayer is the default player also for Kodi.
2- The auto frame rate is set in the HiMedia Playback menu.
3- I have not installed any auto patch frame extender.
Title: Re: Color space which setting to select?
Post by: Mount81 on June 24, 2018, 05:07:25 PM
Than it's "simply" a firmware bug. Would be good to know if it's only concerning FW 2.0.4, or at least about a version that is surely not, but looks like this Forum has begun to be rather deserted from a while, to get back relevant -and detailed- answers anytime soon (but would worth a try to post a detailed and informative question in Sticky firmware thread). Also would be expected to have Futeko -at last- step in with their experiences, suggestions and with a clear explanation.   

The 422 (no bits) mode is still a mystery for me, just as that on what bitdepth happens the output during playback if the TV and the AVR juts doesn't display neither 8 or 10bit on it's info banner, tho' they can and would in the case of the other settings.

I'm also would be interested in the answers, as it could be a mayor PQ affecting issue in the case of 10bit video playback in the future.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 06, 2019, 12:05:37 PM
Hello guyz,
It is a long-time-forgotten topic, but there's a new noob in it. Me.
I'm using this tool to understand colorspace a little bit.
But after I launch the .bat file, it keeps runnning every few seconds and I do not have the time to save a full log until the next one is displayed.
How do you stop it from updating continuously?
Thanks.
Title: Re: Color space which setting to select?
Post by: pcristi on January 07, 2019, 06:44:28 AM
@mihailuican
Now is about 5 seconds edit line in .bat file "ping 192.0.2.2 -n 1 -w 5000 > nul" or replace full command with pause.

Title: Re: Color space which setting to select?
Post by: mihailuican on January 07, 2019, 10:35:55 AM
Thank you Pcristi. I'll give it a try and maybe I will come back with some results.
Cheers.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 09, 2019, 03:19:11 PM
@Pcristi.
I added the pause line and worked like a charm
I setup for 4:4:4 - 8bit, for my tv, film is 1080p SDR, and this is the output of the tool, attached. It seems it is running in 4:4:4:, doesn'it? I think it is OK. Your opinion? Thanks.
Title: Re: Color space which setting to select?
Post by: pcristi on January 09, 2019, 03:50:43 PM
@mihailuican
Quote
Formt/DispMode      :1920*1080_23_976/2D
.....
SrcFrmType                          : SDR
.....
===================================================================
DeepColorMode  : 36                    SpdInfoEnable  : NO
OutColorSpace  : YCbCr444              MpegInfoEnable : NO
ColorSpaceAdapt: NO                    DeepColorAdapt : NO
Press any key to continue . . .
According  attached file is  YCbCr 4:4:4 12Bit :).

DeepColorMode
24 = 8Bit
30 = 10Bit
36 = 12Bit

BTW this is my prefers mode for FHD display and 720p/1080p SDR contend on UHD display.

Title: Re: Color space which setting to select?
Post by: mihailuican on January 09, 2019, 07:55:53 PM
Thanks for your answer.
Probably this is what the Q10Pro is outputting, but, FOR SURE, the tv (Panasonic TX-50DXU701 has only 8-bit display. This is the display tech specs.
It's not bad, it was all I could afford.
Right now I am watching some series, 720p, and is showing 8 bit 4:4:4: 24, and 4:4:4.So it is not always the same, it is a function of the playback film.
The first, Hobbit, was a direct rip of a bluray, like 38GB (huge), probably that was why the 4:4:$: 12bit quality.
Cheers.

Edit: Later, I played again Hobbit, and was only 8 bit 4:4:4:.
Now I understand:
setting up Q10Pro, in settings/display to 2160p-30Hz playback, and using your autoFMTswitch_1.3.9.2, the playback of the movie is 1080p, 24hz, 4:4:4:12bit.
after I removed autoFMTswitch_1.3.9.2, under the same diplay sting of 21`60p-30Hz, the same movie playback is 2160p-24Hz, and 4:4:4: 8-bit only.
So, your framerate switch is actually helping augment to 4:4:4:12bit signal, but only 1080p, so the tv does the upscaling.
Without your framerate switch, the playback is 2160p but 4:4:4: 8-nit only.
I still fight to understand what's best for the eye....
Title: Re: Color space which setting to select?
Post by: pcristi on January 09, 2019, 08:24:58 PM
As I know are not in market 12bit UHD panel.
Please check again Panasonic display info report with Hobbit and don't confuse you 8bit panel with DeepColorMode are not equals.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 09, 2019, 08:43:02 PM
You are right, I AM confused by panel 8-bit color HDR, "fake hdr" as it is called, and other specs, such as color depth.
This is my panel: (8bit color) https://www.displayspecifications.com/en/model/31f18d0 ...
Panel is 8-bit DEPTH, but 16777216 colors - 24 bits... and only 8-bit HDR, not HDR10....
I try to understand all these, is not that simple... https://dgit.com/4k-hdr-guide-45905/
Any advice and links to reading is welcome.
Cheers.
Title: Re: Color space which setting to select?
Post by: Mount81 on January 10, 2019, 03:44:42 AM
I get "only" 444 10bit during playback as well (bit disappointment, hoped it can switch to 12bit, but my TV may doesn't support it), I guess it's the best I could get with my FHD TV. Oh, and I didn't activated the "Advanced settings remote code", and didn't change any of these settings, all is as it's originally.

I guess I would be that lucky with an UHD TV, as I've read before, that's where "troubles" and "reductions" begin to occur during colorspace and bitdepth switching.

It would be good to see some tests with UHD videos (+HDR) on a UHD TV as well... I'm curious...
Title: Re: Color space which setting to select?
Post by: pcristi on January 10, 2019, 12:55:33 PM

Edit: Later, I played again Hobbit, and was only 8 bit 4:4:4:.
Now I understand:
setting up Q10Pro, in settings/display to 2160p-30Hz playback, and using your autoFMTswitch_1.3.9.2, the playback of the movie is 1080p, 24hz, 4:4:4:12bit.
after I removed autoFMTswitch_1.3.9.2, under the same diplay sting of 21`60p-30Hz, the same movie playback is 2160p-24Hz, and 4:4:4: 8-bit only.
So, your framerate switch is actually helping augment to 4:4:4:12bit signal, but only 1080p, so the tv does the upscaling.
Without your framerate switch, the playback is 2160p but 4:4:4: 8-nit only.
I still fight to understand what's best for the eye....

Install autoFMTswitch_1.3.9.2 with option 1, after box reboot run  RUN_ME.bat again and choose option 6 to inactive switch resolution, then can try again Hobbit maybe will see 2160p/24Hz with 12Bit.

Possible to do setting by edit /sdcard/autoFMTswitchFlag
Line 1 --> General switching script ON/OFF
Line 2 --> AFR active on OMX(YouTube, Netflix, etc...) OMX/OFF
Line 3 --> AFR switch resolutions RLS/OFF

Probably will not see difference with Hobbit if you don'w direct compare with OPPO, but are some specific movie like The Martian (2015) where banding color are more easy to see it when is set with wrong DeepColor.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 10, 2019, 04:02:53 PM
With FMT option 1, display settings were changed: I initially set them up 2160p 30Hz, 444-8bit. I found them changed to 2160p 50Hz, 420 8bit.
I changed them again to 2160p 25Hz and 444-8bit.
I did, FMT switch option 6, and the same hobbit played 2160p, 24Hz, but 4:4:4: 10 bit, not 12 like before. I attach again both infotool logs initial hobbit, and final with option6.
I am sick at home for many months, so I can test a little bit more, if you need me to, and tell me how and what specifically.
Title: Re: Color space which setting to select?
Post by: pcristi on January 10, 2019, 06:33:52 PM
autoFMTswitch script is not intend to continue support or improve.
Our 4pda friends have a alternative project of AFR Assistant utility witch are on beta stage more details can be read on 4pda forum (http://4pda.ru/forum/index.php?showtopic=734477&st=15480#entry80693517).

AFR Assistant utility request:
- CFW v2.1.0[1.5]/v2.1.1[1.x] or CFW Madandndron/RiCo97
- AFR_APP_Install(xx).zip download from mediafire (https://www.mediafire.com/?qu0b14itqs1d4) for my CFW v2.1.0[1.5]/v2.1.1[1.x] .
- advanced understanding of how to set via /sdcard/afr.cfg.
- HiMedia AFR ON
- install with AFR Install and Run.bat

Credits go to YouROK & MadAndron from 4pda forum.

Know problems of AFR Assistant v26
- not OMX support
- not PAUSE/PLAY support
- not proper work with HiMedia AFR OFF
- not support of 12Bit with 1080p
- Break 3D view (not 3D output support)
- sometime stack on black screens
- Maybe other witch I don't remember now

LE:
Add on mediafire archive with older version of afr
- proper work with HiMedia AFR OFF
- support of 12Bit with output 1080p
- add a demo afr.cfg for FHD TV with 12Bit support

Know problems of older version
afr.cfg need to contend rules for 0.25 fps a same as MainMenu to avoid double switch.
Note: AFR Assistant can be downloaded medifire
- v26 here (https://www.mediafire.com/?1q4xzjqje8j5gzs).
- older here (https://www.mediafire.com/?63925lc32os7yc9).

If something not go like you want just run AFR Disable.bat
Use at your own risk.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 10, 2019, 06:47:08 PM
Thank you, I will try and read about it, despite the fact that it is in Russian.
As compared to YOUR FMT switch, any advantages in performance, or just the fact that it is still under development, improvement in time?
Thank you, Pcristi.

I see that there are two variants of their CFW. How can I extract only the APR apk from their zip package, please, to follow future improvements without installing thei cfw and maintaing your 2.1.1?
Simply take their "afr" file and replace it in place of your afr file and keep the other?
Title: Re: Color space which setting to select?
Post by: pcristi on January 10, 2019, 07:27:49 PM
Chrome Google translate from Russian to English is OK for read 4dpa forum.
AFR Assistant utility is a Linux executable don't need to extract anything from they custom FW just use mediare files from AFR_APP_Install_v26.zip
on my CFW v2.1.0[1.5]/v2.1.1[1.x] will easy for you and general user here.
Why CFW v2.1.0[1.5]/v2.1.1[1.x] or they CFW, simple because need FW with init.d support to call 00afrStart
Compare AFR scripts with AFR Assistant utility a last one use less resource and more flexible configuration after understanding of how to deal with  /sdcard/afr.cfg.
Future update is mean to update afr file and execute again "AFR Install and Run.bat"
Maybe latter I will to make a AFR Install and Run.bat compatible with all HiMedia/Egreat/Dinobot FW.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 10, 2019, 09:53:15 PM
Good to know, the next days I will try more combinations of Q10 display and colorspace settings, with playback of different files plus/minus both framerate switches (yours and afr) to see what OUTPUTINFO I get... and IF I understand anything systematic of all these.
Thank you for your work and willingness to help others too.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 11, 2019, 05:04:48 PM
@Pcristi:
as to afr, do you think their typical example for settings in the cfg file is the best for a HDR, UHD 8-bit TV like mine?
I mean BEST SETTINGS in terms of maximizing colorspace to 4:4:4 - and 12bit as much as posible?
Why not put averything inside 4:4:4:, 12 bit? Because it is not meeting HDMI 2.0 standards anymore and thus not possible?
I I were to put my best values in the cfg file, what would you recommend?
I attach my afr.cfg file.
These settings give me 4:4:4 12 bit color. (see attach)
Title: Re: Color space which setting to select?
Post by: pcristi on January 12, 2019, 12:09:57 AM
422/12Bit is safety option witch need cover all frequency 24/25/30/50/60 according HDMI standards also is preferred setting on blu-ray disc player, but not all TV/projector like it and can introduce severe color banding.
As probably you already see it AFR Assistant utility switch without failback check and can easy go on back screen/hdmi no signal.
Very few user will see difference between 422 and 444 on PQ.
Set as you prefer and use 12Bit where is possible if settings not introduce color banding.

LE: On your attached afr.cfg remove space before and after @, I'm not sure how AFR Assistant utility read parameters from line.
Title: Re: Color space which setting to select?
Post by: Mount81 on January 12, 2019, 03:47:25 AM
pcristi: Which lines refer to in/out resolution and fps/Hz in and fps/Hz out and HDR / SDR status in your info tool?

I want to make a "simpler" version where only colorspcae, bitdepth, resolution,  fps/Hz and HDR/SDR info is displayed (but you can also make it if you want).

Edit: User (on a different Forum) reported, that if he sets the GUI to: 4K / 60Hz / 420 / 10bit the tool will report back 422 / 8bit while playing a video. And after the playback the GUI sets to "simple" 422 (no bits) in the Advanced Settings.

Edit2: Reported, that if he sets the GUI to 4K / 30Hz /444 / 10bit, itt will still that way during video playback and after he returns to the menu as well.

What could case this lame and unpredictable behavior of the bitdepth and colorspace switching during video playback?

In the case of 420 / 10bit GUI setting is should switch to either 444 or 422 10bit during video playback (eg. 23.976Hz), so why does it reduce and switch rather to 8bit? It's definitelly seems like a "bug" in how this auto switching works...

(OFW 2.1.1 and no additional patches installed).

Edit 3: I've corrected the first Edit as it it was 422 (no bits) and not 420 that the GUI has switched back after playback.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 12, 2019, 07:51:43 AM
On your attached afr.cfg remove space before and after @, I'm not sure how AFR Assistant utility read parameters from line.
I removed all pauses, and also included ALL possible (complete) resolutions, with 4:4:4:-12bit.
I will test as many sample resolution films and see result, whether or not color banding, and with output info tool, and make downward adjustments where I will meet trouble.
When all results will be OK, I will attach here the file for everyone to use and test on their own, so we make sure maximized color and bit depth specs setup.
A good ide will be lake Mount81 said to have a shorter, more relevant in/out tool.
Cheers.
Title: Re: Color space which setting to select?
Post by: pcristi on January 12, 2019, 05:26:34 PM
@Mount81
Did you event read one time Q5Q10PRO-OUPUTINFO information? if Yes then you already know a answer.
FrcInRate/FrcOutRate/fps/SDR/HDR/etc.

Sorry I can't follow edits on your post.
HiMedia Setting/Display and Android settings/Advance options are relevant only if user don't use AFR scripts/AFR Assistant utility.
In first second when AFR scripts/AFR Assistant utility are install in box only reading output information will know real box output and a GUI information is become irrelevant.
Title: Re: Color space which setting to select?
Post by: Mount81 on January 13, 2019, 06:39:36 AM
@Mount81
Did you event read one time Q5Q10PRO-OUPUTINFO information? if Yes then you already know a answer.
FrcInRate/FrcOutRate/fps/SDR/HDR/etc.

Sorry I can't follow edits on your post.
HiMedia Setting/Display and Android settings/Advance options are relevant only if user don't use AFR scripts/AFR Assistant utility.
In first second when AFR scripts/AFR Assistant utility are install in box only reading output information will know real box output and a GUI information is become irrelevant.

I guess you misunderstood my request. I just want to make a "simplified" version of the tool that ONLY shows the info's I've listed.

I don't know how AFR patch's concern my posts at all. I was as clear as possible to try to explain the issue reported by the user, sorry you couldn't decode. 

Nevermind...
Title: Re: Color space which setting to select?
Post by: pcristi on January 13, 2019, 10:29:54 AM
@Mount81
As "simplified" version of the tool can give a try of this one (https://www.mediafire.com/?q54453n42hznkel).
Title: Re: Color space which setting to select?
Post by: Mount81 on January 13, 2019, 10:40:48 AM
Someone linked a solution on another Forum:

For setting 444 / 10bit (under 30Hz videos, while playing):

adb shell "echo outclrspace 2 > /proc/msp/hdmi0"
adb shell "echo deepclr 1 > /proc/msp/hdmi0"


For setting 420 / 10bit (for the GUI and videos with 60Hz or 50Hz):

adb shell "echo outclrspace 3 > /proc/msp/hdmi0"
adb shell "echo deepclr 1 > /proc/msp/hdmi0"


Will it work in a .bat file, like this?:

echo off
cls
taskkill /f /im adb.exe 2>NUL
set var=192.168.1.194
adb connect %var%:5555
adb shell "echo outclrspace 3 > /proc/msp/hdmi0"
adb shell "echo deepclr 1 > /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
:Info
cls
adb shell "grep Color /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
goto Info
exit


It looks like we need some "permission switches" also triggered first. But dunno' what exactly...
Title: Re: Color space which setting to select?
Post by: pcristi on January 13, 2019, 01:27:51 PM
Run script as root, will need to be OK, as I remember colorspace,  deepcolor is still there after box reboot.
Code: [Select]
adb connect %var%:5555
adb root
adb connect %var%:5555
adb shell "echo outclrspace 3 > /proc/msp/hdmi0"
Title: Re: Color space which setting to select?
Post by: Mount81 on January 13, 2019, 04:41:26 PM
Run script as root, will need to be OK, as I remember colorspace,  deepcolor is still there after box reboot.
Code: [Select]
adb connect %var%:5555
root
adb connect %var%:5555
adb shell "echo outclrspace 3 > /proc/msp/hdmi0"

With this .bat file:

echo off
cls
taskkill /f /im adb.exe 2>NUL
set var=192.168.1.194
adb connect %var%:5555
root
adb shell "echo outclrspace 2 > /proc/msp/hdmi0"
adb shell "echo deepclr 1 > /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
:Info
cls
adb shell "grep Color /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
goto Info
exit


We get the following errors:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.0.197:5555
'root' is not recognized as an internal or external command,
operable program or batch file.
/system/bin/sh: can't create /proc/msp/hdmi0: Permission denied
/system/bin/sh: can't create /proc/msp/hdmi0: Permission denied


What's wrong with the permissions? And why the command "root" not recognized?

Edit: Guess the adb was missing before "root":

echo off
cls
taskkill /f /im adb.exe 2>NUL
set var=192.168.1.194
adb connect %var%:5555
adb root
adb shell "echo outclrspace 2 > /proc/msp/hdmi0"
adb shell "echo deepclr 1 > /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
:Info
cls
adb shell "grep Color /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
goto Info
exit


Is this correct?
Title: Re: Color space which setting to select?
Post by: pcristi on January 13, 2019, 06:11:09 PM
Edit: Guess the adb was missing before "root":
Correct fix in OP
After adb root, need adb connect again if box run any CFW or start with v2.0.9 in OFW.
Code: [Select]
...
adb connect %var%:5555
adb root
adb connect %var%:5555
adb shell "echo outclrspace 2 > /proc/msp/hdmi0"
...
Title: Re: Color space which setting to select?
Post by: mihailuican on January 15, 2019, 06:19:56 AM
Hey guys,
after a couple of days of installing/uninsalling/modyfying afg.cfg files for several versions of FRT/AVR apps, the only one CERTAIN conclusions that I could draw up is that colorspace settings and bitdepth are NOT easy to understannd or FAR FROM CONTROL or setup.
Regardless what we write and modify in afr.cfg, the mediaplayer apparently has its own way on startup so modify your settings, playback specific files with OTHER settings than to ones that I throught I prescribed in the cfg file, so on ans so forth.
Many times I tried to force one 1080p series of films (hobbit and TLOTR) to playback 4:4:4:-12bit, and no AFR app could do so. Only Pcristi's FRT app could, with its default settings in its afr.cfg file.
Like my modifications were useless... The machine kept playing OTHER settings, not mine, as the OUTPUTINFO app indicated.
So I decided that I am lucky (if luck has anything to do with programming) anough to have my collection of 1080p played in 444-12bit and 4kHDR collection payed in 422-8bit so I will stop trying other setups or apps until something new appears.
Android and video playback applications ARE FAR BEYOND EXACT CONTROL. Is Erratic OR we still do not know weel enough how to control it, yet.
Cheers.
Title: Re: Color space which setting to select?
Post by: Mount81 on January 15, 2019, 08:56:41 AM
Same observations as in the post above from 2 testing users on another Forum. HiMedia's auto colorspce and bitdepth switching on UHD resolution, works very unpredictable and unexplainable ways, thus' resulting in far-from optimal settings during playback.

Test results: Setting the GUI to 4K / 60Hz / 420 / 10bit, during the video playback (on 23.976Hz) it switched to 422 / 8bit every time. Returning to the GUI shows 422 (no bit's) in the Advanced menu.

Test2: Setting the GUI to 4K / 30Hz /444 / 10bit, during the video playback it kept these setting well, and after returning to the GUI it stayed this way also. (But very unsettling option is to keep the GUI on 30Hz all the time).

Tested with OFW 2.1.1. on two different model UHD / HDR / 10bit TV's and both with the info.bat tool and with the TV's own info displayed.

Just hope, that the following script started in a .bat file, will work for triggering 444 / 10bit mode even during playback.:

echo off
cls
taskkill /f /im adb.exe 2>NUL
set var=192.168.1.194
adb connect %var%:5555
adb root
adb connect %var%:5555
adb shell "echo outclrspace 2 > /proc/msp/hdmi0"
adb shell "echo deepclr 1 > /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
:Info
cls
adb shell "grep Color /proc/msp/hdmi0"
ping 192.0.2.2 -n 1 -w 7000 > nul
goto Info
exit


Any risks or drawback that pcristi or any others know about concerning using a script like this -regularly- for colorspace and bitdepth switching on the player?
Title: Re: Color space which setting to select?
Post by: mihailuican on January 15, 2019, 08:32:43 PM
Hello Pcristi,
I am thinking of this: is your Q10PROOUTPUTINFO tool telling if the box is outputting HDMI1.4 or HDMI2.0a, given the cable used and tb hdmi pot settings? Just curious.
Title: Re: Color space which setting to select?
Post by: mihailuican on January 18, 2019, 09:28:58 PM
#Pcristi

attached outputinfo and DEBIG info, about 720p played as 1080p/23.976Hz with 4:4:4: 12 bit.
please feel free to comment.
Title: Re: Color space which setting to select?
Post by: pcristi on January 19, 2019, 12:28:58 AM
...
attached outputinfo and DEBIG info, about 720p played as 1080p/23.976Hz with 4:4:4: 12 bit.
Very few display support 720p/23.976 or 720p/24 and are not implemented in HiSilicon SDK and HiMedia FW.
AFR script is doing upscale to 1080p for 720p in order to get match of fps and framerate.
Logic on AFR script start with v1.3.2 first try to switch to 12Bit/444 for 1080p video output.
AFR Assistant utility is more flexible then AFR script and can give a same result as script with proper afr.cfg set.
Title: Re: Color space which setting to select?
Post by: Mount81 on January 19, 2019, 03:05:27 PM
Same observations as in the post above from 2 testing users on another Forum. HiMedia's auto colorspce and bitdepth switching on UHD resolution, works very unpredictable and unexplainable ways, thus' resulting in far-from optimal settings during playback.

Test results: Setting the GUI to 4K / 60Hz / 420 / 10bit, during the video playback (on 23.976Hz) it switched to 422 / 8bit every time. Returning to the GUI shows 422 (no bit's) in the Advanced menu.

Test2: Setting the GUI to 4K / 30Hz /444 / 10bit, during the video playback it kept these setting well, and after returning to the GUI it stayed this way also. (But very unsettling option is to keep the GUI on 30Hz all the time).

Tested with OFW 2.1.1. on two different model UHD / HDR / 10bit TV's and both with the info.bat tool and with the TV's own info displayed.

Futeko: have you registered the upper issue and forwarded to HiMedia as a bug report with a request for a certain and inevitable fix regarding in the upcoming firmware? If not jet, please do so (as expected), as it's a very mayor and odd PQ influencing issue for a modern media player, that pretends to be one of the flagship devices of it's kind and also concerns all of the users yet using these boxes with an UHD display...

Thanks!
Title: Re: Color space which setting to select?
Post by: mihailuican on January 23, 2019, 07:10:49 AM
Finally, I obtained a smooth playback, no interruptions. 1090p and 720p/24 will play 4:4:4:-12bit. 720p/25fps will play 720p/25, the machine cannot upscale to 1080p, but it plays smooth, also at 4:4:4:-12bit. 4kHDR will play at 4:4:4 - 8bit, the max my HDR tv panel will take. I am pleased.
I use AFR script V26 from #Pcristi, from here https://www.mediafire.com/?qu0b14itqs1d4
For whomever interested, this is how I modified the settings file, afr.cfg from sdcard directory.

3840X2160:444, 12
3840X2160@59.94:3840X2160@60, 444, 12
1080:444, 12
1080@59.94:1080@60, 444, 12
1080i:1080, 444, 12
1080i@50:444, 12
 1080i@59.94:1080i@60, 444, 12
1080i@60:444, 12
 4096X2160:444, 12
480:1080, 444, 12
480@60:444, 12
576:444, 12
720:1080, 444, 12
720@25:444, 12
 720@30:444, 12
720@50:444, 12
720@59.94:720@60, 444, 12
720@60:444, 12
Disabled:0
MainMenu:1080@60, 422, 8
PauseMainMenu:1
Title: Re: Color space which setting to select?
Post by: Mount81 on January 25, 2019, 02:35:21 PM
Futeko: please reply and confirm that you have registered my bug report above and will froward this bug fix request to HiMedia.

Thanks!
Title: Re: Color space which setting to select?
Post by: futeko.com on January 25, 2019, 03:02:33 PM
have you registered the upper issue and forwarded to HiMedia as a bug report with a request for a certain and inevitable fix regarding in the upcoming firmware? If not jet, please do so (as expected), as it's a very mayor and odd PQ influencing issue for a modern media player, that pretends to be one of the flagship devices of it's kind and also concerns all of the users yet using these boxes with an UHD display...
Thanks!

It still is one the best products of it's kind for playing 4K video. Even 3 years after launch.

I will report it to HiMedia as usual. The pcristi auto framerate patch is worth a go though.

Title: Re: Color space which setting to select?
Post by: Mount81 on January 25, 2019, 05:42:48 PM
It still is one the best products of it's kind for playing 4K video. Even 3 years after launch.

I will report it to HiMedia as usual. The pcristi auto framerate patch is worth a go though.

I would agree totally in the case if this very basic "feature" would also work as expected (and as it does in the case of almost all other mayor manufacturers similar Media Players). No doubt, that the playback of UHD and thus mostly 10bit and HDR videos on 8bit and also a little, but countable away from perfect colorspace output can affect PQ in a noticeably wrong direction and isn't what I would call as an expected operation from a Media Player in this "upper class".

And I still would prefer an all-official bug fix implemented, rather than patching it up with one of these user made workarounds,  towards which I'm still keeping my cautions and reservations.

And this bug also seems just very easy to fix (and thus also in a contradicting way, somehow just very unworthy for these Boxes), so hope HiMedia can figure it out and fix it in no time.

And thanks for forwarding the request!
Title: Re: Color space which setting to select?
Post by: pcristi on April 01, 2019, 05:35:56 PM
AFR Assistant utility v1.08

Google tranlation from Russian
Changelog v1.08
1. Minor AFR edits regarding OMX work.
2. Added application to disable AFR Helper completely, and only to disable OMX. In the list of applications there will be two shortcuts for this. Press once to disconnect. Once again for inclusion.
3. AFR Helper Version 1.08

Changelog v1.06
1. New config (fixed all known jambs with frequency switching for version 1.04)
2. Check the color space. Does not switch if this is already installed.
3. Changes in the installer. Remove tails from previous installations when installing a new version.
4. Put on any firmware. Ruth is not needed
5. Fixed output in the log
6. Version AFR Helper 1.04 and 1.06 (with support for OMX)
7. Added ADB manual restart point
8. Hybrid version of the installer. It is possible to install both regular AFR and OMX support (for SmartYoutube, Perfect, Vimu, etc.)
9. In 1.06 version added rounding of non-standard frequencies to standards. for example, 57.8 will be up to @ 60.

-- AFR_APP_Install(xx).zip download from mediafire (https://www.mediafire.com/?qu0b14itqs1d4).

Credits go to YouROK & MadAndron from 4pda forum.
Title: Re: Color space which setting to select?
Post by: mihailuican on April 01, 2019, 05:59:58 PM
I tried to install, after uninstalling previous version.
EDIT: It went well, first time I saw only gibberish, but english indications were there too.
It installed well, i modified the cfg file, waiting to report on performance, so far I get what I wanted, 4:4:4: 12 bit.
Title: Re: Color space which setting to select?
Post by: pcristi on April 01, 2019, 08:24:51 PM
Hi mihailuican,
I think I fixed AFR_Installer_int108.bat to run with any OFW/CFW, please download again.

PS: Because many of us not has Cyrillic support install I post here:
1st Menu
Code: [Select]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++                         AFR Helper Menu                               +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++  1   ????????? AFR Helper(???.OMX) / Install AFR Helper(incl.OMX)     +++
+++  2   ????????? ?????????? ???????? / Install AFR Helper Control APK   +++
+++  3   ???????? AFR Helper / Uninstall AFR Helper                       +++
+++  4   ????????????? ????????? / Reboot mediabox                        +++
+++  5   ?????????? ADB / Restart ADB                                     +++
+++  6   ????? / Exit                                                     +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2nd Menu
Code: [Select]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++    1   ????? / Exit                                                   +++
+++    2   ????????? ? ??????? ???? / Return to main menu                 +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Title: Re: Color space which setting to select?
Post by: mihailuican on April 01, 2019, 08:32:52 PM
Thank you. It worked, I was not attentive and did not read completely, English was there allright.
So far working as expected, I keep my fingers crossed.
Thanks for your great work.

Later Edit: After two days, playback still maintains its preset YCbCr 4:4:4: 12bit, which keeps me happy and my fingers still crossed.
Title: Re: Color space which setting to select?
Post by: eladios on July 24, 2019, 10:36:24 PM
AFR Assistant utility v1.08

Google tranlation from Russian
Changelog v1.08
1. Minor AFR edits regarding OMX work.
2. Added application to disable AFR Helper completely, and only to disable OMX. In the list of applications there will be two shortcuts for this. Press once to disconnect. Once again for inclusion.
3. AFR Helper Version 1.08

Changelog v1.06
1. New config (fixed all known jambs with frequency switching for version 1.04)
2. Check the color space. Does not switch if this is already installed.
3. Changes in the installer. Remove tails from previous installations when installing a new version.
4. Put on any firmware. Ruth is not needed
5. Fixed output in the log
6. Version AFR Helper 1.04 and 1.06 (with support for OMX)
7. Added ADB manual restart point
8. Hybrid version of the installer. It is possible to install both regular AFR and OMX support (for SmartYoutube, Perfect, Vimu, etc.)
9. In 1.06 version added rounding of non-standard frequencies to standards. for example, 57.8 will be up to @ 60.

-- AFR_APP_Install(xx).zip download from mediafire (https://www.mediafire.com/?qu0b14itqs1d4).

Credits go to YouROK & MadAndron from 4pda forum.

Could you explain how to install it? Is it for automatic change of fps frequency?
Thanks in advance
Title: Re: Color space which setting to select?
Post by: yalwaysme on July 25, 2019, 11:53:17 AM
help try to install afr helper 1.08....

already connected to 192.168.0....
Not running as root. Try "adb root" first.
killall: afr: No such process
failed to copy 'afr' to '/system/bin/afr': couldn't create file: Read-only file system
chmod: /system/bin/afr: No such file or directory
failed to copy 'keyfunction.xml' to '/system/etc/keyfunction.xml': couldn't create file: Read-only file system
chmod: chmod '/system/etc/keyfunction.xml' to 100755: Read-only file system
rm: /system/etc/init.d/03afr: No such file or directory
rm: /sdcard/afr.cfg: No such file or directory
sed: using fallback suid method
sed: can't create temp file '/system/etc/init.bigfish.shYn3ONv': Read-only file system
833 KB/s (1971932 bytes in 2.309s)
Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install ru.yourok.afr without first uninstalling.]
/system/bin/sh: afr: not found
Press any key to continue . . .
Title: Re: Color space which setting to select?
Post by: mulderfox on July 28, 2019, 01:21:09 AM
Does it require root to work? Why would I need this? Does it help reach higher color depth settings?

AFR Assistant utility v1.08

Google tranlation from Russian
Changelog v1.08
1. Minor AFR edits regarding OMX work.
2. Added application to disable AFR Helper completely, and only to disable OMX. In the list of applications there will be two shortcuts for this. Press once to disconnect. Once again for inclusion.
3. AFR Helper Version 1.08

Changelog v1.06
1. New config (fixed all known jambs with frequency switching for version 1.04)
2. Check the color space. Does not switch if this is already installed.
3. Changes in the installer. Remove tails from previous installations when installing a new version.
4. Put on any firmware. Ruth is not needed
5. Fixed output in the log
6. Version AFR Helper 1.04 and 1.06 (with support for OMX)
7. Added ADB manual restart point
8. Hybrid version of the installer. It is possible to install both regular AFR and OMX support (for SmartYoutube, Perfect, Vimu, etc.)
9. In 1.06 version added rounding of non-standard frequencies to standards. for example, 57.8 will be up to @ 60.

-- AFR_APP_Install(xx).zip download from mediafire (https://www.mediafire.com/?qu0b14itqs1d4).

Credits go to YouROK & MadAndron from 4pda forum.
Title: Re: Color space which setting to select?
Post by: pcristi on July 28, 2019, 11:05:34 AM
Does it require root to work? Why would I need this? Does it help reach higher color depth settings?
Not need root, maybe can set 12bit for 1080p  or 2160p up to 30Hz video output.
Russian AFR_Helper_Users_Manual_v.1.1.html (https://www.mediafire.com/?60m7zgqt9zxmoz6)use Google for translation.
Title: Re: Color space which setting to select?
Post by: yalwaysme on July 30, 2019, 09:53:27 PM
Does it require root to work? Why would I need this? Does it help reach higher color depth settings?
Not need root, maybe can set 12bit for 1080p  or 2160p up to 30Hz video output.
Russian AFR_Helper_Users_Manual_v.1.1.html (https://www.mediafire.com/?60m7zgqt9zxmoz6)use Google for translation.

Hi I try install it says no root why please help thank you

already connected to 192.168.0....
Not running as root. Try "adb root" first.
killall: afr: No such process
failed to copy 'afr' to '/system/bin/afr': couldn't create file: Read-only file system
chmod: /system/bin/afr: No such file or directory
failed to copy 'keyfunction.xml' to '/system/etc/keyfunction.xml': couldn't create file: Read-only file system
chmod: chmod '/system/etc/keyfunction.xml' to 100755: Read-only file system
rm: /system/etc/init.d/03afr: No such file or directory
rm: /sdcard/afr.cfg: No such file or directory
sed: using fallback suid method
sed: can't create temp file '/system/etc/init.bigfish.shYn3ONv': Read-only file system
833 KB/s (1971932 bytes in 2.309s)
Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install ru.yourok.afr without first uninstalling.]
/system/bin/sh: afr: not found
Press any key to continue . . .
Title: Re: Color space which setting to select?
Post by: pcristi on July 31, 2019, 07:29:09 AM

already connected to 192.168.0....
Not running as root. Try "adb root" first.

Try next:
- double click on AFR_Installer_int108.2.bat input box ip when ask then when menu appears choose a non existing option like 9, after that do install with 1 or 2 option.
Title: Re: Color space which setting to select?
Post by: yalwaysme on August 01, 2019, 06:06:11 PM

already connected to 192.168.0....
Not running as root. Try "adb root" first.

Try next:
- double click on AFR_Installer_int108.2.bat input box ip when ask then when menu appears choose a non existing option like 9, after that do install with 1 or 2 option.
Try and still not working please help
Title: Re: Color space which setting to select?
Post by: yalwaysme on August 04, 2019, 07:21:46 AM
Please can anyone help to install AFR on CFE 2.1.1?

I tried and keep getting no root try and root....
Title: Re: Color space which setting to select?
Post by: pcristi on September 29, 2019, 12:17:24 PM
Новая версия AFR Helper 1.0.9
AFR Assistant utility v1.09


1. Обновлен конфиг для 4к теликов. Вроде учтены все ньюансы.
2. Новая версия приложения контроля с меню выбора что нужно сделать, вкл./выкл. AFR или OMX по кнопкам "1" и "3" соответственно. Добавлена возможность быстрого переключения частоты интерфейса между @50 и @60 по кнопке "2" на пульте
2. В меню инсталятора добавил пункт(55) удаления поддержки горячих клавиш 1,2,3 и восстановления их исходных функций.
3. Мелкие доработки в установщике.

Все благодарности по исполнению хотелок AFR Helper нашему товарищу @Yourok

Google translation from Russian
1. Updated config for 4k telly. It seems that all the nuances have been taken into account.
2. A new version of the control application with a menu to select what needs to be done, on / off. AFR or OMX by buttons "1" and "3" respectively. Added the ability to quickly switch the interface frequency between @ 50 and @ 60 using the "2" button on the remote
2. In the installer menu, added item (55) to remove support for hot keys 1,2,3 and restore their original functions.
3. Minor improvements in the installer.

(https://www.mediafire.com/convkey/0800/0a02clf6kh7bisszg.jpg?size_id=4)
(https://www.mediafire.com/convkey/4a08/8hjv79dqhalxsmhzg.jpg?size_id=4)

-- AFR_APP_Install(xx).zip download from mediafire (https://www.mediafire.com/?qu0b14itqs1d4).

Credits go to YouROK & MadAndron from 4pda forum.
Title: Re: Color space which setting to select?
Post by: JohnnyBoyIsMe on January 16, 2020, 03:03:17 PM
Where abouts is the colour space settings located in  2.1.4?

Previous versions they were in Advanced Settings, now i only have TV HDR mode.
Thanks
Title: Re: Color space which setting to select?
Post by: pcristi on January 16, 2020, 04:40:03 PM
@JohnnyBoyIsMe
Q5/Q10 Pro FAQ (https://www.futeko.com/newforum/index.php?topic=1517.0)
Quote
* Colorspace options in firmware 2.1.0 and later? The 10bit colourspace options can be restored in 2.1.0 by pressing 0 3 5 1 in sequence on the Himedia remote.
Title: Re: Color space which setting to select?
Post by: JohnnyBoyIsMe on January 17, 2020, 01:13:21 AM
@JohnnyBoyIsMe
Q5/Q10 Pro FAQ (https://www.futeko.com/newforum/index.php?topic=1517.0)
Quote
* Colorspace options in firmware 2.1.0 and later? The 10bit colourspace options can be restored in 2.1.0 by pressing 0 3 5 1 in sequence on the Himedia remote.
Excellent, thanks for that
Title: Re: Color space which setting to select?
Post by: JohnnyBoyIsMe on January 18, 2020, 09:08:34 AM
Are there some colour spaces that do not work in the Q10pro?

I cannot select RGB 10bit and 4:4:4 10bit, all others I can select but not those two.

When I go to select those colour spaces, it has a pop up message saying 'Selected is not supports, set to back'

Any ideas about this?
Title: Re: Color space which setting to select?
Post by: pcristi on January 18, 2020, 11:24:32 AM
(https://toonormal.com/wp-content/uploads/2014/01/HDMI2.png)
If your wanted setting meet HDMI 2.0 support, check if display support 10bit for 2160p/30 then read user manual to see if are special settings/hdmi port to be use it.
Ex: 4K projector can use shift image tehnologi for 2160p resolution then is support only 8bit for 2160p/30 output.
Title: Re: Color space which setting to select?
Post by: Mount81 on January 20, 2020, 06:52:49 AM
Are there some colour spaces that do not work in the Q10pro?

I cannot select RGB 10bit and 4:4:4 10bit, all others I can select but not those two.

When I go to select those colour spaces, it has a pop up message saying 'Selected is not supports, set to back'

Any ideas about this?

This is a more accurate and true description and sheet regarding HDMI 2.0 format support: https://community.cedia.net/blogs/david-meyer/2018/05/16/hdmi-data-rates-for-4k-hdr (https://community.cedia.net/blogs/david-meyer/2018/05/16/hdmi-data-rates-for-4k-hdr)

Anyway, as you see you must select 30Hz to have 444/10bit on 2160p. And that's the only way you could get the colorspace right while playing a video (that's under 30fps) as due a bug in the HiMedia Firmware the auto switching of colorspace down from higher refresh rates will result only 422 / 8bit. So you must keep the GUI at 30Hz.
Title: Re: Color space which setting to select?
Post by: DMD on August 03, 2021, 05:42:25 PM
Today I did tests as I can't solve stuttering problems with 4K video files that sometimes goes to "hiccup".
I made modified tests the display frequency and color space.
I was disappointed for artifacts that causes 10-bit color space.
However the stuttering problem does not resolve.
Just by activating the Kodi Videoplayer, the video flows smoothly stuttering problems, but Kodi 19.1 does not allow pass-through.  :(

444 8 bit @ 60Hz   :)
(https://i.postimg.cc/7CRLw1Z3/Test-Color-Space-444-8-bit.png) (https://postimg.cc/7CRLw1Z3)

444 10 bit @ 30Hz   :(
(https://i.postimg.cc/FdtQTTKB/Test-Color-Space-444-10-bit.png) (https://postimg.cc/FdtQTTKB)


I would like to try the AFR tool, but I don't know how to set it up.  :-[
However I am very disappointed by the artifacts generated by the 444 10 bit color space.
If there is no remedy to this problem, it's time to replace the box.
Title: Re: Color space which setting to select?
Post by: Mount81 on August 12, 2021, 10:31:26 AM
What is the frame rate of the 4K video you played? Even if the GUI is set to fix 30Hz, you still need to have switched ON the Auto frame rate setting.
Title: Re: Color space which setting to select?
Post by: DMD on August 12, 2021, 01:43:15 PM
The file is 24 fps, and the Frame Rate Adaptation is activated.
Title: Re: Color space which setting to select?
Post by: DMD on August 29, 2021, 08:56:04 AM
I solved by resetting the box and installing the CFW 2.1.7.
Auto frame rate = ON

(https://i.postimg.cc/261FPCRn/Screenshot-013.png)

Image without artifacts
(https://i.postimg.cc/jWY5g6Yg/PHOTO-20210829-094541.jpg) (https://postimg.cc/jWY5g6Yg)
Title: Re: Color space which setting to select?
Post by: Mount81 on September 06, 2021, 05:46:20 PM
I solved by resetting the box and installing the CFW 2.1.7.
Auto frame rate = ON

(https://i.postimg.cc/261FPCRn/Screenshot-013.png)

Image without artifacts
(https://i.postimg.cc/jWY5g6Yg/PHOTO-20210829-094541.jpg) (https://postimg.cc/jWY5g6Yg)

What FW were you on previously with this PQ anomaly? OFW 2.1.7 maybe? Have you made any modification on it, like installing some of pcristi's patches, or changed the HiMedia Videoplayer version?

I have also OFW 2.1.7 now installed, and getting curious if this PQ issue may be present in this FW in general...  ???
Title: Re: Color space which setting to select?
Post by: DMD on September 06, 2021, 09:38:25 PM
I had a problem with OFW 2.1.7 also for other stuttering issues video via lan (file UHD 95 Mb/s).
After resetting the box I installed OFW 2.1.7 and then the CFW 2.1.7, I solved both the video stuttering problem and the artifacts of the color space.
Title: Re: Color space which setting to select?
Post by: Mount81 on September 11, 2021, 08:11:48 AM
So these issues on OFW 2.1.7 may present for others as well... Needs further investigation. This PQ issue you had is called "banding" BTW.
I will do the S&M banding video test today, but I'm only able to do on 1080p, as I don't have an UHD TV yet.

I guess the CFW uses different version of the HiMedia Video Player (maybe the 1.2.53 version as the OFW has the 1.2.57 version for sure). Maybe pcristi can reassure these...

Edit:
So I have tested with OFW 2.1.7 and with this S&M test video (http://spearsandmunsil.com/portfolio-item/choosing-a-color-space-2/) (seen on the bottom part of the page) there are no Banding issues with 1080p /YCbCr 444/ 10bit on 23.976Hz. But according to the test description (if we take it seriously), it fails on the Clipping and Scaring tests (the little square boxes inside all the color rectangles are not visible). Tho' I don't know how much this affects the overall video playback PQ in practice... I have also tried it on all colorspace/bitdepth combination available in the Advanced menu, but none were better concerning the Clipping and Scaring test. Wonder how could the CFW perform regarding. ???