futeko.com FORUM

Ongoing Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: futeko.com on July 14, 2016, 10:26:53 AM

Title: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on July 14, 2016, 10:26:53 AM
This script adds the following to HiMediaplayer (Media Centre on home screen) and Kodi+wrapper:

- More auto framerate switching (match HDMI output Hz to video fps). See below for how this differs from regular firmware.
- Auto resolution switching (match HDMI output resolution to video vertical resolution). See below for details.

The two features in combination enable a comprehensive 'source direct' feature.

For Kodi internal player (videoplayer) auto switching see the Kodi add-on thread here: http://www.futeko.com/newforum/index.php?topic=1015.0

Credit

- pcristi (99%!)
- looun
- Many thanks to everyone for testing/feedback

More Auto Framerate Switching

This feature can be disabled by running the script and selecting '5 Force framerate/resolution switching script OFF'.

Without installing this script (and 24p/frame rate adaptation enabled in settings-playback) auto switching already works like this:

Code: [Select]
50/60 Hz --> 23.976/24/25/30/29.97Hz
25/50Hz DVD --> 25Hz
30/60Hz DVD --> 30Hz

With this patch installed auto switching works like this:

Code: [Select]
1080p:
25/50 --> 50Hz
30/60 --> 60Hz
23.976 --> 23.97Hz
24 --> 24Hz
29.970 --> 59.940Hz
59.940 --> 59.940Hz

3840x2160:
25/50 --> 50Hz
30/60 --> 60Hz
23.976 --> 23.97Hz
24 --> 24Hz
29.970 --> 29.97Hz
59.940 --> 60Hz

4096x2160:
25/50 --> 50Hz
30/60 --> 60Hz
23.976 --> 24Hz
24 --> 24Hz
29.970 --> 60Hz
59.940 --> 60Hz

Auto Resolution Switching

This feature can be disabled by running the script and selecting '6 Force only resolution switching OFF flag script'.

Resolution matching is done based on the video vertical resolution and only works when vertical resolution exactly matches valid HDMI output resolution. So:

Code: [Select]
2160px --> 3840x2160p
1080px --> 1920x1080p
720px/23.976/24 --> 1920x1080p
720px/50/60 --> 1280x720p

Instructions

- Requires Windows PC to run the batch file at command prompt.
- Requires Q5/Q10 Pro connected to same network as PC and the IP address of Q5/Q10 Pro (Settings - Network).

- Download to Windows PC: LATEST VERSION HERE (http://www.mediafire.com/?9scd3gn0xm3r3tc).
- Unzip.
- Execute RUN_ME.bat at Windows command prompt.
- Insert Q5/Q10 Pro IP address.
- Select '1 Install Auto FrcRate/Format switching'
- Q5/Q10 Pro will automatically reboot with patch installed.

- HiMedia 24Hz setting (Settings - Playback) must be set: ON for best results on FW 2.0.3 and later. OFF for best results on FW 1.0.1-2.0.1.

- To uninstall run script and select '3 Unistall Auto FrcRate/Format switching'.

Note

- For update just run_me.bat with new version
- HDMI1.4, will not switch 25/50 --> 50Hz, 30/60 --> 60Hz for 4K resolution inside is 25/50 --> 25Hz, 30/60  --> 30Hz.
- This patch is useful for those who use BD Menu or need 25.0 to 50.0 switch.
- It so possible to end with black screen, wrong deep color, wrong resolution, etc., if this happens try use w/o resolution switch.

Changelog

1.3.8
- add flag for not switch resolution
- RUN_ME.bat improved and some more options

1.3.7
- more bug fixed
- removed pause/play actions
- fix not switch from 1080p to 2160p on videos clip collections

1.3.6
- bug fix

1.3.5
- version bump
- mediafire did some strange things

1.3.4
- add force 12bit with BD Menu
- fix original space and deep color not always restore
- remove some delay for befor swtich command

1.3.3
- fix not force 12bit if HiMedia 24Hz ON

1.3.2.1
- void strange height calculation

1.3.1
- fix 720p/59.94, 1080p/59.94 not auto swtich from 2160p output
- fix continue trying switch for 720p output when already 720p output
- force 720p/23.976, 720p/24 to 1080p output if display supported

1.3.0
- add experimental auto switch resolution
- doesn't follow deep color for moment

1.2.3
- add back small delay when restore FMT
- add update buybox for Android 5.1.1 FW
- add support for Perfect Player IPTV, Smart IPTV
- set OMX active for XBMC

1.2.2
- add back pause when switch

1.2.1
- bug fix
- set OMX inactive for XBMC, KODI, SPMC, FTMC, EBMC

1.2.0
- version bump to 1.2.0
- fix maybe not activate on U5PVR box
- get fps from *vdec* inside of hiplayer*/fileinfo
- different switch between HiMedia 24Hz ON/OFF
- experimatal add flag for activate for OMX decode (YouTube, Netflix, Kodi, etc.)

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu on correct framerate

1.1.3
- fix 3D-->2D switch regressions

1.1.2
- fix for FW v2.0.4 Android 7.0

1.1.1
- 4096x2160/23.976 --> 3840x2160/23.97Hz

1.1.0
- bump version number
- add support for 4096x2160
- buggy HiMedia 24Hz keep OFF with FW v2.0.3 Android 7.0

1.0.11
- fix for FW v2.0.3 Android 7.0

1.0.10.4
- Android 7 firmware 2.0.0 / 2.0.1 compatibility.

1.0.10.3
- add 1 second delay before switch to catch resume point
- add PLAYPAUSE keyevent before/after switch framerate
- replace sleep 1 to ping ~800ms

1.0.10.2
- decrease cpu usage
- fix cat abuse usage

1.0.10.1
- minor fix for Q5/Q10 4K3D

1.0.10
- fix script not work for specific situation report by some users

1.0.9
- add support for Q5/Q10 4K 3D
if not work do a clean installation with last firmware 3.0.3

1.0.8
- rewrite save/restore process of original resolution
- fix not save/restore  original resolution in specific situation
- (hope) fix 2160p back screen after few seconds in 4K TV/Projector

1.0.7
- fix switch resolution in 2160p output 4K TV/Projector

1.0.6
- new run_me.bat with more option
- more test for proper switch in 2160p output

1.0.5
- fix Android FMT maybe not restore proper after paying video 2160p_23.976 in 4K display

1.0.4 - working in progress
- fix 2160p 23.976 not switch
- fix possible script crash until first movie play
- add uninstall script

1.0.3
- add flag to switch OFF/ON
edit /sdcard/autoFMTswitchFlag end cahnge from ON to OFF
- minor bug fix

1.0.2
- fix 3D play broken in 1.0.1
- fix all LG demo report by HiMedia 29.917 fps, not work for 29_9*, 54_9*, 23.97*

1.0.1
- add 1 second and check if next file playing before switch back to Android FMT
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: PJDavis1970 on July 14, 2016, 11:52:51 AM
Does this switch 1080p mkv's stored as 800 horizontal lines?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 14, 2016, 11:54:21 AM
Yes.

Output Hz is switched to the video fps for any and all video.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nice Monkey on July 14, 2016, 12:06:18 PM
Yes.

Output Hz is switched to the video fps for any and all video.

Looks great. Thanks all for the good work. :)
Will try it for sure after installing the new 1.05 firmware. The result will be reported here.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Bostjan on July 14, 2016, 02:12:10 PM
Works as it should.
But there is a thing that would be nice to see in "final" version. Is there a way to temporary disable it? There are occasions, like going through many recordings, which causes many unwanted black screens (it takes 1-2 second on TV to make a switch) when frame rate goes back to Android one and back to video,...
How do I uninstall the patch?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 14, 2016, 03:01:39 PM
Works as it should.
But there is a thing that would be nice to see in "final" version. Is there a way to temporary disable it? There are occasions, like going through many recordings, which causes many unwanted black screens (it takes 1-2 second on TV to make a switch) when frame rate goes back to Android one and back to video,...
How do I uninstall the patch?

When it's integrated into official firmware it will be configurable via GUI.

Uninstall.. Ah. There's something we overlooked.

By middle tomorrow we'll have an uninstall script similar to the one above to uninstall via same method.

What you need to do is remove two lines from the end of the file /system/etc/init.bigfish.sh, however to do this you need to know how to use ADB from a PC. We'll have it simplified via a script by tomorrow.

Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nedo on July 14, 2016, 03:08:43 PM
Hello! New Q5 Pro User here (and very, very happy!)
i use Kodi with the HiMediaplayer wrapper, does this framerate switcher work in combination with the wrapper?

R
Nedo
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 14, 2016, 03:09:19 PM
Hello! New Q5 Pro User here (and very, very happy!)
i use Kodi with the HiMediaplayer wrapper, does this framerate switcher work in combination with the wrapper?

R
Nedo

Yes, it works for the wrapper.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 14, 2016, 03:26:01 PM
Works as it should.
But there is a thing that would be nice to see in "final" version. Is there a way to temporary disable it? There are occasions, like going through many recordings, which causes many unwanted black screens (it takes 1-2 second on TV to make a switch) when frame rate goes back to Android one and back to video,...
How do I uninstall the patch?

To temporarily disable it first install the latest version (see OP, we have gone up two version numbers since I posted the thread this morning!) then edit the file '/sdcard/autoFMTswitchFlag' on Q5/Q10 Pro. Use ES FIle Explorer on similar, it has a built in text editor. Change the text inside the file to ON or OFF.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Bostjan on July 14, 2016, 04:28:33 PM
I have two things, first possible bug or question and second proposal for minimizing unnecessary rate switching:
1. I have 1080p/60Hz set in Android, TV via AV receiver is also Full HD (1080). While testing this patch, it occurred that Android's frame rate was not restored after closing 24fps movie and when going back in Android settings I noticed display was set to 2180p/24Hz. Resolution is wrong as AV reported that HDMI was really 1080p/24Hz. Does patch maybe wrongly tries to set resolution from 1080p to 2160p?
2. I noticed that while using player and frequently switching between movies, frame rate is constantly switching from Android's to movie's and back and so on. Assuming that in reality most of content in only in few different frame rates I think that rate switching could be greatly reduced following this rules:
- once closing the video and returning back to menu (but still within the player) do not restore Android's frame rate. Android's frame rate should only be restored when closing player.
- when starting video, do not change frame rate if current frame rate is already correct one (it might be that this is already implemented, but I can't test it)
 Following this, we don't have frame rate switching if we only have let say movies with 24fps and Android is set to 60Hz.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Sully on July 14, 2016, 04:36:50 PM
Hello, how can I get the zip-file? I have no account for mediafire?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 14, 2016, 04:49:26 PM
Link in OP was wrong. It's been corrected.

Latest version: http://www.mediafire.com/?9scd3gn0xm3r3tc

Bear in mind that there will be regular updates.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Sully on July 14, 2016, 05:01:54 PM
Now is to late. Now I have an account  ;D Another question,...what mus I do with the *.bat? What means "Execeute RUN_ME.bat at command prompt"? Please, can you explain that to me in more detail?

It's okay. It's done. At first I would open it as Admin. But now it works.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Sully on July 14, 2016, 05:17:10 PM
Now I've done it. Is this okay?



[attachment deleted by admin]
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: OlivierQC on July 14, 2016, 05:23:08 PM
yes, and your box reboot automatically.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Sully on July 14, 2016, 05:37:33 PM
No, I must reboot by myself. Where do I find now the patch? Have you a path for me? Can I uninstall the patch, too?

Sorry, for many questions and sorry for my english, but I'm a newbie from Germany.  ::)

But I have found now bucking, jerk again (1080P 60Hz). With  set in the settings of the box 2160p 60Hz apparently it works.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Sully on July 14, 2016, 06:42:45 PM
Works as it should.
But there is a thing that would be nice to see in "final" version. Is there a way to temporary disable it? There are occasions, like going through many recordings, which causes many unwanted black screens (it takes 1-2 second on TV to make a switch) when frame rate goes back to Android one and back to video,...
How do I uninstall the patch?

To temporarily disable it first install the latest version (see OP, we have gone up two version numbers since I posted the thread this morning!) then edit the file '/sdcard/autoFMTswitchFlag' on Q5/Q10 Pro. Use ES FIle Explorer on similar, it has a built in text editor. Change the text inside the file to ON or OFF.

I have done this. Because I will wait until new Firmware or a new vision
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: MikeDelta on July 14, 2016, 10:31:38 PM

Fix this tool also the 23,976Hz microstutters problem?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: stack on July 14, 2016, 11:04:04 PM
My TV is only 1080p.
When I use the framerate switch and after the end of the, TV remains at 2160p 24Hz. - Settings - Display.
When I enter inside the Display, TV returns back to 1080p, 60Hz.
HDMI auto adaptation is marked at the beging and not marked after finish of the movie.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 15, 2016, 07:27:48 AM

Fix this tool also the 23,976Hz microstutters problem?

The problem is so vaguely defined that the answer can only be possibly.

It will fix it if the problem was caused by output being at different framerate to source video, which for some people it will have been.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: vinlovski on July 15, 2016, 07:36:23 AM
Hi everyone!

New Q10 Pro owner here.  I'm just wondering if someone can post a step by step process on how can this be installed? and what should be the setting after installation. We would highly appreciate it. :)

thanks!
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 15, 2016, 08:46:52 AM
New 1.0.5 firmware implements auto-switching for all resolutions 23.976/24p, so if that's all you need then I recommend just installing the new firmware.

Instructions are in opening post:

You need a Windows PC and Q5/Q10 Pro connected to network.

Instructions:

- Download autoFMTswitch_1.0.4.rar to PC: http://www.mediafire.com/?9scd3gn0xm3r3tc
- Unzip
- Execeute RUN_ME.bat at command prompt
- Insert Q5/Q10 Pro IP address (you will be asked for IP address)
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: flydini on July 15, 2016, 08:55:46 AM
Hello Futeko,
Does the new firmware contain this auto frame switching already, should we install the new firmware and plus auto framerate or jsut the new f/w enough?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 15, 2016, 08:56:32 AM
How do I uninstall the patch?

Version 1.0.4 includes a uninstall script (UNINSTALL.bat). Run it in the same way as the install script.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 15, 2016, 09:00:16 AM
Hello Futeko,
Does the new firmware contain this auto frame switching already, should we install the new firmware and plus auto framerate or jsut the new f/w enough?

Firmware 1.0.5 auto-switches correctly for 23.976/24fps at all  resolutions. This is the most common fps so for many people will be enough.

The patch on this thread auto-switches for all frame rates at all resolutions (esp. 29.97 and 59.94).

I recommend installing 1.0.5 FW and then if you want to install the patch do so, in the knowledge that it can easily be disabled by the built in switch (on Q5/Q10 Pro edit /sdcard/autoFMTswitchFlag and change contents from ON to OFF).
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: vinlovski on July 15, 2016, 10:12:29 AM
Hi Futeko,

What if my Himedia and PC is not connected to a network? Do I have other options?

If ever I'll do a network connection, how will I be able to do it?

Apologies for asking too much.  Thanks!  :) 
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: szrobert on July 15, 2016, 11:39:10 AM
How it work on MAC?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 15, 2016, 12:21:58 PM
this patch is for 1.0.3 / 1.0.4 firmware.

with 1.0.5 NOT tested yet , maybe not be necessary
:

test with 1.0.3 /1.0.4/1.0.5
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nice Monkey on July 15, 2016, 04:29:46 PM
Tested with a bunch of DVD and it switches correctly between 50P and 60P.
I have some DVD which won't play and in fact hang the player. After exit it won't play anymore but the filebrowser keeps working.

This is not new. Will report media involved.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: flydini on July 15, 2016, 06:39:56 PM
New 1.0.5 firmware implements auto-switching for all resolutions 23.976/24p, so if that's all you need then I recommend just installing the new firmware.

Instructions are in opening post:

You need a Windows PC and Q5/Q10 Pro connected to network.

Instructions:

- Download autoFMTswitch_1.0.4.rar to PC: http://www.mediafire.com/?9scd3gn0xm3r3tc
- Unzip
- Execeute RUN_ME.bat at command prompt
- Insert Q5/Q10 Pro IP address (you will be asked for IP address)

I've done this, do I have to do anything else or should I leave it as done above? I can see the file at /storage/emulated/0.
 When I clicked on it, it says "open with..." which application should I open it with? I selected most of the programs to make it work with, but there was no respond.
How can I check if it's working?
I should keep 24 Hz "CLOSE" right?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 15, 2016, 08:54:25 PM
I've done this, do I have to do anything else or should I leave it as done above? I can see the file at /storage/emulated/0.
 When I clicked on it, it says "open with..." which application should I open it with? I selected most of the programs to make it work with, but there was no respond.
How can I check if it's working?
I should keep 24 Hz "CLOSE" right?

You need to download and extract autoFMTswitch_1.0.4.rar to a Windows PC. I think you've downloaded it to the Q5/Q10 Pro..

The key file is a Windows batch file, .BAT.

Image in this post shows how Windows command prompt should look when script has been run successfully: http://www.futeko.com/newforum/index.php?topic=1043.msg7683#msg7683
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: hdmkv on July 15, 2016, 09:32:10 PM
Awesome work by pcristi and looun.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: flydini on July 16, 2016, 12:08:55 AM
I've done this, do I have to do anything else or should I leave it as done above? I can see the file at /storage/emulated/0.
 When I clicked on it, it says "open with..." which application should I open it with? I selected most of the programs to make it work with, but there was no respond.
How can I check if it's working?
I should keep 24 Hz "CLOSE" right?

You need to download and extract autoFMTswitch_1.0.4.rar to a Windows PC. I think you've downloaded it to the Q5/Q10 Pro..

The key file is a Windows batch file, .BAT.

Image in this post shows how Windows command prompt should look when script has been run successfully: http://www.futeko.com/newforum/index.php?topic=1043.msg7683#msg7683

I did that exactly, nothing else to do, right? Is this enough?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 16, 2016, 07:35:22 AM
I did that exactly, nothing else to do, right? Is this enough?

If you play a file that is, for example 29.970 fps does your TV / projector switch to 29.970Hz? If it does then it has worked.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: stack on July 16, 2016, 07:49:47 AM
Sorry I can't reproduced.

My TV is only 1080p.
When I use the framerate switch and after the end of the, TV remains at 2160p 24Hz. - Settings - Display.
When I enter inside the Display, TV returns back to 1080p, 60Hz.
HDMI auto adaptation is marked at the beging and not marked after finish of the movie.

It happens in 2 from 3 plays.

Autoframerate switch V1.04.

TV Toshiba 55L7453.

I'm with your CFW 1.03.
2160p is not enabled in the settings.
I will install FW 1.05 and will report back.

Edit: No problem with FW 1.05
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: vinlovski on July 16, 2016, 12:02:20 PM
Why do I get an error everytime I run the "run_me.bat" file?  The message that i get is "The process adb.exe not found".  Is this normal?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: stack on July 16, 2016, 12:03:39 PM
Have you copied the whole folder or only the .bat file?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: vinlovski on July 16, 2016, 12:07:58 PM
I did copy the whole folder and extract it.  I still get the same message.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 16, 2016, 01:20:06 PM
Yes if is similar to:

(http://www.mediafire.com/convkey/092f/863846elm6m5wzmzg.jpg)

Why do I get an error everytime I run the "run_me.bat" file?  The message that i get is "The process adb.exe not found".  Is this normal?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: switchblade on July 16, 2016, 04:36:27 PM
Was this patch included in the firmware released last week?  Or, do we still need to apply this patch to get auto switching working?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 16, 2016, 05:31:18 PM
Please read topic before ask, @futeko already answer
http://www.futeko.com/newforum/index.php?topic=1043.msg7723#msg7723

Was this patch included in the firmware released last week?  Or, do we still need to apply this patch to get auto switching working?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: LeFric on July 17, 2016, 11:32:33 AM
(http://i1317.photobucket.com/albums/t637/LeFric2/HiMedia%20Q10%20Pro/ERROR%20carga%20autoFMTswitch_zpscbnwp3ae.jpg)


Why?
Solution?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 17, 2016, 11:39:57 AM
This Windows taskkill output message  and I answer 3 post up, is normal error(message), ignored.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Eriol on July 18, 2016, 03:50:23 PM
This Windows taskkill output message  and I answer 3 post up, is normal error(message), ignored.

Just use "taskkill /f /im adb.exe >NUL" in the next rls... :)
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 18, 2016, 04:21:14 PM
Did you test it before to post? :)
(http://www.mediafire.com/convkey/4eee/vgpojh45pqjb9emzg.jpg)
This Windows taskkill output message  and I answer 3 post up, is normal error(message), ignored.

Just use "taskkill /f /im adb.exe >NUL" in the next rls... :)
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Eriol on July 18, 2016, 04:52:33 PM
Did you test it before to post? :)

You got me. :D

The proper code is:
taskkill /f /im adb.exe 2>NUL

^_^
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 18, 2016, 05:38:41 PM
Nice to see other still like/learning shell command ;)
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 19, 2016, 10:05:08 AM
New version 1.0.8. Opening post updated.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: manley on July 19, 2016, 01:14:51 PM
I have installed the script as dsecribed and have turned off the 24Hz in the Himedia settings. In the Advanced settings of the player 24Hz is also displayed do I alter this or is this just showing that the script is actually working as it should?
Thanks for the good work.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 19, 2016, 02:11:13 PM
I have installed the script as dsecribed and have turned off the 24Hz in the Himedia settings. In the Advanced settings of the player 24Hz is also displayed do I alter this or is this just showing that the script is actually working as it should?
Thanks for the good work.

'24Hz' whilst playing a video in Menu - Advanced options is the equivalent of turning 24Hz on/off in main settings (Home screen - Settings - playback) but for that one file only.

If you're using the auto-switch patch then both settings should be off. So there no need to change the 24Hz setting when playing a video.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 19, 2016, 10:54:09 PM
new 1.0.9
- compatibility with old Q5/Q10 4K 3D  :o

http://www.futeko.com/newforum/index.php?topic=1043.msg7659#msg7659

if not work do a clean installation with last firmware 3.0.3
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Phantom on July 20, 2016, 03:44:19 AM
When I start RUN_ME.bat in the command prompt as administrator, there's a message, that RUN_ME.bat is not an  internal or external command, program or a package file. When I simply run it through a context menu (right click/run as administrator) it seems that nothing goes to the box, because when I try to reboot it with above mentioned way it doesn't reboot. What should I do on my Windows 10pro?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 20, 2016, 06:38:18 AM
Not need run as  as administrator.

Simple Duble click  RUN_ME.bat.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Gaia on July 20, 2016, 06:57:32 AM
"autoFMTswitch_1.0.9"


The microshutter this problem will be solved?
Because it still occurs after installation.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 20, 2016, 09:00:46 AM
"autoFMTswitch_1.0.9"


The microshutter this problem will be solved?
Because it still occurs after installation.

this enhancement enable only FULL Auto framerate switching for HimediaVideoPlayer, not fix firmware issues.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 20, 2016, 09:51:41 AM
Hello

This is not implemented situation of HiMedia Box setting, they report wrong resolution 2160p24Hz, because on index 24Hz is exist just for 2160p, some for Android setting display not reporting any resolution if output stack on 1080p24Hz.  Without this patch / adb shell mediaplayer can't be set to 1080p24Hz.
Reboot box will restore to saved Android resolution ex: 1080p60Hz.
Patch dons't change resolution just framerate base on video fps.

Thanks to @stack help to clear this situation.
Cristian

1. I have 1080p/60Hz set in Android, TV via AV receiver is also Full HD (1080). While testing this patch, it occurred that Android's frame rate was not restored after closing 24fps movie and when going back in Android settings I noticed display was set to 2180p/24Hz. Resolution is wrong as AV reported that HDMI was really 1080p/24Hz. Does patch maybe wrongly tries to set resolution from 1080p to 2160p?
My TV is only 1080p.
When I use the framerate switch and after the end of the, TV remains at 2160p 24Hz. - Settings - Display.
When I enter inside the Display, TV returns back to 1080p, 60Hz.
HDMI auto adaptation is marked at the beging and not marked after finish of the movie.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: oktober on July 20, 2016, 10:27:52 AM
"autoFMTswitch_1.0.9"


The microshutter this problem will be solved?
Because it still occurs after installation.

this enhancement enable only FULL Auto framerate switching for HimediaVideoPlayer, not fix firmware issues.


 :o What?
Futeko says to try with this tools to solve microshutters on 23.976 fps source....waiting a firmware solving.
isn't so?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 20, 2016, 10:47:18 AM
Futeko says to try with this tools to solve microshutters on 23.976 fps source....waiting a firmware solving.
isn't so?

I thought that briefly yesterday. Turns out after more testing I was wrong.

The 23.976 in himediaplayer problem will have to wait for a firmware update from HiMedia.

As an alternative, playing video in Kodi using default player (dvdplayer) with the Kodi autoswitch addon does produce skip free playback. For me at least. Main drawbacks is no 7.1 audio. See here: http://www.futeko.com/newforum/index.php?topic=1015.0
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: oktober on July 20, 2016, 10:50:21 AM
Ok. Thanks.
waiting for new FW.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: switchblade on July 20, 2016, 03:35:44 PM
I have a dumb question.

If the Auto switching patch or fix is now part of the most recent firmware, then why would anyone need to load this  patch?  I would think this thread would go dead.

Does this mean that auto switching was NOT fixed in the recent firmware release?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 20, 2016, 03:41:10 PM
For perfectly smooth video reproduction, as video material can be recorded in a variety of frame rates (23.976fps, 24fps, 25fps, 29.97fps, 30 fps, etc.) which need to be properly matched by the refresh rate of the display, in order to be displayed smoothly.

so ..
Video fpsHDMI output Hz
2424 Hz
23,976(24/1001)23,976 hz
25/5050 hz
30/6060 hz
59.940(60/1001)59.940 hz
29.970(30/1001)59.940 hz ( 29.970 x 2 )

   
   
   

I have a dumb question.

If the Auto switching patch or fix is now part of the most recent firmware, then why would anyone need to load this  patch?  I would think this thread would go dead.

Does this mean that auto switching was NOT fixed in the recent firmware release?

 HiMedia Video Player with 24P enable support only 50/60<>23,976/24, doesn't work with 50 <> 60,50 <> 59.94 or 60 <>50 hrz ecc.. ).

himedia player video  support auto-switch to only 24P:
Android OS  setting ->  video fps -> HDMI switch output
1080p/2160 50 hz ->24/23.976 fps   -> 24/23.976 hz
1080p/2160 60 hz -> 24/23.976 fps -> 24/23.976 hz


this script increse to FULL auto-swtich:
Android OS  setting ->  video fps -> HDMI switch output
1080p/2160 50 hz ->24/23.976 fps   -> 24/23.976 hz
1080p/2160 60 hz -> 24/23.976 fps -> 24/23.976 hz

Android OS  setting ->  video fps -> HDMI switch output
1080p 50 hz -> 59.97 fps ->59.97 hz
1080p/2160 50 hz -> 60 fps -> 60 hz

Android OS  setting ->  video fps -> HDMI switch output
1080p 60 hz -> 59.97 fps  -> 59.97 hz
1080p/2160 60 hz ->  50 fps  -> 50 hz
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: jeps on July 20, 2016, 05:27:47 PM
I wonder what I am doing wrong  :(

I use firmware 1.0.5 and my TV is set for 2160p60.

If I install the framerate utillity and (as you instruct) disable 24 Hz in the HiMedia setting I get no framerate switching what so ever.
Not even other (framerates like 25p)
If I enable the 24 Hz in the HiMedia setting I get most of the frame rate switching right, but I suppose that is native firmware functionality?

Please tell I am doing wrong (or misunderstood).

Best regards!
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: stack on July 20, 2016, 09:19:06 PM
Did you tried after restart of the unit?
If yes, probably you have the same problem like me.
@pcristi is working on that issue.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: onyxx1995 on July 20, 2016, 09:26:32 PM
Ok...let me say something...
First,sorry  for English

Everybody here have problem about 23.976fps and autoswitch.
This is my combination: himedia q5pro with coustom 1.0.5 frimware,original hdmi cable,external 3tb wd HDD usb3.0,optical cable to Marantz AR.5.1,TV Philips 65pus7600..i am using only himedia player ,24 off,hdmi RAW,SPDIF RAW,HBR 5.1...not using kodi at all
EVERITHING IS WORKING GREAT!  23,976 ,24 ,25 ,29.97 ,59.940,60...1080p,2160p...everything.

DVD VIDEO_TS  folder, DVD iso,BD iso,BDMV,3D...as i sad...everything...i tried to play all of this and is working great!
No micro this or micro that,no jump this or jump that...in any seconds  20,30,40,46,60....whatever second

This is my best spended money in last couple of years and i am vary happy whith this hardware.
VERY HAPPY!!

So,looun,futeko or anybody,am i a liar,blind or i made bingo with my equipment?
Liar---not this time ;D
Good match with equipment---maybe
Blind---with all this talk in this thread,very possible :) :)

Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mr. 23.976 on July 20, 2016, 09:55:13 PM
I will test this setting. Did you test .mkv files too?
Videoenhancer or something enabled on your tv?
I hope you are not blind and your eyes are good.    ;D
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: onyxx1995 on July 20, 2016, 10:14:38 PM
I hope too :D....yes, i have lots of mkv,avi,mp4,ts files.himedia is set to 1080p60 4:2:0 10bit(4:4:4 10 bit on hi an tv dont see diference,maybe iam blind ;D ;D)and tv is hdmi1 uhd 4:2:0...i want my tv to do upscale...its doing great...i put himedia to 2160p60 4:2:0 8bit only when i watch 4k files.wont change to 10bit dont know why,but i dont miss it
Videoenhance,motion ....every thing on tv is set to off....picture is great.
When i play movie,tv goes black for about half second,then movie starts...so i think that switching is working for me

And yes,one more thing....i did not check on tv video info of any file that i played....i am not interested in that what its said.everything is working fine.
If you play 23fps file and your tv says 24 and movie is smooth,leave it
My moto is ---DONT FIX IT IF ITS NOT BROKEN!!

PS:i am in car race for living...so i think that my eyes are ok...there are many fps  ;D ;D ;D ;D
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: switchblade on July 20, 2016, 10:39:32 PM
For perfectly smooth video reproduction, as video material can be recorded in a variety of frame rates (23.976fps, 24fps, 25fps, 29.97fps, 30 fps, etc.) which need to be properly matched by the refresh rate of the display, in order to be displayed smoothly.

so ..
Video fpsHDMI output Hz
2424 Hz
23,976(24/1001)23,976 hz
25/5050 hz
30/6060 hz
59.940(60/1001)59.940 hz
29.970(30/1001)59.940 hz ( 29.970 x 2 )

   
   
   

I have a dumb question.

If the Auto switching patch or fix is now part of the most recent firmware, then why would anyone need to load this  patch?  I would think this thread would go dead.

Does this mean that auto switching was NOT fixed in the recent firmware release?

 HiMedia Video Player with 24P enable support only 50/60<>23,976/24, doesn't work with 50 <> 60,50 <> 59.94 or 60 <>50 hrz ecc.. ).

himedia player video  support auto-switch to only 24P:
Android OS  setting ->  video fps -> HDMI switch output
1080p/2160 50 hz ->24/23.976 fps   -> 24/23.976 hz
1080p/2160 60 hz -> 24/23.976 fps -> 24/23.976 hz


this script increse to FULL auto-swtich:
Android OS  setting ->  video fps -> HDMI switch output
1080p/2160 50 hz ->24/23.976 fps   -> 24/23.976 hz
1080p/2160 60 hz -> 24/23.976 fps -> 24/23.976 hz

Android OS  setting ->  video fps -> HDMI switch output
1080p 50 hz -> 59.97 fps ->59.97 hz
1080p/2160 50 hz -> 60 fps -> 60 hz

Android OS  setting ->  video fps -> HDMI switch output
1080p 60 hz -> 59.97 fps  -> 59.97 hz
1080p/2160 60 hz ->  50 fps  -> 50 hz

That was a awesome reply - thank you very much!  Even I get it now LOL
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 21, 2016, 12:48:41 AM
@stack fix for reported situation
http://www.mediafire.com/?9scd3gn0xm3r3tc

1.0.10
- fix script not work for specific situation report by some users

Did you tried after restart of the unit?
If yes, probably you have the same problem like me.
@pcristi is working on that issue.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: jeps on July 21, 2016, 09:23:15 AM
Thank you so much pcristi for your work.
Now i (finally) works.

Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Phantom on July 21, 2016, 09:42:06 AM
Not need run as  as administrator.

Simple Duble click  RUN_ME.bat.

Now it works. Tnx a lot ;)
One more question, what for there are additional commands like "force on" or "force off" auto frame switching in the patch menu? I've chosen "force on" command, so I did the right thing I hope.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nice Monkey on July 21, 2016, 10:26:04 AM
One more question, what for there are additional commands like "force on" or "force off" auto frame switching in the patch menu? I've chosen "force on" command, so I did the right thing I hope.

These commands are provided to (temporary) disable the switching feature. Force OFF with DISABLE it and Force On will ENABLE it again.
Will become for sure a menu settings item in the final Himedia implementation.
Suggested variable Auto Frame-rate: OFF/24P/ALL which could also replace the Force script variable. That way one can decide to use it only for 24P.

After initial install the feature is enabled and a re-boot is done automatically. No need to use any additional command.

For me it works great. Once more my thanks. ;)
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: manley on July 21, 2016, 10:42:52 AM
I have installed the script as dsecribed and have turned off the 24Hz in the Himedia settings. In the Advanced settings of the player 24Hz is also displayed do I alter this or is this just showing that the script is actually working as it should?
Thanks for the good work.

'24Hz' whilst playing a video in Menu - Advanced options is the equivalent of turning 24Hz on/off in main settings (Home screen - Settings - playback) but for that one file only.

If you're using the auto-switch patch then both settings should be off. So there no need to change the 24Hz setting when playing a video.

In the Advanced Menu the 24hz cannot be turned off, I tried to close it but it always stays on the 24Hz. Any suggestions?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nice Monkey on July 21, 2016, 10:52:29 AM
In the Advanced Menu the 24hz cannot be turned off, I tried to close it but it always stays on the 24Hz. Any suggestions?

The script in fact overrules both settings. One more reason to follow my suggested  new setting as a replacement for both.
Also suggest to add a remark when running the script with a warning that these 24P standard settings are overruled.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: oktober on July 21, 2016, 03:58:24 PM
have himedia planned to give full frame switch feature in his firmware?
I think is a "must have" function in a media player.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on July 21, 2016, 04:33:43 PM
have himedia planned to give full frame switch feature in his firmware?
I think is a "must have" function in a media player.

It will be in the next firmware. There is a beta already.

Functionally it will be the same as this patch (and in fact based on the same code).
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mr. 23.976 on July 21, 2016, 11:28:03 PM
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: onyxx1995 on July 22, 2016, 01:41:09 AM
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: stack on July 22, 2016, 05:40:54 AM
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mr. 23.976 on July 22, 2016, 09:45:50 PM
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: szrobert on July 23, 2016, 12:21:04 PM
How to apply this patch on MAC OSX..??
Thanks!
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 23, 2016, 05:07:34 PM
How to apply this patch on MAC OSX..??
Thanks!

you need ADB for OSX http://stackoverflow.com/questions/31374085/installing-adb-on-mac-os-x. or wait new 1.0.6 fimware.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: switchblade on July 24, 2016, 12:47:48 AM
Need help please.  I have been  messing with this for hours and still auto switching is not working.

What I am looking for is the resolution to change between 1080p and 2160p.  I'm using Kodi as the player. 

I set the Box Settings Display to 2160 @ 30fps  - with this setting, it will play my 4k movies just fine, as long as the Wrapper is set to Kodi Player and not Wrapper player.  However, if then try to play a 1080p movie,  the resolution remains at 2160p, meaning it just upscales it I guess.  It should adjust the resolution to 1080p. 

If I set the Box Display to 1080p, and try to play a 4k movies, it downgrades it to 1080p - again ,it should change the resolution to 2160p.

I cannot have the HDMI Auto setting checked in Settings, because it will just drop to 1080p and never play at 2160p.  So this setting is worthless.

I ran the Auto Patch, selected option 1 to install it.  after the reboot I ran the run_me.bat file again and selected option 3 to force Auto ON.

Can somebody please confirm all the relevant settings to make the dam auto switching work so that I can go back and forth between 1080 and 2160?

Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 24, 2016, 10:09:17 AM
Need help please.  I have been  messing with this for hours and still auto switching is not working.

What I am looking for is the resolution to change between 1080p and 2160p.  I'm using Kodi as the player. 

I set the Box Settings Display to 2160 @ 30fps  - with this setting, it will play my 4k movies just fine, as long as the Wrapper is set to Kodi Player and not Wrapper player.  However, if then try to play a 1080p movie,  the resolution remains at 2160p, meaning it just upscales it I guess.  It should adjust the resolution to 1080p. 

If I set the Box Display to 1080p, and try to play a 4k movies, it downgrades it to 1080p - again ,it should change the resolution to 2160p.

I cannot have the HDMI Auto setting checked in Settings, because it will just drop to 1080p and never play at 2160p.  So this setting is worthless.

I ran the Auto Patch, selected option 1 to install it.  after the reboot I ran the run_me.bat file again and selected option 3 to force Auto ON.

Can somebody please confirm all the relevant settings to make the dam auto switching work so that I can go back and forth between 1080 and 2160?
if i am  not wrong, the patch every time box start catch the system resolution, so If you change the resolution need restart the box.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 24, 2016, 11:58:10 AM
@switchblade --> 2160p24Hz or 2160p30Hz or 2160p25Hz show in Box Setting is wrong information display when scripts stack, information posted
http://www.futeko.com/newforum/index.php?topic=1043.msg7981#msg7981

autoFMTswitch -- not change screen resolution just fit framerate with fps.

- download last autoFMTswitch_1.0.10 download link in OP
- check in Setting/More/Display to have wanted Display set ex:  TV FHD 1080p50Hz or TV 4K 2160p50Hz
- Run run_me.bat and do uninstall (or Run uninstall.bat)
- Wait box for reboot
- Run run_me.bat and do install
- Wait box for reboot

If still not get running for you do install firmware with restore button and install autoFMTswitch_1.0.10  or wait for HMD 1.0.6.
New firmware HMD 1.0.6 will not need autoFMTswitch for majority of users.

@looun is true script catch the system resolution on start box, and is recheck every 1 second, if user change it from IR remote/BOX setting/Android setting.
If scripts is stack, box is reboot/power off when HiMediaVideoPlayer,  using Kodi with DVDPlayer and addon Hi-Frequency-Switcher are specific situation when display setting is 1080p23.976Hz and save it and Box Setting show 2160p24Hz.

Cristian
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Binnugsay on July 24, 2016, 12:02:34 PM
Hello Looun,

Just to give some feeback about the last Auto framerate switching 1.0.10. I'm using in Kodi jarvis 16.1 and notice that when i used to play some TVShow series when playing and during the playing if i want to stop by "return" using Wrapper in Kodi, so have a black screen with switching framerate showing in my TV Panasonic VT50 and nothing happened instead of having few secondes after an error message to waiting Kodi close or close by "OK".

When i try to play a movie this time, and want to close during the playing, same way but no crash from Kodi and find again the menu back.

I have testing with and without the 24fps Close en Open and same way. See also micro cut when playing a movie but very small suttering. Thanks you
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: szrobert on July 24, 2016, 12:03:17 PM
How to apply this patch on MAC OSX..??
Thanks!

you need ADB for OSX http://stackoverflow.com/questions/31374085/installing-adb-on-mac-os-x. or wait new 1.0.6 fimware.

Thanks, i waiting new firmware....
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: switchblade on July 24, 2016, 05:27:45 PM
@switchblade --> 2160p24Hz or 2160p30Hz or 2160p25Hz show in Box Setting is wrong information display when scripts stack, information posted
http://www.futeko.com/newforum/index.php?topic=1043.msg7981#msg7981

autoFMTswitch -- not change screen resolution just fit framerate with fps.

- download last autoFMTswitch_1.0.10 download link in OP
- check in Setting/More/Display to have wanted Display set ex:  TV FHD 1080p50Hz or TV 4K 2160p50Hz
- Run run_me.bat and do uninstall (or Run uninstall.bat)
- Wait box for reboot
- Run run_me.bat and do install
- Wait box for reboot

If still not get running for you do install firmware with restore button and install autoFMTswitch_1.0.10  or wait for HMD 1.0.6.
New firmware HMD 1.0.6 will not need autoFMTswitch for majority of users.

@looun is true script catch the system resolution on start box, and is recheck every 1 second, if user change it from IR remote/BOX setting/Android setting.
If scripts is stack, box is reboot/power off when HiMediaVideoPlayer,  using Kodi with DVDPlayer and addon Hi-Frequency-Switcher are specific situation when display setting is 1080p23.976Hz and save it and Box Setting show 2160p24Hz.

Cristian

Ok, my mistake.  I thought this patch would help with the resolution issue.  So we still have that as a bug and no fix I guess.  I have to manually change the resolution between 1080p movies and 2160p movies.  When will this be addressed because this is painful!

update:  I will ask this question in the main firmware thread, as not related to this patch.  I'm sure the patch works as advertised.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: OlivierQC on July 27, 2016, 08:15:45 PM
i will try this evening and our Q5/Q10 Pro Output Info Diagnostic Tool too
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: afss on July 27, 2016, 08:29:11 PM
If anyone's still have a nerves to test it, version autoFMTswitch_1.0.11
 - posible fix DVD PAL "vibrations" details etc.
 - in old FW HMD 1.0.1/1.03 maybe not work
 - test only with HiMedia 24Hz off

1.0.11
- add framerate in rate(FrcInRate) try to fit to fps (on this test down round)
Download link (http://www.mediafire.com/?7ecjs0b84h0ahu0).

PS: pendulum video may look slow motion but more closer to Kodi witch supposed to play correct.

Feedback are welcome.

Can this be used with version 1.0.6 ?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: afss on July 27, 2016, 08:40:44 PM
Yes.

Can this be used with version 1.0.6 ?

Thanks !
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Binnugsay on July 28, 2016, 07:57:00 AM
If anyone's still have a nerves to test it, version autoFMTswitch_1.0.11
 - posible fix DVD PAL "vibrations" details etc.
 - in old FW HMD 1.0.1/1.03 maybe not work
 - test only with HiMedia 24Hz off

1.0.11
- add framerate in rate(FrcInRate) try to fit to fps (on this test down round)
Download link (http://www.mediafire.com/?7ecjs0b84h0ahu0).

PS: pendulum video may look slow motion but more closer to Kodi witch supposed to play correct.

Feedback are welcome.

LE: some time audio can be auto of sync.

Hello,

Have test it, work but seem to be like slow motion when playing movie. it is not fluid.... and sometimes when playing TV serie only !! Why !!! when make return with the remote control, black screen and have to close Kodi jarvis 16.1 what i use. So
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nice Monkey on July 28, 2016, 08:15:58 AM
Could a test version be made that maps 24P to 24P/1001 (=23.976 ) ?
Very good for testing. Even better would be that the conversion table is configurable within the script (like the KODI variant).

This is what most other brand players are doing, which works well in practice also when the wrong 24P frame-rate is reported in an MKV.

It is unclear to me what exactly 1.0.11 does or tries to do?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 28, 2016, 10:10:22 PM
autoFMTswitch_1.0.11(30 time download) --> removed / thanks for testing and feedback.
autoFMTswitch_1.0.11.1 --> trying to avoided FrcInRate = 48.0 (http://www.futeko.com/newforum/index.php?topic=1086.msg8332#msg8332) for H264 codec, and use FrcInRate = 24.0 inside, didn't get how to set with decimal.

LE: Download removed(55 time download).
Firmware HMD-1.0.7 official support auto switch frame rate
http://www.futeko.com/newforum/index.php?topic=711.0

Q5/Q10 Pro Output Info Diagnostic Tool
http://www.futeko.com/newforum/index.php?topic=1086.0

autoFMTswitch_1.0.11.x --> are just test version more probable will not need with next HiMedia firmware.

Feedback are welcome.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: OlivierQC on July 29, 2016, 01:35:56 AM
hello pcristi,

fw1.0.6 + autoFMTswitch_1.0.11.1
2160P60
24P OFF

mkv 1080P
(http://img4.hostingpics.net/pics/612239DSC03006.jpg)
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 29, 2016, 07:14:10 AM
Hello OlivierQC

Thanks, for confirmation autoFMTswitch_1.0.11.1 --> is force FrcInRate = 24.0 like intended.
Now let's see user experience about drop frame / judder for video 23.976 H264 compare with not use autoFMTswitch_1.0.11.1.

Relax and enjoy weekend days coming.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Nice Monkey on July 29, 2016, 09:26:19 AM
autoFMTswitch_1.0.11.1 --> trying to avoided FrcInRate = 48.0 (http://www.futeko.com/newforum/index.php?topic=1086.msg8332#msg8332) for H264 codec, and use FrcInRate = 24.0 inside, didn't get how to set with decimal.

Download link (http://www.mediafire.com/?sw8y90s7v49nzxh).

Q5/Q10 Pro Output Info Diagnostic Tool
http://www.futeko.com/newforum/index.php?topic=1086.0

autoFMTswitch_1.0.11.x --> are just test version more probable will not need with next HiMedia firmware.

Feedback are welcome.

Don't know how the tool internally works. But what I have read:
a) Movies are in 24P/1001 format almost always also for telecine (48P reported apparently but should come out as 48P/1001 with duplicated frames)  and also valid for some mislabeled 24P videos being 24P/1001. So we identified 2 sources for frame-rate problems next to potential yet unknown other causes.
b) The real rate to be used should be 24/1001 = 23, 976023976024 where 23, 976 (next digit is a 0 anyway) will do but using 23,97 is not accurate enough and remains visible (read pro's reporting this).

I have no clue how this relates to your problem not being able to enter decimals?

Can't test myself as my own material does not have the problem.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on July 29, 2016, 09:49:51 AM
autoFMTswitch_1.0.11.1 --> trying to avoided FrcInRate = 48.0 (http://www.futeko.com/newforum/index.php?topic=1086.msg8332#msg8332) for H264 codec, and use FrcInRate = 24.0 inside, didn't get how to set with decimal.

Download link (http://www.mediafire.com/?sw8y90s7v49nzxh).

Q5/Q10 Pro Output Info Diagnostic Tool
http://www.futeko.com/newforum/index.php?topic=1086.0

autoFMTswitch_1.0.11.x --> are just test version more probable will not need with next HiMedia firmware.

Feedback are welcome.

Don't know how the tool internally works. But what I have read:
a) Movies are in 24P/1001 format almost always also for telecine (48P reported apparently but should come out as 48P/1001 with duplicated frames)  and also valid for some mislabeled 24P videos being 24P/1001. So we identified 2 sources for frame-rate problems next to potential yet unknown other causes.
b) The real rate to be used should be 24/1001 = 23, 976023976024 where 23, 976 (next digit is a 0 anyway) will do but using 23,97 is not accurate enough and remains visible (read pro's reporting this).

I have no clue how this relates to your problem not being able to enter decimals?

Can't test myself as my own material does not have the problem.

yes , old Q5 3D4k report "FrcInRate:      23.97"
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on July 29, 2016, 10:34:32 AM
Nice catch,  thanks looun  ;D

Q5 4K3D
TV 1080p HiMedia 24Hz ON
(http://www.mediafire.com/convkey/7d86/mbu3pgw6blc23r5zg.jpg?size_id=5)

Discussion can stop and wait next HiMedia firmware.

yes , old Q5 3D4k report "FrcInRate:      23.97"
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: OlivierQC on July 29, 2016, 02:13:14 PM
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: summerwave on August 07, 2016, 07:46:39 PM
Wow, It really works well at my Q10 pro firmware 1.0.5.
and I have one request.
I usually watch animation at horriblesubs.info. and some animation's
frame rate is 23.81. and after installing this script, the frame rate is still 60p,not 24p.
so Please make one more frame rate option.

Video fps   HDMI output Hz
23,81            23,976 hz


Thanks very much for your effort.

and this is animation's playback info of Pot Player.
----------------------------------------------------------------------------------
[Video Information]
Codec: AVC1 - Built-in FFmpeg Decoder(h264, Thread Frame)
Input type: AVC1(24 bits)
Input size: 1920 x 1080(1.78:1)
Output type: YV12(12 bits)
Output size: 1920 x 1080(1.78:1)
Frame rate:23.81
BitRate: Unknown

[Audio Information]
Codec: AAC(0xaac0) - FFmpegMininum.dll(aac)
Sample rate: 44100 -> 44100 samples/sec
Bits per sample: 0 -> 16 bits/sample
Channels: 2 -> 2 channels
Bitrate: 0 kbps
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: aleister on August 19, 2016, 01:21:44 PM
Hi

autofmt works only if i set my Q10pro on 1080/24p enabled, with 24p Option disabled autofmt does nothing ?
Tried everything with Reboot and Force On Options.... no succes with 24P Off

Im sure autofmt works even with 24p enabled because Framerate Change to 50hz on 50hz Movies.
Q10Pro FW 1.07 with 24p enabled only will still not change to 50hz on 720p 50 or 1080 50 Sources

So can i use the Patch together with 24p Option ?

Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: oktober on September 07, 2016, 01:05:45 PM
In new 1.0.7 FW, himedia switch 50/60<>24/23.976 but no 50=> 60

Is it correct?

If it's so, is correct install autoFMT to solve this?
When Himedia do the same on new firmware?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on September 07, 2016, 02:55:07 PM
1.0.7 is 50/60 > 23.976/24/25/30/29.97.

HiMedia are thinking about implementing 50 > 60 / 60 >50.

They haven't said they definitely will but it has been requested.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: oktober on September 08, 2016, 09:16:50 AM
Thanks.
It would be another step to the perfection.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mr. 23.976 on September 10, 2016, 12:30:27 AM
Is it possible to implement an option to force 23.976 Hz to watch Amazon Video and Netflix without stuttering?

On my "WD HD TV Live" i can set 24hz in the option menu (autoswitch off) and by that i can watch netflix perfect smooth. Never saw this on other mediaplayers.  :-\
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on September 10, 2016, 06:30:53 AM
Is it possible to implement an option to force 23.976 Hz to watch Amazon Video and Netflix without stuttering?

On my "WD HD TV Live" i can set 24hz in the option menu (autoswitch off) and by that i can watch netflix perfect smooth. Never saw this on other mediaplayers.  :-\

The problem would be that not all Netflix content is 23.976. See here for discussion about this problem wrt Wetek Core: http://www.wetekforums.com/v/index.php?p=/discussion/24796/netflix-and-refresh-rate-app-should-be-or-not-used

Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on September 10, 2016, 12:05:55 PM
At list in Android 5.1.1 OMX report just 24, 25, 30, 50, 60.
Some user suggest to add custom display format 1080p 24Hz and 1080p 23.97Hz, 2160p 23.97Hz this can be work around for:
Kodi, YouTube, Amazon Video and Netflix use OMX so 23.976 --> 24, 29.97 --> 30 and 59.94 --> 60. 
Annoying time for switching resolution in slow switching device like Denon receiver.

If anyone want try can set via adb shell with disptest utility:
Replace value with:
4 --> 1080p/24
79 -->  1080p/23.976
74 -->  2160p/23.976
Code: [Select]
adb connect ip_player
adb shell disptest setfmt value
adb shell disptest setsaveparam

Ignore information form Settings / Display is not true, your FHD TV is not become UHD TV after set 1080p/23.976.
To set back to normal go to Settings / More/ Display / Custom display format  and set what need it 1080p60, 1080p50, 2160p30, etc.
Please post your experience all feedback are welcome.

Is it possible to implement an option to force 23.976 Hz to watch Amazon Video and Netflix without stuttering?

On my "WD HD TV Live" i can set 24hz in the option menu (autoswitch off) and by that i can watch netflix perfect smooth. Never saw this on other mediaplayers.  :-\

The problem would be that not all Netflix content is 23.976. See here for discussion about this problem wrt Wetek Core: http://www.wetekforums.com/v/index.php?p=/discussion/24796/netflix-and-refresh-rate-app-should-be-or-not-used
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: marcelg on September 21, 2016, 01:25:10 AM
Thanks A LOT, THIS is great for most of us!
Wrapper  don't work for me, it will work without it?, i use kodi
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: EazyVG on September 21, 2016, 05:45:55 PM
Just curious, are we expecting this patch to be implemented in 1.0.8 firmware by HiMedia?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on September 22, 2016, 08:34:47 AM
Just curious, are we expecting this patch to be implemented in 1.0.8 firmware by HiMedia?

This patch is mostly already incorporated in firmware 1.0.7 with 24p mode turned on.

What works in 1.0.7: is 50/60 > 23.976/24/25/30/29.97.

What doesn't work in 1.0.7 is 60 > 50 / 50 > 60. Also some interlaced 50/60 material is output at 25/30. These features are being considered for addition by HiMedia. We've requested that they are included along with more options to control how switching works.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: aleister on September 22, 2016, 08:51:20 AM
Just curious, are we expecting this patch to be implemented in 1.0.8 firmware by HiMedia?

This patch is mostly already incorporated in firmware 1.0.7 with 24p mode turned on.

What works in 1.0.7: is 50/60 > 23.976/24/25/30/29.97.

What doesn't work in 1.0.7 is 60 > 50 / 50 > 60. Also some interlaced 50/60 material is output at 25/30. These features are being considered for addition by HiMedia. We've requested that they are included along with more options to control how switching works.



In Himedia FW Videos with 50hz or 60hz are not detected for Framerate switching!
Nothing happens with for example with 720p 50hz, Framerate doesnt switch to anything

With autofmt it works :) but with latest Patch 29.97fps doesnt Change to 60 anymore, was working with previous Version ?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on September 23, 2016, 09:51:12 PM
29.97fps Auto framerate switching not intend playing to 60:

Video output 1080i
29.97fps not switching

Video output 720p/1080p
29.97fps is playing to 59.94

Video output 2160p
29.97fps is playing to 29.97

What is video output tested and latest Patch is 1.0.10.1 or 1.0.10.2?

With autofmt it works :) but with latest Patch 29.97fps doesnt Change to 60 anymore, was working with previous Version ?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: admi333 on October 03, 2016, 03:15:50 PM
Hello!
I have read, that this patch will work with Q5 (not PRO).
And i have  question.
I found this text:
- With 1.0.7 firmware, HiMedia 24Hz setting should ON for best result.
- With older firmware, HiMedia 24Hz setting should be OFF for best result.

and i have 3.0.3 firmware on my Q5. Should i turn ON 24Hz setting?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on October 03, 2016, 03:21:16 PM
yes,  turn ON 24Hz setting
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: flydini on October 04, 2016, 12:30:11 PM
When I turn ON 24Hz setting, the TV does not recognize HDMI 3 port (10 bit support). Q10 runs at the background but the view goes away. If I plug to another HDMI 1 port, I can see the view, turn off 24 hz and plug the HDMI port again (10 bit support) and it gets O.K.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on October 04, 2016, 01:10:47 PM
When I turn ON 24Hz setting, the TV does not recognize HDMI 3 port (10 bit support). Q10 runs at the background but the view goes away. If I plug to another HDMI 1 port, I can see the view, turn off 24 hz and plug the HDMI port again (10 bit support) and it gets O.K.

interesting... HDMI output? 422 or 420?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: q10pro1 on November 30, 2016, 06:02:18 PM
as set in 1.8 to have automatic right for the dvd.iso fps and 1080p mkv to 24 and 23.976 fps?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mount81 on December 02, 2016, 11:20:34 AM
I have a question regarding YouTube app (full screen) playback and auto frame rate switching: Does it work with the 1.07 fw implemented, or with this patch at all? Or theres no support at all to get correct playback fsp in the case of any YouTube content? ???

Another question: are there any known -even minor- downsides or additional bugs with this patch, or I shouldn't worry and install it without any doubts? (I would install it only for the sake of correct DVD deinterlaced playback).

Thanks!
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: q10pro1 on December 02, 2016, 03:34:13 PM
for having the correct fps on DVD.iso, I must also install autoFMTswitch_1.0.10 on 1.08 ?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on December 02, 2016, 04:21:50 PM
for having the correct fps on DVD.iso, I must also install autoFMTswitch_1.0.10 on 1.08 ?

Yes. All firmware versions. Install the latest version - 1.0.10.4.

http://www.futeko.com/newforum/index.php?topic=1043.msg7659#msg7659
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Standard on December 05, 2016, 08:35:24 PM
I should've read these instructions first, as I had struggled to get Auto framerate switching from the start.

Although the feature only seems to work when I set my TV to either 60hz, it won't switch to 23.976 when my TV is at 24hz.

All of my 23.976fps videos work in Kodi correctly now, and there's no more crosstalk / ghosting in my 3D SBS videos either  ;D - Provided I set my TV to 60hz!

**

Can I make 1 suggestion? Not a problem with the HiMedia player (it's perfect for me now, and I wrote a review on it calling it the best player in its class), but rather for convenience.

I have some videos with non-standard framerates, i.e. 23.975fps. When I play these in Kodi, it won't switch because it doesn't recognise the framerate. So it will play 23.975 at 60hz, which causes a lot of stuttering. I have to perform these steps before to fix:

1. Disable auto-switching
2. Change output resolution to 2160p24
3. Restart the player

It still stutters but very rarely.

I can think of two solutions for this:

1. When there is an unsupported framerate, let the wrapper switch to the closest matching framerate. If we can get 23.975 to play at 23.976, the stuttering will be few and far between - even better than setting output resolution to 2160p24!
2. Alternatively, allow switching from 24hz. It will let me watch 23.975 videos at 24hz which will have minimal stuttering, and supported framerates (i.e. 23.976) will still play perfectly without having to change any settings.

Thank you!
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 12, 2016, 08:31:39 AM
How to disable Auto framerate switching?
Stuttering like hell here.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Standard on December 12, 2016, 10:23:22 AM
How to disable Auto framerate switching?
Stuttering like hell here.

Home > settings > playback > 24Hz off.

Alternatively when playing a video in kodi

Menu button > advance options > 24Hz off.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 16, 2016, 09:31:21 AM
I was asking about HIMEDIAPLAYER PATCH
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on December 16, 2016, 09:43:38 AM
How to disable Auto framerate switching?
Stuttering like hell here.

edit file /sdcard/autoFMTswitchFlag -> ON -> OFF, with x-plore for sample or from PC with samba share with notepad++.

or use UNINSTALL.bat

which is the problem?  which is you TV and what type video content?
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Binnugsay on December 16, 2016, 09:57:50 AM
At list in Android 5.1.1 OMX report just 24, 25, 30, 50, 60.
Some user suggest to add custom display format 1080p 24Hz and 1080p 23.97Hz, 2160p 23.97Hz this can be work around for:
Kodi, YouTube, Amazon Video and Netflix use OMX so 23.976 --> 24, 29.97 --> 30 and 59.94 --> 60. 
Annoying time for switching resolution in slow switching device like Denon receiver.

If anyone want try can set via adb shell with disptest utility:
Replace value with:
4 --> 1080p/24
79 -->  1080p/23.976
74 -->  2160p/23.976
Code: [Select]
adb connect ip_player
adb shell disptest setfmt value
adb shell disptest setsaveparam

Ignore information form Settings / Display is not true, your FHD TV is not become UHD TV after set 1080p/23.976.
To set back to normal go to Settings / More/ Display / Custom display format  and set what need it 1080p60, 1080p50, 2160p30, etc.
Please post your experience all feedback are welcome.

Is it possible to implement an option to force 23.976 Hz to watch Amazon Video and Netflix without stuttering?

On my "WD HD TV Live" i can set 24hz in the option menu (autoswitch off) and by that i can watch netflix perfect smooth. Never saw this on other mediaplayers.  :-\

The problem would be that not all Netflix content is 23.976. See here for discussion about this problem wrt Wetek Core: http://www.wetekforums.com/v/index.php?p=/discussion/24796/netflix-and-refresh-rate-app-should-be-or-not-used

Hello,

Have some requests about the HDR10 setting in Q10 Pro witch don't keep the setting and switch all the time to AUTO. In that way i notice with only some HEVC movies files when playing with the Wrapper have Blue bands at the top and bottom ? But if the HDR10 is ON works fine, so

And so when when we try to put the Custom Display in 2160p 60Hz, can't do it with my LG 65EF950V. Why ? Only stay in 1080p 60 hz setting. But when i play a 4K file for example, and see the Info playing have 2160p, so did you see that mistakes!!!.. Thanks
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on December 16, 2016, 11:44:44 AM
Hello,

Have some requests about the HDR10 setting in Q10 Pro witch don't keep the setting and switch all the time to AUTO. In that way i notice with only some HEVC movies files when playing with the Wrapper have Blue bands at the top and bottom ? But if the HDR10 is ON works fine, so

And so when when we try to put the Custom Display in 2160p 60Hz, can't do it with my LG 65EF950V. Why ? Only stay in 1080p 60 hz setting. But when i play a 4K file for example, and see the Info playing have 2160p, so did you see that mistakes!!!.. Thanks

4K and HDR10 settings will be improved in next firmware. At this point, I would advise waiting for that firmware. HiMedia are aware of the problem you describe.

You should be able to set 2160p 60Hz in current firmware though. This resolution requires HDMI 2.0a cables throughout. If you were using HDMI 1.4 cables (or had an HDMI 1.4 receiver in the chain) then you would see 2160p 30Hz as max selectable resolution.
Title: Re: Q5/Q10 Pro - Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Binnugsay on December 16, 2016, 01:10:00 PM
Hello,

Have some requests about the HDR10 setting in Q10 Pro witch don't keep the setting and switch all the time to AUTO. In that way i notice with only some HEVC movies files when playing with the Wrapper have Blue bands at the top and bottom ? But if the HDR10 is ON works fine, so

And so when when we try to put the Custom Display in 2160p 60Hz, can't do it with my LG 65EF950V. Why ? Only stay in 1080p 60 hz setting. But when i play a 4K file for example, and see the Info playing have 2160p, so did you see that mistakes!!!.. Thanks

4K and HDR10 settings will be improved in next firmware. At this point, I would advise waiting for that firmware. HiMedia are aware of the problem you describe.

You should be able to set 2160p 60Hz in current firmware though. This resolution requires HDMI 2.0a cables throughout. If you were using HDMI 1.4 cables (or had an HDMI 1.4 receiver in the chain) then you would see 2160p 30Hz as max selectable resolution.

Thanks a lot for these precisions and justb waiting the new firmware  :)
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 16, 2016, 07:16:45 PM
How to disable Auto framerate switching?
Stuttering like hell here.

edit file /sdcard/autoFMTswitchFlag -> ON -> OFF, with x-plore for sample or from PC with samba share with notepad++.

or use UNINSTALL.bat

which is the problem?  which is you TV and what type video content?

Thanks looun.
I have drop frames playing 23,976 movies after installing auto framerate.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on December 17, 2016, 08:49:45 PM
Thanks looun.
I have drop frames playing 23,976 movies after installing auto framerate.

With what files? Can you provide a sample?

The 23.976 fix (23.976fps @ 23.976Hz) has been in place for about 4 months (FW 1.0.7) and other users do not report problems.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 19, 2016, 07:15:43 AM
Thanks looun.
I have drop frames playing 23,976 movies after installing auto framerate.

With what files? Can you provide a sample?

The 23.976 fix (23.976fps @ 23.976Hz) has been in place for about 4 months (FW 1.0.7) and other users do not report problems.

Hi, futeko.
With all 23.976 files after upgrading to FW 2.0.
1.0.7 was working fine, no drop frames.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on December 19, 2016, 10:32:51 AM
Thanks looun.
I have drop frames playing 23,976 movies after installing auto framerate.

With what files? Can you provide a sample?

The 23.976 fix (23.976fps @ 23.976Hz) has been in place for about 4 months (FW 1.0.7) and other users do not report problems.

Hi, futeko.
With all 23.976 files after upgrading to FW 2.0.
1.0.7 was working fine, no drop frames.

do you have sample?

this is reference file for test http://www.mediafire.com/file/m9k9qnyvjtdp51x/FPS_Tests_r3.rar, share in many forum .

Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on December 19, 2016, 11:57:33 AM
Hi, futeko.
With all 23.976 files after upgrading to FW 2.0.
1.0.7 was working fine, no drop frames.

Definitely some sort of setup problem. 23.976fps on 2.0.0 works exactly like 1.0.8 for me.

There would have been a lot of posts saying 23.976fps didn't work on 2.0.0 if it didn't work in general.

Have you definitely installed both firmwares, the migaration and final version? If you install only the migration firmware then then the 24p setting has no effect (box always outputs at system refresh rate).
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 19, 2016, 12:20:05 PM
I have upgraded from custom 1.0.7 (not 1.0.8) using migration fw and custom fw Q10Pro_(update&themed)_HMD-2.0.0 2016-11-17.181855.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on December 19, 2016, 12:28:07 PM
Should be OK then.

Does your TV switch to 24p mode?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 19, 2016, 12:33:35 PM
Yes, tv is showing 24 mode but drop frames occur  after certain time.
Dont know why.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Killastyle on December 30, 2016, 08:42:41 PM
Is the patch a must of is it extra? Currently freshly installed kodi 17 rc2. How can i check ik the patch succesfully is installed?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Godmax on December 30, 2016, 09:04:57 PM
So dorol is complaining about dropped frames...so the Q10 is still not capable of playing 24p material in every resolution perfectly???
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: impeth on December 31, 2016, 08:33:06 AM
Hi,

After running the script, I noticed a significant delay in Kodi autostart time in Q5 Pro. Is it possible that the script affects this timer?
Is there any setting that I can change in order to run Kodi faster after Q5 boot?

UPDATE
It seems that android total boot time is greater since script run. The problem remains even after running UNINSTALL.BAT script.
Android 7, I run the latest patch. Please help!

Happy New Year's Eve!!!
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on December 31, 2016, 08:58:45 AM
Yes, tv is showing 24 mode but drop frames occur  after certain time.
Dont know why.
So dorol is complaining about dropped frames...so the Q10 is still not capable of playing 24p material in every resolution perfectly???

23,976 2D playback is smooth without drop frame.
Check with this refence file test http://www.mediafire.com/file/m9k9qnyvjtdp51x/FPS_Tests_r3.rar
(https://s5.postimg.org/6mins7yxj/Capture_23.png)


Is the patch a must of is it extra? Currently freshly installed kodi 17 rc2. How can i check ik the patch succesfully is installed?

this patch is for Himediavideo player NOT for Kodi, there isn't any effect to kodi.

(https://s5.postimg.org/w1h6ozd07/20160424_010340_1.jpg)

this is the addon for kodi http://www.futeko.com/newforum/index.php?topic=1015.0
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Killastyle on December 31, 2016, 10:27:52 AM
Yes, tv is showing 24 mode but drop frames occur  after certain time.
Dont know why.
Is the patch a must of is it extra? Currently freshly installed kodi 17 rc2. How can i check ik the patch succesfully is installed?

this patch is for Himediavideo player NOT for Kodi, there isn't any effect to kodi.

(https://s5.postimg.org/w1h6ozd07/20160424_010340_1.jpg)

this is the addon for kodi http://www.futeko.com/newforum/index.php?topic=1015.0

Sorry, didnt read good
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 31, 2016, 10:41:02 AM
Yes, tv is showing 24 mode but drop frames occur  after certain time.
Dont know why.
So dorol is complaining about dropped frames...so the Q10 is still not capable of playing 24p material in every resolution perfectly???

23,976 2D playback is smooth without drop frame.
Check with this refence file test http://www.mediafire.com/file/m9k9qnyvjtdp51x/FPS_Tests_r3.rar
(https://s5.postimg.org/6mins7yxj/Capture_23.png)


Is the patch a must of is it extra? Currently freshly installed kodi 17 rc2. How can i check ik the patch succesfully is installed?

this patch is for Himediavideo player NOT for Kodi, there isn't any effect to kodi.

(https://s5.postimg.org/w1h6ozd07/20160424_010340_1.jpg)

this is the addon for kodi http://www.futeko.com/newforum/index.php?topic=1015.0

FW 2.0.0. Android 7?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on December 31, 2016, 12:48:48 PM
@dorol
Please read first post of topic, is answer your question.

FW 2.0.0. Android 7?

[PATCH] Auto framerate switching - KODI ADDON
http://www.futeko.com/newforum/index.php?topic=1015.0

[PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
http://www.futeko.com/newforum/index.php?topic=1043.0
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on December 31, 2016, 03:41:49 PM
@dorol
Please read first post of topic, is answer your question.

FW 2.0.0. Android 7?

[PATCH] Auto framerate switching - KODI ADDON
http://www.futeko.com/newforum/index.php?topic=1015.0

[PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
http://www.futeko.com/newforum/index.php?topic=1043.0

Ok, so is not working with FW 2.0.0 Android 7.
I will go back to fw 1.0.7.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: pcristi on December 31, 2016, 05:03:49 PM
I try to review all your post here, but is not clear for me what is not work proper for you.
If you are still on Android 7.0 please describe what is not work for you.
So,
- Box video output is 1080p  or 2160p?
- Auto framerate switching, is not doing switching with HiMedia 24Hz off?
- Have lost HDMI signal randomly when video is playing?
- Did use Q5/Q10 Pro Output Info Diagnostic Tool, to understand what is not work for you?
http://www.futeko.com/newforum/index.php?topic=1086.0

If you already switch back to HMD 1.0.7 and you are happy with how is woks, don't need spend time to try again Android 7.0 HMD 2.0.0.
Wait new f/w 2.0.1 to come out, probably in 2nd week on January 2017.


Ok, so is not working with FW 2.0.0 Android 7.
I will go back to fw 1.0.7.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mount81 on January 01, 2017, 05:58:02 AM
Is it compatible with the 1.0.9fw and is it safe to use?

Thanks!
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: impeth on January 02, 2017, 02:33:37 PM
Hi,

After running the script, I noticed a significant delay in Kodi autostart time in Q5 Pro. Is it possible that the script affects this timer?
Is there any setting that I can change in order to run Kodi faster after Q5 boot?

UPDATE
It seems that android total boot time is greater since script run. The problem remains even after running UNINSTALL.BAT script.
Android 7, I run the latest patch. Please help!

Thank you!

Can you include in the oncoming firmware 2.0.1 a correction for this as well?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 03, 2017, 11:22:49 AM
So dorol is complaining about dropped frames...so the Q10 is still not capable of playing 24p material in every resolution perfectly???

Q10 Pro plays 23.976fps perfectly. I am not sure why dorol reports dropped frames. This has not been usual behaviour since August 2016 and there are thousands of Q5/Q10 Pro being used.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 03, 2017, 11:25:08 AM
Ok, so is not working with FW 2.0.0 Android 7.
I will go back to fw 1.0.7.

Both patches work with all firmware versions. Please read the threads!

Auto-frame rate switching (23.976/24/25/30) works perfectly for all firmware versions with HiMediaplayer without a patch.

The Kodi add-on adds auto framerate switching for Kodi internal player (dvdplayer): http://www.futeko.com/newforum/index.php?topic=1015.0

The HiMediaplayer patch adds switching to/from 50/60Hz and fixes DVD Hz output: http://www.futeko.com/newforum/index.php?topic=1043.0
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on January 04, 2017, 09:21:58 AM
After reinstalling FW all works fine.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: saj2001ind on January 12, 2017, 11:36:42 AM
I have just bought the Q10 pro it comes with 2.0 firmware with Android 7

Does this have these frame switching built into himediaplayer player ? I see only 24p frame option in the himediaplayer

Can any one confirm this pls or any setting I am missing
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on January 12, 2017, 11:50:55 AM
I have just bought the Q10 pro it comes with 2.0 firmware with Android 7

Does this have these frame switching built into himediaplayer player ? I see only 24p frame option in the himediaplayer

Can any one confirm this pls or any setting I am missing
Do you have read first post?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: saj2001ind on January 12, 2017, 12:43:08 PM
I have read but I coundnt find any setting for this switching on himedia player...it just has 24p on or off
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: looun on January 12, 2017, 12:57:30 PM
I have read but I coundnt find any setting for this switching on himedia player...it just has 24p on or off
Quote
24p mode turned on in settings Q5/Q10 Pro with FW 1.0.7 and later already has: 50/60 Hz > 23.976/24/25/30/29.97 Hz.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: rdpm on January 13, 2017, 08:23:03 AM
Hello.
Good work, but I have read the whole thread but still confused: I assume that 1080 24p setting must be on, but which output resolution should I select in the main screen? I own different resolution stuff (720p, 1080p) and my TV is 4K/30hz.
Thank you for your help.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: saj2001ind on January 13, 2017, 08:55:37 AM
I have read but I coundnt find any setting for this switching on himedia player...it just has 24p on or off
Quote
24p mode turned on in settings Q5/Q10 Pro with FW 1.0.7 and later already has: 50/60 Hz > 23.976/24/25/30/29.97 Hz.

so this means the 50/60 Hz contents are played 23.976/24/25/30/29.97 Hz ?
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 13, 2017, 09:05:58 AM
so this means the 50/60 Hz contents are played 23.976/24/25/30/29.97 Hz ?

In any official firmware since 1.0.7, with 24p mode turned on in Settings - Playback the box will automatically switch from 50 or 60Hz to 23.976 or 24 or 25 or 30 or 29.97 Hz if it's appropriate for the content.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: saj2001ind on January 13, 2017, 09:09:08 AM
so this means the 50/60 Hz contents are played 23.976/24/25/30/29.97 Hz ?

In any official firmware since 1.0.7, with 24p mode turned on in Settings - Playback the box will automatically switch from 50 or 60Hz to 23.976 or 24 or 25 or 30 or 29.97 Hz if it's appropriate for the content.

ok perfect so my understanding was correct that even 50 or 60 HZ content will play in 24 or 25 or 30 or 29.97 Hz

cant we have separate option for 50/60 HZ content to play in 50 or 60 and not lower....I have noticed this creates not so smooth playback....I have another player which has both these settings separately and plays appropriately and not in different HZ mode
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 13, 2017, 04:05:23 PM
ok perfect so my understanding was correct that even 50 or 60 HZ content will play in 24 or 25 or 30 or 29.97 Hz

cant we have separate option for 50/60 HZ content to play in 50 or 60 and not lower....I have noticed this creates not so smooth playback....I have another player which has both these settings separately and plays appropriately and not in different HZ mode

Your understanding is not correct.

Framerate will only switch to 23.976 / 24 / 29.97 etc if the content is at that fps.

If the system refresh rate (Android rate) is set to 50Hz, 50fps content would play at 50Hz. Of course there isn't much 50fps (or 60fps) content..
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: Mount81 on January 14, 2017, 06:48:09 AM
Hello.
Good work, but I have read the whole thread but still confused: I assume that 1080 24p setting must be on, but which output resolution should I select in the main screen? I own different resolution stuff (720p, 1080p) and my TV is 4K/30hz.
Thank you for your help.

For 720p/1080p content the best is to set 1080p res on the Himedia Box and let the TV do the upscalling. For 4K stuffs, set the player to 4K res also.

(Hower it would be great if the player could auto detect the source resolution and switch automaticly respectively to it.)
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: switchblade on January 14, 2017, 04:56:30 PM

(Hower it would be great if the player could auto detect the source resolution and switch automaticly respectively to it.)

+1  This feature is LATE, should have already been included in the last FW releases.  Lame we have to manually change this setting.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 16, 2017, 09:17:25 AM

(Hower it would be great if the player could auto detect the source resolution and switch automaticly respectively to it.)

+1  This feature is LATE, should have already been included in the last FW releases.  Lame we have to manually change this setting.

The feature is not late. It's been passed to HiMedia as a feature request but that's all, it's never been promised.

It's also worth mentioning that practically no other android media boxes do this. It would be tricky to implement and would likely result in many instances of no HDMI output when box switches to an output resolution not supported by connected TV/projector.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: safcsat on January 16, 2017, 09:58:25 AM

(Hower it would be great if the player could auto detect the source resolution and switch automaticly respectively to it.)

+1  This feature is LATE, should have already been included in the last FW releases.  Lame we have to manually change this setting.

The feature is not late. It's been passed to HiMedia as a feature request but that's all, it's never been promised.

It's also worth mentioning that practically no other android media boxes do this. It would be tricky to implement and would likely result in many instances of no HDMI output when box switches to an output resolution not supported by connected TV/projector.

It works very well on Enigma2 Sat boxes, but as you say don't think any other Android boxes offer this.  Again this could be something to really put the q10 ahead of other boxes.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 16, 2017, 12:36:46 PM
It works very well on Enigma2 Sat boxes, but as you say don't think any other Android boxes offer this.  Again this could be something to really put the q10 ahead of other boxes.

I agree and it's something I have mentioned to HiMedia.
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: dorol on January 18, 2017, 04:50:44 PM
After input my Q10  ip i get "adbd is already running as root" and nothing happens.
Any advice?
Thanks
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: ultrasilent on January 19, 2017, 12:23:16 PM
4k 59.94p files output in 2160p still is not fixed. Outputting at 60hz (frame repeat every 17 sec. approx.).  You can check this test file:

https://cloud.mail.ru/public/J4mc/tCPXjzVTJ

Also you can watch this demo: Samsung SUHD_Phantom_Flex.ts ?r Samsung UHD Sample (Phantom Flex) [2160p 4k]
It`s very annoying issue.

Below you can find log:

Formt/DispMode :3840x2160_60/2D
/system/bin/sh: cat: /proc/hisi/hiplayer00/fileinfo: Try again
------------------------------------------------------------------------
----------------------Hisilicon AVPLAY0 Out Info-------------------
Stream Type :ES |DmxId :INVALID
CurStatus :PLAY |OverflowProc :RESET
Sync ID :sync00 |ThreadID :25241
AudThreadScheTimeOut :0 |AudThreadExeTimeOut :0
VidThreadScheTimeOut :0 |VidThreadExeTimeOut :0
CpuFreqScheTimeCnt :1
------------------------------VID CHANNEL--------------------------
Vid Enable :TRUE |Vdec Type :HEVC
VidOverflowNum :0 |Vdec Mode :NORMAL
VidPid :0x1fff |FrcEnable :TRUE
FrcInRate :59.94 |FrcOutRate :60.0
TplaySpeed :1.0 |LowDelayEnable :FALSE
TvpEnable :FALSE |Vdec ID :vdec00
FrameChanID :vpss_port0000->win0100(master)
AcquireFrame(Try/OK) :4423/2210
SendFrame(Try/OK) :2212/2212(master)
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: futeko.com on January 20, 2017, 09:22:54 AM
4k 59.94p files output in 2160p still is not fixed. Outputting at 60hz (frame repeat every 17 sec. approx.).  You can check this test file:

This needs a HiSilicon SDK update. 2.0.1 has same SDK as 2.0.0 (August 2016).
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: lll3nto on January 23, 2017, 07:22:42 AM
Good work and good support here.

<quote>
Version History:
1.0.10.4
- Android 7 firmware 2.0.0 compatibility.
</quote>

my q10pro is updated with latest 2.0.1 firmware on android 7.
1. Is Auto framerate switching compatible whith 2.0.1 also? Cannot understand from upon version history  ...
2. Samsung TV KS75000 supports 2kp 60Hz: will it be useful the 24p selection for optimal performance? In which case?
Thanks!
Title: Re: [PATCH] Auto framerate switching - HIMEDIAPLAYER PATCH
Post by: droiter on January 30, 2017, 06:58:17 AM
i use the app qhdtv(for iptv) but
I would disable auto-framerate for this application.
Because, it activates with each change of channel.
So I have to wait 10 seconds between each channel.
is it possible?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Namoh on February 26, 2017, 06:13:24 PM
Don't know what causes it but sometimes after I've paused a movie for a longer time and continue again, the sound is not in sync anymore with the mouths/lips. Very annoying. How can I fix this? Any option via the remote? I couldn't find it. 😬
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Sibiriak on March 01, 2017, 03:32:06 PM
is there such patch for the MAC OS?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: oktober on March 14, 2017, 02:11:09 PM
I still do not understand why this feature (Auto Frame Rate Switch) will not be included in the Q5 / Q10 by default.
Reeeeeeeeeeeally very strange!!!!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Transit266 on March 29, 2017, 07:56:25 AM
I still do not understand why this feature (Auto Frame Rate Switch) will not be included in the Q5 / Q10 by default.
Reeeeeeeeeeeally very strange!!!!

Futeko has explained this : due to the SDK of soc manufacturer. This can not be fixed by Himedia but the SoC provider have to revise their SDK, and Futeko say the next N firmware shall have new SDK. So, just wait and see.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on March 29, 2017, 10:32:48 AM
I still do not understand why this feature (Auto Frame Rate Switch) will not be included in the Q5 / Q10 by default.
Reeeeeeeeeeeally very strange!!!!

The auto framerate swiching most people will use (60/50 > 23.976 / 29.970) is included by default.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on April 05, 2017, 06:11:21 AM
Hello!

So if I understand correctly (according to the description) I must turn 24p mode OFF in the menu to get the desired frame rate switching "upgrades to work". OK, but the other modes that are already implemented in the firmwares still will work with 24p mode OFF?!

I want to use this patch with some DVD iso-s. All the other frame switching options will work just as fine as before installing the patch?! Doesn't it have any side effects, or doesn't it generate any anomaly or other unexpected bugs?!  :???

And is there a similar way to "remove" the patch, without needing to reinstall the whole firmware?!

Thanks for the replies!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on April 05, 2017, 12:31:39 PM
So if I understand correctly (according to the description) I must turn 24p mode OFF in the menu to get the desired frame rate switching "upgrades to work". OK, but the other modes that are already implemented in the firmwares still will work with 24p mode OFF?!

You've misread the description. If installed the script will override the 24p setting. It doesn't matter if it's on or off.

I want to use this patch with some DVD iso-s. All the other frame switching options will work just as fine as before installing the patch?! Doesn't it have any side effects, or doesn't it generate any anomaly or other unexpected bugs?!  :???

Yes, all as before. The patch adds the additional auto switching and takes away nothing.

And is there a similar way to "remove" the patch, without needing to reinstall the whole firmware?!
Thanks for the replies!

There is an uninstall script included. UNINSTALL.BAT.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Kontrapunktus on April 18, 2017, 04:47:26 PM
I have just moved from  Android 5, fw 1.0.9, Kodi 16.1 to Android 7, fw 2.0.3, Kodi 16.1. (I prefer not to mess up with Kodi 17 as for now). The upgrade has gone swiftly and apparently everything works as expected.

Then, I have applied the patch for autoframerate switching. The patch is  apparently well applied after successful connection from the PC, etc. and the box automatically reboots. However, no switching occurs, neither from Himedia Player nor from Wrapper. Looks like the patch is not compatible with fw 2.0.3.  It worked great with fw 1.0.9. Should I go back to 2.0.1 to get autoframerate switching?

Thanks,

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on April 18, 2017, 07:59:34 PM
Try new version: autoFMTswitch_1.0.11 (https://www.mediafire.com/?9scd3gn0xm3r3tc)

Changelog:
1.0.11
- fix for FW v2.0.3 Android 7.0

BIG Thanks to @looun.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Kontrapunktus on April 18, 2017, 08:24:00 PM
New version working perfectly well with fw 2.0.3!

Thanks a lot pcristi, looun, great job!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: madman on April 18, 2017, 08:35:55 PM
Try new version: autoFMTswitch_1.0.11 (https://www.mediafire.com/?9scd3gn0xm3r3tc)

Changelog:
1.0.11
- fix for FW v2.0.3 Android 7.0

BIG Thanks to @looun.

great! my thanks also goes to you:-). is there any chance for a same patch for kodi player?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Kontrapunktus on April 18, 2017, 10:03:31 PM
Try new version: autoFMTswitch_1.0.11 (https://www.mediafire.com/?9scd3gn0xm3r3tc)

Changelog:
1.0.11
- fix for FW v2.0.3 Android 7.0

BIG Thanks to @looun.

great! my thanks also goes to you:-). is there any chance for a same patch for kodi player?

Here you are:

http://www.futeko.com/newforum/index.php?topic=1015.0
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: madman on April 18, 2017, 11:20:49 PM
Try new version: autoFMTswitch_1.0.11 (https://www.mediafire.com/?9scd3gn0xm3r3tc)

Changelog:
1.0.11
- fix for FW v2.0.3 Android 7.0

BIG Thanks to @looun.

great! my thanks also goes to you:-). is there any chance for a same patch for kodi player?

Here you are:

http://www.futeko.com/newforum/index.php?topic=1015.0
Yes, thank you, I'm aware of that, but it seems that this patch doesn't work with 2.0.3 and i am hoping for fixed version.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: maelor on April 19, 2017, 11:00:10 AM
Try new version: autoFMTswitch_1.0.11 (https://www.mediafire.com/?9scd3gn0xm3r3tc)

Thanks guys,
For clarity can you give us the other recommended Playback settings (for FW v2.0.3 Android 7.0):

HDMI Output: (Raw?)
SPDIF Output: (Raw?)
HBR Output: (Auto?)
TV Aspect Ratio: (16:9?)
Maintain Aspect Ratio: (Auto?)
24 Hz: OFF

Also, I have the Display Settings as 4096x2160P 24Hz but should I change the 24Hz here also?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on April 19, 2017, 11:07:19 AM
Yes, thank you, I'm aware of that, but it seems that this patch doesn't work with 2.0.3 and i am hoping for fixed version.

pcristi has made patch compatible with new 2.0.3 firmware and I've updated the opening post.

http://www.futeko.com/newforum/index.php?topic=1043.msg7659#msg7659
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on April 19, 2017, 11:13:47 AM
HDMI Output: (Raw?)
SPDIF Output: (Raw?)
HBR Output: (Auto?)
TV Aspect Ratio: (16:9?)
Maintain Aspect Ratio: (Auto?)
24 Hz: OFF

Also, I have the Display Settings as 4096x2160P 24Hz but should I change the 24Hz here also?

Optimum depends on your TV / audio hardware, but presuming you have a UHD TV and a 7.1 capable receiver connected using HDMI:

HDMI Output: RAW
SPDIF Output: Close (doesn't actually matter on/off if not being used)
HBR Output: RAW7.1 (auto should work same)
TV Aspect Ratio: 16:9
Maintain Aspect Ratio: Keep ratio
24 Hz: On (See opening post of this thread for explanation of what switching you get with this On vs switching patch being installed).
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: maelor on April 19, 2017, 02:58:25 PM
24 Hz: On (See opening post of this thread for explanation of what switching you get with this On vs switching patch being installed).

Thanks. My fault, I read "With older firmware, HiMedia 24Hz setting should be OFF for best result" but the "With older firmware" didn't seem to register  :-[
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on April 20, 2017, 10:20:46 AM
4096x2160:

23.976 --> 24Hz

why 24hz ?

And is there a Way to get Patch Support for BR 3D ISOs 23.976fps ?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on April 20, 2017, 10:49:05 AM
4096x2160 not support for 23.976
From disptest(hidisp) only this options
Code: [Select]
                FMT_4096X2160_24 ----- 69
                FMT_4096X2160_25 ----- 70
                FMT_4096X2160_30 ----- 71
                FMT_4096X2160_50 ----- 72
                FMT_4096X2160_60 ----- 73

BD 3D ISOs 23.976fps not play to video output 23.976fps FRAME_PACKING, I think not exit any Android device witch support this options yet.
From disptest(hidisp) only this options
Code: [Select]
                FMT_1080P_24_FRAME_PACKING - 19
                FMT_720P_60_FRAME_PACKING -- 20
                FMT_720P_50_FRAME_PACKING -- 21

4096x2160:

23.976 --> 24Hz

why 24hz ?

And is there a Way to get Patch Support for BR 3D ISOs 23.976fps ?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Binnugsay on April 20, 2017, 12:08:29 PM
Hey,

Try yesterday with a new 4K mkv video SAMSARA but can't read it. Have the CS firmware 2.01. Try with and without the 24 Hz, same, only Audio sound but no picture, black screen. Do you already have seen this mistake...... Did this resolution can be works !!!!
Width : 4 096 pixels
Height : 1 716 pixels

General
Complete name                            : G:\SAMSARA_TLR-2-UK_EN-XX_OV_51-4K-HDTN.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 1.03 GiB
Duration                                 : 1mn 40s
Overall bit rate                         : 88.4 Mbps
Movie name                               : SAMSARA TLR-2-UK / Conversion tool by alexx
Writing application                      : Lavf56.15.102

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:4:4 Predictive@L5.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 40s
Bit rate                                 : 87.8 Mbps
Width                                    : 4 096 pixels
Height                                   : 1 716 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 24.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:4:4
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.520
Stream size                              : 1.03 GiB (99%)
Writing library                          : x264 core 142 r2455 021c0dc
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=4 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : ac-3
Duration                                 : 1mn 40s
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : 83ms
Stream size                              : 7.67 MiB (1%)
Language                                 : English


http://www.hd-trailers.net/movie/samsara/

Thanks
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on April 21, 2017, 09:53:41 AM
I get same result with SAMSARA file, but I think there may be a problem with the file.

It won't play in Kodi native player or MX Player either.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Gaia on April 21, 2017, 10:04:43 AM
Format profile                           : High 4:4:4 Predictive@L5.1

This problem is, only supported by 4: 2: 0.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: ultrasilent on April 28, 2017, 08:38:35 PM
4096x2160 not support for 23.976
From disptest(hidisp) only this options
Code: [Select]
                FMT_4096X2160_24 ----- 69
                FMT_4096X2160_25 ----- 70
                FMT_4096X2160_30 ----- 71
                FMT_4096X2160_50 ----- 72
                FMT_4096X2160_60 ----- 73

It`s  next epic fail of Himedia!
They didn`t fix aspect ratio problem in HDR for himedia player, but Archos player output hdr properly.
but now they broke 23.976 for 4k!
I have only one question: how I can return back my money for broken product?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on April 29, 2017, 10:07:17 AM
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: ultrasilent on April 29, 2017, 01:08:49 PM
Formt/DispMode :3840x2160_23.976/2D
fps: 23.976
------------------------------------------------------------------------
----------------------Hisilicon AVPLAY0 Out Info-------------------
Stream Type :ES |DmxId :INVALID
CurStatus LAY |OverflowProc :RESET
Sync ID :sync00 |ThreadID :27527
AudThreadScheTimeOut :0 |AudThreadExeTimeOut :0
VidThreadScheTimeOut :0 |VidThreadExeTimeOut :0
CpuFreqScheTimeCnt :0
------------------------------VID CHANNEL--------------------------
Vid Enable :TRUE |Vdec Type :HEVC
VidOverflowNum :0 |Vdec Mode :NORMAL
VidPid :0x1fff |FrcEnable :TRUE
FrcInRate :24.0 |FrcOutRate :23.97
TplaySpeed :1.0 |LowDelayEnable :FALSE
TvpEnable :FALSE |Vdec ID :vdec00
FrameChanID :vpss_port0000->win0100(master)
AcquireFrame(Try/OK) :19706/4926
SendFrame(Try/OK) :4942/4924(master)

Please provide playing conditions to play properly.
firmware
player
settings
patch if necessary
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: oktober on May 16, 2017, 05:15:30 PM
Hi,
does anyone notice microstutter on 23.976 fps movies also with this patch (Auto frame rate switching).
I've 2.0.3 with last AFS version 1.1.0 and 24hz OFF on Himedia.

Thx
Paolo
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on July 10, 2017, 11:09:00 AM
Does latest Patch Version  work with FW 2.4?

I need the Patch because even 2.4 cant auto change fps  50/60fps Sources
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on July 10, 2017, 11:21:50 AM
1.1.2 --> intend to supported, same link like v1.1.0 from OP.

Changelog:

1.1.2
- fix for FW v2.0.4 Android 7.0

1.1.1
- 4096x2160/23.976 --> 3840x2160/23.97Hz


Does latest Patch Version  work with FW 2.4?

I need the Patch because even 2.4 cant auto change fps  50/60fps Sources
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on July 10, 2017, 12:36:39 PM
Perfect, Thank you!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on July 10, 2017, 12:48:26 PM
installed it on 2.4 FW, worsk nice!

But the FPS Switch has a Delay when the Movie starts ? I cant remember it was present in Android 5 FW ?

The Moviestarts for 1-3 Seconds before the Patch change the Framerate ?

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: sherakin on July 11, 2017, 08:51:25 AM
@pcristi

Could you check please the following with firmware 2.0.4.?

The switch doesnt work for 3D Bluray iso's if you change from 3D to 2D. If you change it from 3D to 2D, the file plays in 60hz (my standard settings are 1080 and 60hz). With the last firmware (2.0.1.)  everything went well.

2D Bluray iso's are ok and switch to 23.976 (24) works.

All other materials work great with the switch.

PS: No effect if i put the 24hz switch in himedia on or off.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Kontrapunktus on July 12, 2017, 08:09:51 PM
I just installed CFW 2.0.4 on my q5pro. Everything looks OK, but some options have changed. For instance in Settings - Playback no 24Hz option appears now (instead it appears a "Frame rate adaptation" option.

I have installed the auto framerate switching for Himedia Player (patch v. 1.1.2). The patch is correctly applied but it does not seem to work, no matter if the "Frame rate adaptation" option is ON or OFF. What am I doing wrong?

Thanks
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on July 12, 2017, 09:19:27 PM
@sherakin
1.1.3
- fix 3D-->2D switch regressions
Thanks for reported
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: casino187 on July 12, 2017, 10:44:47 PM
I just installed CFW 2.0.4 on my q5pro. Everything looks OK, but some options have changed. For instance in Settings - Playback no 24Hz option appears now (instead it appears a "Frame rate adaptation" option.

I have installed the auto framerate switching for Himedia Player (patch v. 1.1.2). The patch is correctly applied but it does not seem to work, no matter if the "Frame rate adaptation" option is ON or OFF. What am I doing wrong?

Thanks

I just updated my q10 to 2.0.4 and installed this patch.  It didn't work at first so I switched "frame rate adaptation" to "open" and now it works fine.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: sherakin on July 13, 2017, 09:50:50 AM
@sherakin
1.1.3
- fix 3D-->2D switch regressions
Thanks for reported

Great job! Thank you!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Kontrapunktus on July 13, 2017, 06:44:41 PM
I just installed CFW 2.0.4 on my q5pro. Everything looks OK, but some options have changed. For instance in Settings - Playback no 24Hz option appears now (instead it appears a "Frame rate adaptation" option.

I have installed the auto framerate switching for Himedia Player (patch v. 1.1.2). The patch is correctly applied but it does not seem to work, no matter if the "Frame rate adaptation" option is ON or OFF. What am I doing wrong?

Thanks

I just updated my q10 to 2.0.4 and installed this patch.  It didn't work at first so I switched "frame rate adaptation" to "open" and now it works fine.

Finally the problem got solved by reinstalling official FW 2.0.4 and the auto framerate switching patch 1.1.3. Now it works great for most files.

However, I have observed that it does not switch when playing BDMV folders. I have several 1080 30Hz BDMV which play at 30Hz (do not switch to 60Hz).
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: casino187 on July 14, 2017, 04:10:47 AM
@sherakin
1.1.3
- fix 3D-->2D switch regressions
Thanks for reported

Great job! Thank you!
can you guys elaborate on what this 3d to 2d switch regressions means?  I just tested a bluray 3d iso that is 23.976 fps and is sending a 24hz signal.  Is this correct? I expected 23.976 like the 2d movies.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on July 14, 2017, 06:28:52 AM
The 24hz Output on 3D ISO is a SDK Problem....cant be fixed from this Patch so far i think.
We have to wait for a SDK Update /new FW from Himedia
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: mihailuican on July 14, 2017, 07:44:39 AM
In installed CFW2.0.4 and working allright.
After readint these, aI also installed this patch. Running the patch was alright, Q10pro rebooted, but the BAT application hangs, does not return to prompt after the square with "rebooting device", I cannot exist by command. Why is that?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: xalaros on July 16, 2017, 12:31:54 PM
Hello,

i have firmware 2.0.4 custom and installed autoframeswitch 1.1.3 didn't know if it was already there so i run the bat file anyways.
So here is my problem. When i have 1080P 60Hz as the interface resolution. Framerate changes correctly but if i play a 4K file the resolution
doesn't change to 4k(on my tv the info still says 1080p). Also if i play a 720p video the resolution still remains at 1080p only framerate changes.
This maybe normal but just wanted to check.
My problems start when i change the interface resolution to 2160p60Hz. as it seems here if i play a file at 4K then the frame rate changes correctly but problems start when i play 1080p or 720p videos. I get no signal from the TV and only if i reboot the box or if i stop the video and press the tv mode button on the remote a few times just to get a proper resolution again and i get a signal back.
This maybe an issue with my TV(LG uf850) not changing properly between resolutions is anybody else having the same issues???

My q5 pro is directly connected to my TV on HDMI2 and i have sound from spdif to my pioneer receiver, since my receiver is only 1080p capable i  connected the box directly to tv just to have the 4k option. I  suspect the the problem may be with the colour space switching from 1080p Ycbcr444 10bit to Ycbcr422 8bit on 4k and vise versa, i have deep colour enabled on my TV(no HDR capability). any thoughts?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on July 16, 2017, 01:14:12 PM
@xalaros
autoframeswitch 1.1.3 doesn't change resolution, to hard to ensure compatibility with need it resolution, TV and cables without popup of visual confirmation.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on July 16, 2017, 05:24:21 PM
xalaros:

To the first part: If you set 4K and play 1080p (or under) videos, than the output resolution should stay at 4K. If you set 1080p and play 4K videos than it should be 1080p output. If you set 1080p and play 720p it should be also 1080p output. That's normal. No other media players can do auto resolution switching.

Advise: set if to 4K for 4K sources and set if to 1080p for FHD and under sources.

The problematic part: Check your TV settings or the HDMI cable, because it's not normal as you described. Or maybe a fresh firmware reinstall could help.
Or try to set to "simple" 4:2:2, and see if it works.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: xalaros on July 17, 2017, 09:03:53 AM
Thanks for the reply, i tried the 422 and it seems to be fine so it was the switching between the 444 10bit and 422 8bit that was creating the issue probably, i will try to stay away from buying a new a/v receiver but i keep going back to the website of pioneer and onkyo for some reason lately :)
i figured i will switch the resolution between 4k and 1080p manually since  i found that playing 4k content with 4k resolution and 4228bit PQ seems a bit better.
Last question is there any way to set a shortcut to the 2 resolutions i need on the remote instead of having to press tv-mode key multiple times to get the correct one???
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: mihailuican on July 18, 2017, 07:29:44 AM
Hello everybody.
Q10 pro, Android 7, CFW2.0.4 here.
I initially uninstalled this patch because was giving unintentional movie pauses at beginning of movie.
Then I changed my mind hoping for the best behavior.
So, I reinstalled for a second time this patch, BUT it is inducing again the same abnormal behavior...
When video is starting, mediaplayer receives something similar to a "Pause" command, because the image of file info/details and commands (pause, forward, rewind) appears on screen, TWICE in an interval of several GOOD seconds, and then the movie pauses.
This takes many good seconds after which the movie playback resumes normally.
I uninstalled this patch again waiting for normal behavior.
I hope I am not the one doing anything out of the ordinary... am I?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on July 18, 2017, 08:11:52 AM
@mihailuican
I think your box is direct connect to TV and switch fast resolution . "Pause" is intend many AVR special Denon are switching slow and TV/Projector need 4-5 seconds to display image. You can adjust sleep time in line 71 from autoFMTswitch.sh or keep just "$dispmsp setfmt $setfmt " by edit on notepadd++.

Anyone are welcome to optimize scripts for him self and share with as a better and improved version.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: mihailuican on July 18, 2017, 09:39:06 AM
@PCristi.
Thank you for your kind answer and development work.
I uninstalled it since (reading in the dedicated forum link and RED RECOMMENDATION OF FUTEKO) it is INTENDED FOR INTERNAL KODI PLAYER ONLY.
I am using Kodi+Wrapper and thus I do not need it.
Thank you, again.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on July 18, 2017, 10:46:01 AM
@PCristi.
Thank you for your kind answer and development work.
I uninstalled it since (reading in the dedicated forum link and RED RECOMMENDATION OF FUTEKO) it is INTENDED FOR INTERNAL KODI PLAYER ONLY.
I am using Kodi+Wrapper and thus I do not need it.
Thank you, again.

This  [PATCH] is not for internal KODI player are for HIMEDIAPLAYER including Kodi+Wrapper like topic title said, but for many users not need it.
Probably too many times use [PATCH] word on this forum and you get confuse with this one [PATCH] Auto framerate switching - KODI (http://www.futeko.com/newforum/index.php?topic=1015.0).
Have a nice day.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: mihailuican on July 18, 2017, 12:14:36 PM
@PCristi - Thank you,
I edited the file and at line 71 left only "$dispmsp setfmt $setfmt".
I will let you all guys@gals know what change in behaviour this will bring.
Cheers everybody.

Later edit: I discovered issues with the edited version too. First film was OK. The second started with several pauses, black screen, I had to press repeatedly play button... I finally uninstalled the  patch and everything's back to normal. Cheers.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on August 10, 2017, 04:34:51 PM
With 59.940fps Movies, with Patch the output Framerate is 30hz  and not 60hz?
 
This Trailer does the same
http://4kmedia.org/samsung-7-wonders-of-the-world-italy-uhd-4k-demo/

Doenst matter which Colorspace or fps  is set the Q10

Framerate Adaption is off (same with on)

FW is 2.04

Should be 60hz ?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on August 10, 2017, 04:49:23 PM
What is video output before to start play 2160/60 or 2160/50?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on August 10, 2017, 04:59:46 PM
What is video output before to start play 2160/60 or 2160/50?

I have my q10 at 2160p 24hz ycbcr 444 10bit HDR10
Also tested with 2610p 50 or 60 (444 8bit)

At 2160p 60hz the Patch sets it to down to 30 from 59.940

And the FW Framerate Adaption itself does nothing on 59.940 Sources
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on August 10, 2017, 05:18:27 PM
Ok Thanks

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on August 10, 2017, 05:26:04 PM
Now script play 59.940fps to 29.97Hz  for 2160p video output.
59.940fps to 60Hz not correct is cause frame drops, don't use this script and set HiMedia 24Hz ON, if you need like that.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: szrobert on August 16, 2017, 01:33:37 PM
Hi!

For me not working auto framerate switching on the latest 2.04 CFW...
Install, device restart, but not working..

Any idea?

Thanks..
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on August 22, 2017, 05:55:15 PM
Hello!

This post is regarding the correct DVD 25->50/30->60Hz switching on the official 2.0.4 fw. Some have reported (on another Forum), that even without installing this patch, when they play 25fps DVD's with HiPlayer, they've got 50Hz displayed on the TV's info bar. How this could be possible?! As far as I know the correct DVD Hz switching still isn't solved even on 2.0.4 fw. And this -presumably-  indicates that somehow the correct switching happens even so. ? :???

Any thoughts or explanations on this, please?! (Would be great if others also would try if it works or not this way).
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on August 23, 2017, 10:27:49 AM
Hello!

This post is regarding the correct DVD 25->50/30->60Hz switching on the official 2.0.4 fw. Some have reported (on another Forum), that even without installing this patch, when they play 25fps DVD's with HiPlayer, they've got 50Hz displayed on the TV's info bar. How this could be possible?! As far as I know the correct DVD Hz switching still isn't solved even on 2.0.4 fw. And this -presumably-  indicates that somehow the correct switching happens even so. ? :???

Any thoughts or explanations on this, please?! (Would be great if others also would try if it works or not this way).

Maybe those user's TVs don't support 25fps and play it at 50Hz?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: EazyVG on September 21, 2017, 07:02:55 AM
I have just jumped from CFW 1.0.7 to CFW 2.0.5 and want to try this patch, but do not have windows pc, rather linux. Any assistance how I can execute the necessary on linux?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on September 21, 2017, 09:00:55 AM
I have just jumped from CFW 1.0.7 to CFW 2.0.5 and want to try this patch, but do not have windows pc, rather linux. Any assistance how I can execute the necessary on linux?

Run Windows in VirtualBox.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: EazyVG on September 21, 2017, 09:27:14 AM
I have just jumped from CFW 1.0.7 to CFW 2.0.5 and want to try this patch, but do not have windows pc, rather linux. Any assistance how I can execute the necessary on linux?

Run Windows in VirtualBox.

Seriously ))))) Thanks :p

BTW, much appreciate the support you have given here for these devices for over the time! Kudos and thumbs up.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on September 23, 2017, 05:24:52 PM
autoFMTswitch_1.1.4

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu to correct framerate
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on September 25, 2017, 07:36:48 AM
Is it available for download?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Binnugsay on September 25, 2017, 09:45:20 AM
Is it available for download?

https://www.mediafire.com/?kvlryqpyzcac3

;)
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on September 25, 2017, 11:25:18 AM
autoFMTswitch_1.1.4

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu to correct framerate

Hi!

Do we need the FMT patch at all on CFW 2.0.5 for proper BD menu app fps switching?! Or it just corrected the previous FTM patch for the  BD menu app? Is the BD menu app fps switching working properly without this FMT patch?!

And: Is any version of the FTM patch already installed in the CFW 2.0.5 package?

My suggestions:

Wouldn't be itt more practical if we could have an easy option (a shortcut maybe), to simply turn OFF and ON the patch at anytime as desired?!

It would come in handy for DVDs, but for all the other videos it's just unnecessary, as the correct fps switching works already implemented.

Or you could make a ripped version, that has only the 25->50 and the 30->60 switching left, and all the others trimmed out. (Just a tipp...)

Thanks for the reply!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: tmihai20 on September 25, 2017, 03:52:22 PM
@mount81: I was thinking the same thing, but since this is an addon that needs restarting Kodi, I do not think it can be disabled easily. I am even not using it with 2.0.5, but I do not have ISOs of any kind, DVD or BluRay.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on September 25, 2017, 06:37:56 PM
Is it available for download?

https://www.mediafire.com/?kvlryqpyzcac3

;)
Tks.  :)
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on September 25, 2017, 07:31:27 PM
@mount81: I was thinking the same thing, but since this is an addon that needs restarting Kodi, I do not think it can be disabled easily. I am even not using it with 2.0.5, but I do not have ISOs of any kind, DVD or BluRay.

You must be mistaken it with the KOID fps add-on, this one is for the HiMedia Player.

And I do would like to use it more often, as i have a bunch of DVDs, that are some older content, yet can't be found in newer format.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: tmihai20 on September 25, 2017, 08:02:10 PM
@mount81: I was thinking the same thing, but since this is an addon that needs restarting Kodi, I do not think it can be disabled easily. I am even not using it with 2.0.5, but I do not have ISOs of any kind, DVD or BluRay.

You must be mistaken it with the KOID fps add-on, this one is for the HiMedia Player.

And I do would like to use it more often, as i have a bunch of DVDs, that are some older content, yet can't be found in newer format.

I think I am mistaking it for the other switcher. I am using SPMC most of the time, it is good enough for me (or the internal Kodi player).
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: nagyimre1980 on October 23, 2017, 10:15:05 AM
autoFMTswitch_1.1.4

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu to correct framerate

BUG autoFMTswitch_1.1.4, line 45-47

file: 3840x2160 59,940 FPS
Playback, TV resolution: 3840x2160 30FPS
HDMI 2.0 active!

Wrong:
  if [ "$vhivdisp1" == "3840X2160" ]; then
   vhifreq=`echo $vhifreq | busybox sed 's/59_94.*/29_97/'`
  fi
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: looun on October 23, 2017, 10:30:15 AM
autoFMTswitch_1.1.4

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu to correct framerate

BUG autoFMTswitch_1.1.4, line 45-47

file: 3840x2160 59,940 FPS
Playback, TV resolution: 3840x2160 30FPS
HDMI 2.0 active!

Wrong:
  if [ "$vhivdisp1" == "3840X2160" ]; then
   vhifreq=`echo $vhifreq | busybox sed 's/59_94.*/29_97/'`
  fi

himedia box not support HDMI outout t 3840X2160@59,94
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: nagyimre1980 on October 23, 2017, 10:35:44 AM
autoFMTswitch_1.1.4

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu to correct framerate

BUG autoFMTswitch_1.1.4, line 45-47

file: 3840x2160 59,940 FPS
Playback, TV resolution: 3840x2160 30FPS
HDMI 2.0 active!

Wrong:
  if [ "$vhivdisp1" == "3840X2160" ]; then
   vhifreq=`echo $vhifreq | busybox sed 's/59_94.*/29_97/'`
  fi

himedia box not support HDMI outout t 3840X2160@59,94

and? Better than 60 fps over 30Fps 59,940 files! I think
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on October 23, 2017, 12:15:56 PM
autoFMTswitch_1.1.4

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu to correct framerate

BUG autoFMTswitch_1.1.4, line 45-47

file: 3840x2160 59,940 FPS
Playback, TV resolution: 3840x2160 30FPS
HDMI 2.0 active!

Wrong:
  if [ "$vhivdisp1" == "3840X2160" ]; then
   vhifreq=`echo $vhifreq | busybox sed 's/59_94.*/29_97/'`
  fi

himedia box not support HDMI outout t 3840X2160@59,94

and? Better than 60 fps over 30Fps 59,940 files! I think

Playing 59.940fps to FrcOutRate 60.0 or 30.0 will get frame drop and don't need this patch to be on this situation, just use original HiMedia implementation.

Between @nagyimre1980 you are welcome to improved and share with as yours work.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: JediInlove on November 01, 2017, 07:41:28 AM
Now I use the firmware version 2.0.6.

Can I install this Patch and what patch version i can use ?

after that HiMedia 24Hz setting i should set On or Off ?

Thank you for advice.  :D
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on November 01, 2017, 08:51:56 AM
@JediInlove

Give a try on 4pda users report is working and usefully when use BD menu play options, HiMedia 24Hz setting is recommended to be set ON.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: JediInlove on November 01, 2017, 09:37:03 AM
@pcristi

Thank you  :D
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on November 01, 2017, 11:22:45 AM
@pcristi

So you recommend for FW 2.06 with your Patch the 24Hz Himedia Switch ON ?

I have it off since 2.03 and everything works fine :)
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on November 01, 2017, 02:06:39 PM
Hello @aleister

General recommendation is start with  24Hz Himedia Switch ON and user do a test to get what is best switch ON/OFF from his environment.
FW v2.0.3 is exceptions version where 24Hz Himedia Switch are just half implemented for this reason is recommended 24Hz Himedia Switch OFF with OFW/CFW  and 24Hz Himedia Switch ON for CFW repack of v2.0.3.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Flash3d on November 26, 2017, 12:17:19 PM
@pcristi:

Which line/number I need to change to add some pause when starting a movie?

 #$dispmsp setfmt 0
      setfmt=`$dispmsp --help | grep $vhiplayer | busybox sed -n 1p | busybox sed 's/-/ /g' | busybox sed 's/  */ /g'| busybox cut -d " " -f2`
      $dispmsp setfmt $setfmt && sleep 5 && input keyevent 85 && input keyevent 4
 
My JVC PJ takes about 15 seconds to sync.     
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on November 26, 2017, 09:46:58 PM
Change sleep 5 if need different pause time, don't remove it will increase CPU usage for no benefit.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Flash3d on November 27, 2017, 07:56:46 AM
Change sleep 5 if need different pause time, don't remove it will increase CPU usage for no benefit.

I changed "sleep 5" --> "sleep 15" with notepad ++, ran the batch file again. Seems to run the batch ok cause the player rebooted  but it didn't make a difference, what am I doing wrong?  Using your CFW 2.0.5. btw.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on November 27, 2017, 08:52:38 AM
Change sleep 5 if need different pause time, don't remove it will increase CPU usage for no benefit.

I changed "sleep 5" --> "sleep 15" with notepad ++, ran the batch file again. Seems to run the batch ok cause the player rebooted  but it didn't make a difference, what am I doing wrong?  Using your CFW 2.0.5. btw.

Probably you have HiMedia 24Hz ON, so resolution is switch by HiMedia implementation not script. Please try with HiMedia 24Hz OFF to see if fit your needs.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on November 27, 2017, 09:05:19 AM
Change sleep 5 if need different pause time, don't remove it will increase CPU usage for no benefit.

I changed "sleep 5" --> "sleep 15" with notepad ++, ran the batch file again. Seems to run the batch ok cause the player rebooted  but it didn't make a difference, what am I doing wrong?  Using your CFW 2.0.5. btw.

Probably you have HiMedia 24Hz ON, so resolution is switch by HiMedia implementation not script. Please try with HiMedia 24Hz OFF to see if fit your needs.

Is this how it works: if i turn On the 24p mode in the menu than the patch script will turn Off automatically? Or they just will hitch up and act unpredictable? (CFW 2.0.6).
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on November 27, 2017, 09:39:12 AM
Is this how it works: if i turn On the 24p mode in the menu than the patch script will turn Off automatically? Or they just will hitch up and act unpredictable? (CFW 2.0.6).

To get perfect match between FrcInRate and FrcOutRate for majority of users will be enough to use just HiMedia 24Hz ON.
Some of as need more then HiMedia implemented and will start use this patch witch is recommend to use with  HiMedia 24Hz ON for FW v2.0.6.

@Flash3d ask for different pause time, script can't control HiMedia implementation so for this reason have to set  HiMedia 24Hz OFF, but from set HiMedia 24Hz OFF will get also mismatch FrcInRate/FrcOutRate(ex.video 23.976fps play with FrcInRate = 48.0 --> FrcOutRate = 23.97) witch cause visible frame drop if TV/AVR/Projector not corrected. Conclusion every user have test it and choose what is best fit for him for daily use.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Flash3d on November 27, 2017, 11:24:46 AM
Is this how it works: if i turn On the 24p mode in the menu than the patch script will turn Off automatically? Or they just will hitch up and act unpredictable? (CFW 2.0.6).

To get perfect match between FrcInRate and FrcOutRate for majority of users will be enough to use just HiMedia 24Hz ON.
Some of as need more then HiMedia implemented and will start use this patch witch is recommend to use with  HiMedia 24Hz ON for FW v2.0.6.

@Flash3d ask for different pause time, script can't control HiMedia implementation so for this reason have to set  HiMedia 24Hz OFF, but from set HiMedia 24Hz OFF will get also mismatch FrcInRate/FrcOutRate(ex.video 23.976fps play with FrcInRate = 48.0 --> FrcOutRate = 23.97) witch cause visible frame drop if TV/AVR/Projector not corrected. Conclusion every user have test it and choose what is best fit for him for daily use.

@pcristi, sorry for the confusion but why would we get a mismatch with 23.976fps source when using your script and 24Hz OFF? This behavior is what your script is fixing isn't it?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on November 27, 2017, 12:05:42 PM
@pcristi, sorry for the confusion but why would we get a mismatch with 23.976fps source when using your script and 24Hz OFF? This behavior is what your script is fixing isn't it?

With FW 2.0.6 for this
25 --> 50Hz
30 --> 60Hz
29.970 --> 59.940Hz (1080p only)
fix switch when use BD/UHD Menu.

But you ask for bigger pause so can't have everything with work around by using this script, need HImedia to control from HiMediaVideoPlayer, like Egreat did for EgreatPlayer. Anyway to set bigger pause will get very strange effects on BD/UHD Menu.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Reelyator on January 01, 2018, 07:27:00 AM
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: macsars on January 16, 2018, 12:41:14 PM
"on Version 1.1.4 running on CFW 2.0.6 with 24Hz set to "ON""

Yes... it is working but I have an issue with it from the beginning.

HiMedia supports 10bit color with 50/60Hz
If I start a movie with 23,97* that will set back my previous configuration from 50Hz to 23.97* and downgrade 10bit color to 8bit.

...as I checked it with Planet Earth 4k HDR 10bit (25Hz) - it is working because it has 25Hz originally and it is converted to 50Hz with these FrameRate auto switching (50/60Hz supports 10bit). But with Sully 4k HDR 10bit (23,975Hz) it is NOT working because of this low level FrameRate switch.

Do you have any idea how can we send a 10bit movie with 23,97* to the HiMedia without color downgrade?
THX
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: alec76 on January 17, 2018, 07:17:57 PM
Well, it is nothing to do with Himedia, it is industry standard , any other media box will behave the same.
4:4:4 Color Space support 10 bit at 23,24,25 FPS
4:2:0  Color space support 10 bit  at 50,60 FPS
 IN your case you have to switch to 4:4:4  colorspace in order to get 10 bit Color at 23.9 FPS.
 There is NO  OTHER OPTION  and never will be.
 
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on January 17, 2018, 08:08:34 PM
In my case, 4:4:4 is not available.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: alec76 on January 17, 2018, 08:21:05 PM
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: macsars on January 19, 2018, 11:43:27 AM
Well, it is nothing to do with Himedia, it is industry standard , any other media box will behave the same.
4:4:4 Color Space support 10 bit at 23,24,25 FPS
4:2:0  Color space support 10 bit  at 50,60 FPS
 IN your case you have to switch to 4:4:4  colorspace in order to get 10 bit Color at 23.9 FPS.
 There is NO  OTHER OPTION  and never will be.

Thank you!
It is working... something was wrong with my Samsung TV (but I configure UHD color on the HDMI outputs)... now I checked it with my LG OLED (2017) and it is working fine! Thanks for your feedback! :)
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on January 19, 2018, 11:47:20 AM
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: DMD on January 22, 2018, 07:07:40 PM
Good evening
I'm using the cfw 2.0.4, and I've just installed the auto framerate switching 1.1.4 and when I launch a file, it stops.
To restore normal operation I had to uninstall the patch, I ask if there are any problems with this firmware version.

Thank you
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: porsat on February 10, 2018, 05:29:22 AM
Why this topic is not updated any more?

Actually auto framerate switching 1.2.3 is available: http://www.mediafire.com/file/9scd3gn0xm3r3tc/autoFMTswitch_1.2.3.rar

Here is the Changelog since 1.1.4:

Changelog:

1.2.3
- add back small delay when restore FMT
- add update buybox for Android 5.1.1 FW
- add support for Perfect Player IPTV, Smart IPTV
- set OMX active for XBMC

1.2.2
- add back pause when switch

1.2.1
- bug fix
- set OMX inactive for XBMC, KODI, SPMC, FTMC, EBMC

1.2.0
- version bump to 1.2.0
- fix maybe not activate on U5PVR box
- get fps from *vdec* inside of hiplayer*/fileinfo
- different switch between HiMedia 24Hz ON/OFF
- experimatal add flag for activate for OMX decode (YouTube, Netflix, Kodi, etc.)
-- Edit your /sdcard/autoFMTswitchFlag with notepad++ like that
EX.:
ON
OMX
-- only two lines ON = autoFMTswitch will be use it, OMX = autoFMTswitch use it when OMX decode is active
Note: Don't use OMX option if already have active Kodi-Addon-Hi-Frequency-Switcher addon.

1.1.4
- intial support of beta BD Menu
- fix not switch on/from BD Menu on correct framerate
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: DMD on February 10, 2018, 12:04:37 PM
Thanks @porsat.
What I also ask, because it is not around the first post.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on February 10, 2018, 12:26:52 PM
Some of you are discovery update files on mediafire faster then indent to be on OP.

BTW if still need autoFMTswitch_1.1.4(discontinued)
http://www.mediafire.com/?52m3md9otm5wr6v

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: DMD on February 10, 2018, 01:19:00 PM
As for CFW 2.0.4 and patch 1.2.3 the HiMedia 24Hz setting should be set to ON as CFW 2.0.3?

Thank you
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: razorback on March 23, 2018, 12:32:53 PM
Feature Request:

I am running a Q5Pro with FW 2.07
Just installed the FrameRate Switching Patch but unfortunatelly it does not really do the things I would have liked it to do.

Having an LG OLED 55C6V which plays literally everything you throw at it you can say that this TV definitely knows how to handle all the current available formats and all resolution and scaling settings should be left to this device.

The auto-framerate switching only takes care of the framerate - which is perfectly ok - but NOT of the resolution of the source.
Result:
Setting the display options on the Q5Pro to 1080p ALWAYS produces 1080p (with the correct FrameRate) Output even if the source is 2160p
Setting the display options on the Q5Pro to 2160p ALWAYS produces 2160p (with the correct FrameRate) Output even if the source is 1080p
The result is at least questionnable.

I would like to see a feature like I have on my Sat-Receiver (VU+Solo4K) called "AutoResolution" where I can set the default (Resolution and FrameRate) to any given Value and then tick off all wanted and supported features.
e.g.
default 1080p
if source is 720p then output is 720p with the appropriate framrate of the source, if not selected then default
if source is 1080i then output is 1080i, rest like above
if source is 2160p then output is 2160p, rest like above.

Would this be possible ?



Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on March 23, 2018, 02:13:39 PM
razorback: I have read something, that on Android OS in general, the auto resolution switching is lacking some basic implementation. As far as I know, all of the Android based media players on the market yet, lacks the auto resolution function completely.  It's some kind of Android OS limitation, which I don't know the reason why, but it must be rooted deeply in the OS, so I guess it must be implemented first by the official makers of the Android in general.
 

Or anyone correct me if I've mistaken...
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on March 23, 2018, 04:58:46 PM
But, if Android has so many limitations (auto resolution, hi resolution audio played ad 48 KHz an so on,
why factories continue to use Android instead of Linux?
Kodi on Linux is perfect.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: razorback on March 24, 2018, 09:09:52 AM
oh gods above and below.....what a mess !

So fortunately I have all my movies network attached and can (must) use all my three boxes for playback
- the (linux based) SAT receiver for all recordings requiring autoresolution and correct display of HLG/HDR
- the Oppo 203 set to 2160p for UHD-HDR mkv
- the Q5Pro set to 1080p for BD ISOs (2D/3D)

It is a mistery to me why it is possible to transmit all possible audiotracks as RAW and let the target (TV, AVR) do the decoding but for video it does not work.....
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on March 24, 2018, 10:11:50 AM
Feature Request:

if source is 720p then output is 720p with the appropriate framrate of the source, if not selected then default
if source is 1080i then output is 1080i, rest like above
if source is 2160p then output is 2160p, rest like above.

Would this be possible ?

AutoResolution on Sat-Receiver is much easiest then AutoResolution on media player.
First someone have to make a logic diagram witch define what is source 720p/1080i/1080p/2160p when aspect ratio is not exactly 1.78:1 / 1.33:1.
What is happen with deep color? HDMI 2.0 standard is flexible enough when need 4:2:0/10bit output, this why Zidoo/Egreat prefered 4:2:2/12Bit if display supported.
Did you rely want 720p/23.976 video to play on video output 720p/50  or 60 when screen output is support 1080p/23.976 or 2160p/23.976?
This will happens because are not option be selected as default 1080p/23.976 or 2160p/23.976.
On top of all this to fit majority of users all this need to be flexible and easy to configure because auto mode is not work for all display and will end with black screen.

So for all this for me too complicate, too much free time cost, and too small real benefit for majority of users.
If any one want to take over and try to make it be free to do it.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: razorback on March 24, 2018, 12:27:37 PM
Thank you @pcristi !!

Fact is that I have found out that at least my LG OLED does all necessary scaling/deinterlacing tasks much better than any player or AVR in between.
A Formula-1 broadcast in 720p50 (by Austrian/Swiss/German) providers just looks best when given to the TV in just this format.
Setting the default to the max the TV is able to do (2160p) just looks "shitty".
Same is true for movie-broadcasts (and recordings) in 1080i like from Sky.
and a 1080p23.976 BD does definitely look best when the TV receives it in this resolution, quality visibly degrades when it is upscaled from the player or any intermediate (like an AVR).
and therefore I want to leave these tasks to the device that can handle them best.

Same as for audio tracks.
when I want to have full HD-audio support I can tell the player to deliver RAW digital bitstream to the next device attached and this one would take care of the decoding.
And if the device does not support the codec then it would fall back to what it can do as long as the data in the handshake has the necessary information.
So if I throw DTS-X or Dolby-Atmos on my AVR which does not support these formats it just switches to what it does support - in these cases to DTS-HD-MA or Dolby-TrueHD with the appropriate number of channels respectively.

So why is this option not possible for video ?
What is the problem to offer the option "AS IS" or "RAW" or "PASSTHROUGH" like we have it for the audio streams  and let the TV do what it can better than any player-device ?

So - if it is possible at all - such a video-pass-through option would be a reall goodie for all of us who can make use of it and should be selectable at own risk.
You would not have to take care of all the oddities caused by silly encoding parameters all too often found in dubious mkvs (as can be seen in a lot of postings here.....)

The question for me still is if it really is Android-dependent and we have to take it or if something can be done about it......

PS:
The OPPO 203 has this feature, called
"Resolution: as Source"
but of course I don't know which operating system they are using.....

Unfortunately it does not play ISOs which for framepacked 3Ds is a must......
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on March 24, 2018, 02:05:35 PM
razorback: I have also read suggestions here a couple of times that the best is to leave the uspcalling to the TV. ->At least in the case of these media players.  I don't know if other Boxes, like Amlogic with LibreElec do it better or not, but I've read some opinions recently that with a HTPC you can produce even better upscalling PQ than many TV would do.  But maybe you would need a relatively stronger videocard, like an RX560, or safer to say an RX570 with 4-6GB VRAM to reach this quality, cause this is still a very resource-intensive task. So, maybe it won't be a cheap solution.  I'm still not sure about the 4K capable Intel IGPs tho'.

Auto resolution switching should work on any modern HTPC as well.

I'm already looking forward for the next generation Intel NUCs or other integrated IGP solutions from Intel, or any possible, payable HTPC option. 


(Oppo has it's own OS developed (rather would call it just "firmware"), but you can get CFW for Oppo that can also play BD ISO files.)
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: razorback on March 25, 2018, 11:48:56 AM
@mount81
the CFW-Option for the Oppo is no option at all.
paying money for a piece of software which does not allow you to revert back to any original firmware if something goes wrong is just a no-go!
To brick a box as costly as the Oppo is too much a risk for a feature already perfectly accomplished by the Q5Pro.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: granger13 on March 29, 2018, 07:32:19 PM
Will this patch work for less reoslution than 1080p?
eg. for 720p or 576p will it change 25 to 50  and 30 to 60?

Thnaks
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: granger13 on April 02, 2018, 10:23:32 PM
i have a serious problem with 59,94fps movies. Sometimes the autoframerate works and dipslays the movie as 24p(i guess it is interlaced) and more frequently it changes to 60hz and the audio is 5 seconds behind!I have the lataest framerate and 2.0.5 firmware.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on April 03, 2018, 07:43:03 AM
granger13
Look like you are taking about NTSC DVD please try Kodi and Auto framerate switching for KODI to get better play.
HiMediaVideoPlayer is rely mess DVD format start with v2.0.3 firmware.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: granger13 on April 03, 2018, 07:48:09 AM
Thank you.
I do not want to use kodi.If i drop below 2.0.3 firwmare will the problem be fixed?if so how can i downgrade?Maybe  the custom firmware will solve my problems?

Also i cannot use kodi because all my movies have '#' symbols and they cannot be played......! i cannot rename them because the folders are being used by other media players in other rooms and also  i cannot rename 800 titles...!

As you can see i cannot play neither kodi at all, and a 30% of my movies are dvd ntsc and cannot play them with himedia player.....it is frustrating!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: granger13 on April 03, 2018, 01:29:08 PM
For the record i just tested 1.3.2 framerate.The problem with 59,94 fps movies remains the same .audio totally out of sync and now it pauses every 2 seconds.

So, please inform me if a different firmware (eg below 2.0.3) will solve the problem or i must return or the sell the media player.....

Thank you
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on April 03, 2018, 02:07:42 PM
autoFMTswitch_1.3.8

1.3.8
- add flag for not switch resolution
- RUN_ME.bat improved and some more options
- Many thanks to everyone for testing/feedback

1.3.7
- more bug fixed
- removed pause/play actions
- fix not switch from 1080p to 2160p on videos clip collections

1.3.6
- bug fix

1.3.5
- version bump
- mediafire did some strange things

1.3.4
- add force 12bit with BD Menu
- fix original space and deep color not always restore
- remove some delay for befor swtich command

1.3.3
- fix not force 12bit if HiMedia 24Hz ON

1.3.2.1
- void strange height calculation

1.3.1
- fix 720p/59.94, 1080p/59.94 not auto swtich from 2160p output
- fix continue trying switch for 720p output when already 720p output
- force 720p/23.976, 720p/24 to 1080p output if display supported

1.3.0
- add experimental auto switch resolution
- doesn't follow deep color for moment

Download mediafire (http://www.mediafire.com/?9scd3gn0xm3r3tc).

Note:
- It so possible to end with black screen, wrong deep color, wrong resolution, etc., if this happens try use w/o resolution switch new option  available on v1.3.8 on this case will run closer to old v1.2.3.

BIG thanks for users from 4pda witch have nerves for help with test.
Many thanks to all others for testing and feedback.
All feedback are welcome.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on April 03, 2018, 02:20:34 PM
granger13
What are your box output resolution/deep color/color space settings?
What is format of file witch you playing? I can't continue to guessing.

Anyway if you play NTSC DVD this script will not help you. Try to play NTSC DVD with HiMedia 24p OFF and with AFR possible to get audio on sync.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: granger13 on April 03, 2018, 05:07:51 PM
thank you pcristi for your answers.
i installed custom 2.0.7 with afr and for now they play fine.Hope thats solved.
the problem with kodi persists, cannot play any file from nfs or smb with wrapper.is the # letters the problem?can it be solved?
also smb in media centre says network error.(smb on kodi reads the files,and i have no password on smb).thanks again

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on April 07, 2018, 08:36:44 PM
I have a question about the benefit to double the frame rate (eg. from 25 to 50) if the TV I have has the frame interpolation activated.
If the mediaplayer sends at 25 frames/sec. the TV creates frames to "fluidify" the stream but if the TV receives 50 frames/sec. I should lose this feature.
Is it correct?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on April 08, 2018, 05:55:17 AM
I have a question about the benefit to double the frame rate (eg. from 25 to 50) if the TV I have has the frame interpolation activated.
If the mediaplayer sends at 25 frames/sec. the TV creates frames to "fluidify" the stream but if the TV receives 50 frames/sec. I should lose this feature.
Is it correct?

I don't know much about how your TV works, I simply write here my own experience: tested with SD DVD 25fps interlaced video and the "motion resolution" (Quality) was much better on 50Hz, than with 25Hz. Simply set it manually and test it by your self.  My TV also has interpolation, but I guess this doesn't justify for the loss of every second frame the player drops because of the half fps. With 50Hz output it will display all the 50 "real frames" and not just the half of it. Much more fluid motion is the result.

But with 1080p MAFB interlaced videos (these are just partially interlaced) I didn't detected any difference between 25 and 50Hz in the motion resolution. Maybe these were just exceptions in some way.

And I also din't detected any PQ loss on 25Hz, I guess the player does the correct deinterlacing nevertheless even on 25Hz.

(I don't use the patch BTW, I always set 50Hz manually before playback.)
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: mihailuican on April 08, 2018, 07:11:00 AM
Good evening
I'm using the cfw 2.0.4, and I've just installed the auto framerate switching 1.1.4 and when I launch a file, it stops.
To restore normal operation I had to uninstall the patch, I ask if there are any problems with this firmware version.

Thank you

Hi everybody,
here too whenever any video starts, it pauses, stops and eventually plays after that, thing to which I got accustomed in the end.
My problem is that AFTER the file ends, either at the very end and auto-stop (one single play mode), OR if I play "Back" repeatedly (2 times) the video playback DOES NOT STOP...  It starts replaying the same file , or plays another random file, in a weird loop... Sometimes I manage to fully stop by repeatedly pressing (many times) Back button, sometimes I have to power down the whole player.
Does any of you have the same issues? I am on official 2.0.8 but this always happened to me, regardless if on official or custom firmware.
Solution - if I remove the patch this weird behavior stops and playback/stop are prompt ans smooth again.
So I removed it, permanently until I find a solution.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on April 08, 2018, 10:37:02 AM
@mihailuican

AFR script not need for majority of users, HiMedia implementation of 24Hz ON fit a general usage.
Thanks for reporting your rely bad situation with scripts going wrong loop, will see how to add limit times of switching.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on April 12, 2018, 08:58:07 AM
Opening post updated to reflect new 1.3.8 version with auto resolution switching. Instructions and usage guide re-written.

All feedback welcome regarding the patch itself and improvements to usage instructions.

Massive thanks to pcristi for writing the script.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: DMD on April 26, 2018, 10:53:33 AM
Good morning
I noticed that it was released autoFMTswitch_1.3.9.1
https://www.mediafire.com/?kvlryqpyzcac3
I ask if I can install it on FWC 2.0.4.

Thank you
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on May 01, 2018, 01:35:03 PM
The update procedure "- For update just run_me.bat with new version" didn't work. I had to uinstall and install again in order 1.3.9.1 to work.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: MrSed on June 18, 2018, 10:25:53 AM
Hi all,

is it possible to modify the script somehow to run different framerates for the digital and analog video output?
To keep my Ambilight Hyperion setup running the video grabber needs 50/60 Hz. The Q5 Pro (FW 2.0.8) disables the analog Output while having 24p which is most likely related to the PAL/NTSC Standard.  Watching 24p movies with 50/60 Hz is not acceptable.
To abandon Ambilight would be pretty sad.

Has someone the same problem and could solved it?

Thanks for help.

Regards,
Marc
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: razorback on July 09, 2018, 06:33:43 AM
thank you @pcristi for providing the Autoresolution feature but unfortunately it does not work for me.

Installed Version 1.3.9.1 and tried some of my recordings in 720p50 and 720p25
all of them played back as 2160p/50 and /25 respectively.

My settings are custom screen 2160p50 and Colorspace 4.2.2
I suspect that this might be the reason.

So which settings are appropriate for AutoResolution to engage properly ?

PS: Original Firmware 2.0.8, 24p Option set, BD-Menus installed

running RUN_ME.bat from Win10 Powershell(Administrator) reported
daemon not running
daemon connected to IP:5555
rebooting (and the box did reboot)
but did not come back to the initial selection, I had to close the commandprompt hard.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: maelor on July 23, 2018, 07:24:13 PM
OK, the inevitable question ... do I need to install auto framerate switching on the new 2.0.9. operating system????
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: futeko.com on July 24, 2018, 10:10:50 AM
OK, the inevitable question ... do I need to install auto framerate switching on the new 2.0.9. operating system????

The pcristi additional auto framerate / auto resolution patch will never be integrated into official firmware. It's an unofficial patch.

So yes it needs installing.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: maelor on July 24, 2018, 01:40:14 PM
OK, the inevitable question ... do I need to install auto framerate switching on the new 2.0.9. operating system????

So yes it needs installing.

Thanks. Installed.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: rebelltl2012 on August 03, 2018, 07:26:17 AM
just to say...

i had tried the script autoFMTswitch 1391 with 208 firmware, OFW.

while the auto resolution (and frame rate) works, i got flickers and dropped frames when doing 4k HDR.

installed firmware 209, tried again - all is fine, working the way expected it to.

i do not know if 209 vs 208 firmware made the diff or if it wasn't installed properly the first time.

excllent work, thanks to pcristi and futeko!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: algernon2607 on September 07, 2018, 07:02:54 AM
Bonjour

What is th difference between option 1 and option 2 on autoFMTswitch 1391 ???

Thanks

Al

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on September 07, 2018, 08:15:28 AM
@algernon2607
Option 2 is intend to pause video for 4 second usefully if ARV is switching slower.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: algernon2607 on September 07, 2018, 07:53:08 PM
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on September 08, 2018, 04:47:20 AM
OK, the inevitable question ... do I need to install auto framerate switching on the new 2.0.9. operating system????

The pcristi additional auto framerate / auto resolution patch will never be integrated into official firmware. It's an unofficial patch.

So yes it needs installing.

So why didn't take this HiMedia and refine for integration in to their OFW? I would be much happier with an all-round issue free official solution, than with risking with semi-working unofficial solutions and "workarounds". Maybe it would worth to report to them, that there's a an initiative patch all ready for them to something to begin with and request also to do so. 50 and 59.94Hz auto switching for interlaced/DVD's is still a big deficiency of these Players. F-U-N-D-A-M-E-N-T-A-L feature since ages in dedicated media players.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: algernon2607 on September 09, 2018, 08:40:12 AM
Hello

I have no resolution switching with afr 1.3.9 and 1.3.9.1 on ATV 2.9.2 and 2.9.3 . I must oblige to dowgrade to 1.3.8.2 (i dont have 1.3.8.3).
Framerate is OK.
In all case the autoFMTswitchFlag file is correct :
ON
OMX
RSL

Thanks for some explanations.
Al
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on September 09, 2018, 11:15:14 AM
@algernon2607
Fixed
autoFMTswitch_1.3.9.2 on mediafire (https://www.mediafire.com/?9scd3gn0xm3r3tc)
Thanks for reported.

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: algernon2607 on September 09, 2018, 12:02:07 PM
Bonjour

@pcristi :
Tested on ATV 2.9.3 : all is Ok for me in this moment.

Thanks very much..

Al
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: rebelltl2012 on September 14, 2018, 01:29:55 PM
@algernon2607
Fixed
autoFMTswitch_1.3.9.2 on mediafire (https://www.mediafire.com/?9scd3gn0xm3r3tc)
Thanks for reported.
hi pcristi,

re my last post aug 3, i managed to get auto res with OFW 209 and 1391 patch.

but it failed to work after some time.

tried with new 1392, still same, can't get it back.

i must hv missed something... what might that be...?

thanks.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: jcp2 on October 06, 2018, 08:47:13 PM
Does this patch fix the 24hz stutter problem with 3D 23.976hz  ISO's ?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: fuschnick on October 07, 2018, 06:36:24 PM
Quote
Does this patch fix the 24hz stutter problem with 3D 23.976hz  ISO's ?
No. Use a PC for bug-free Blu-ray 3D playback.

Or wait and hope for the next cheap Chinese android device.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: jcp2 on October 07, 2018, 10:11:20 PM
 :( Thanks for the reply.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on October 14, 2018, 11:45:21 AM
Oh Post was first in Kodi Thread ;) Sorry



Hi

I have a very strange Problem with your Patch and Youtube App v2,  Version: 2.03.06 ( same with older Version)

My Panasonic UHD is set to 2160p 60hz without any other Problems

All my Movies from 720p 50hz up to 2160p 24hz HDR10 works perfect so far with Himedia Decoder in Kodi oder Himedia Player.
Framerate ans FPS changes fine.

But the Youtube App with makes Problems with Framerate Switching.

When i start a 60hz Clip the AutoFMT Patch comes in and sets the Framerate down to 30hz so it stutters a lot.

And very confusing is that the Q10 Pro Display Option shows suddenly 4096x2160 60hz ( But in Fact Output is still 2160p 30hz as i see in TV and AVR OSD)

With a 30hz Clip the Framerate switches up to 60hz

Doesnt make a Difference if i set Option 6 in your Patch to disable Resolution switching

So heres a Problem with Framerate Switching in Youtube App , 60hz should stay at 60hz
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on October 14, 2018, 05:10:42 PM
And very confusing is that the Q10 Pro Display Option shows suddenly 4096x2160 60hz ( But in Fact Output is still 2160p 30hz as i see in TV and AVR OSD)

The HiMedia Player info always shows only the video source data, not the actual output. 

But it's strange that it "stutters", as 60 is integer divisible with 30, so it at most should show only less fluidity in motion, but no actual "stutter".  But correct me if i'm missing something...

Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: aleister on October 15, 2018, 03:47:41 PM
Yes, "stutter" is the wrong word, youre correct, ist not fluid in Motion :)

When i disable the Patch and set it to 2160 60hz Youtube works perfect
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: kodi08 on October 28, 2018, 06:41:10 AM
Hi pcisti, I recently installed CFW v2.1.0[1.3.1] - trying to install the auto frame rate switching does not work, reboot after install ist working but it does not switch resolutions.

It shows me:
Code: [Select]
+++    6    Force only resolution switching OFF flag script          +++
+++    7    Change adb IP-Adresse:  192.168.178.40                    +++
+++    9    Reboot Media-Player                                      +++
+++    0    Exit                                                     +++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++  Note: Start testing with HiMedia 24Hz set ON, for best result.  +++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please make your decision:1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++                         Start copy file                           +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cannot stat 'autoFMTswitch.sh': No such file or directory
chmod: /system/etc/autoFMTswitch.sh: No such file or directory
chown: /system/etc/autoFMTswitch.sh: No such file or directory
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++          Force framerate/resolution switching script ON           +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++                     Reboot device                                 +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Any ideas?

UPDATE: After entering all commands from the .bat file manually at command prompt - everything works...  ;D
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on October 28, 2018, 11:49:04 AM

Any ideas?

UPDATE: After entering all commands from the .bat file manually at command prompt - everything works...  ;D

This problems can happen if you try to install with Run as administrator and not just simple double click on RUN_ME.bat.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: wireframeman on December 18, 2018, 02:25:30 PM
Hi,

Is there a way to get older versions of the patch. The actual 1.3.9.2 does not work for me correctly. Has anybody an older version for me. On this Site i only get the newest one. Tranks a lot. Sorry for my Bad german English.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: algernon2607 on December 20, 2018, 04:08:03 AM
Hello
@Pcristi , with Afr 1.3.9.2 and ATV2.10/CFW2.10v1.5 , i have black screen at the end/stop of reading a file.(I must reboot the Q10 pro).
This often happens when the file is in 25/50.
Settings : 4k60 , 422-12 bits , HDMI adaptation ON , Afr option 2 .

Same thing when i try afr 1.3.9.1 and 1.3.9.

Ready to test more with your help.

Al
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pigx on January 09, 2019, 09:19:29 AM
Hello everyone, I'm a Q10 Pro 4K owner with the latest original firmware, I installed the patch, the mediacenter with my oled 4K Panasonic FZ800 shows me movies in 4K at 24hz while movies 1080p at 50hz, the option is active in settings, all this is normal? Thank you

Edit....

Problem solved, the HDMI output of my Marantz was set to 1080P
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: rikioh on February 26, 2019, 04:46:56 PM
does this patch also work with the Dinobot U5Mini Box? Cause i have the problem with 4:2:2 only output to 8bit and not 12bit...
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: rikioh on March 01, 2019, 03:29:42 PM
so, i have tested it, and it does work... however, it is much slower  in switching the frame rate and sometimes i have to reboot my box cause when i end the playback, it goes to a weird flicker screen...  :-\

is it also possible to only get 12bit output, without the framerate patch?
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on March 01, 2019, 08:49:12 PM
It's really a shame on HiMedia, that they didn't implemented interlaced video freque switching AT ALL, and thus to force unsuspicious users to use such halfy solutions like this. IMO, better stuck with manual switching and uninstall any questionable "workarounds". 

What I really think is what HM is -or ever was- doing instead of development, is just sitting on their nuts in the office and looking out of their head with black gummy worms slinging out of their mouths, while watching endless Chinese fashion shows on the teli.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Santos on March 14, 2019, 09:01:16 AM
The newest patch wirh the newest official  Q10 firmware does not work. I Got always black screen when im playing a video,  then  i have too reboot my Q10 pro.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Santos on March 24, 2019, 04:46:37 AM
anyone have an idea how to fix the stuttering bug?
 

Q10 pro

FW 2.1.1 


Wrapper
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Cyberaya on March 27, 2019, 09:46:47 AM
Hello, I got a problem.

Q5 OFW 2.1.1
My tv is sony 65x900f.  Hdmi 2, "HDMI Enhanced mode " enabled.
Output 2160p / 60hz / ycbcr 420 10bit.

After I play a 24hz stream video and close it, ( use this app https://drive.google.com/open?id=16ZEICeRAItHDi7AUU3LNYuFcD95KfTKF (https://drive.google.com/open?id=16ZEICeRAItHDi7AUU3LNYuFcD95KfTKF)) ,
then  play another 60hz stream video ( use this app https://drive.google.com/open?id=1Yi2A-r5UDeLR3XJT58y_jRVmkcbxOSAz (https://drive.google.com/open?id=1Yi2A-r5UDeLR3XJT58y_jRVmkcbxOSAz) ),
Output will switch to 30hz.

I am very sure that my HDMI is run as 2.0, I can choose 4k60p yuv444 8bit / 4k 60p yuv422/ 4k60p yuv420 10bit in settings.
Very confused.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: LeoeL on March 28, 2019, 07:33:38 AM
CFW 2.1.1
1.3.9.1 it works
1.3.9.2 it doesn't work
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: pcristi on March 29, 2019, 08:02:00 AM
@LeoeL
Thanks for feedback.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: ozzyboy on June 07, 2019, 10:35:05 PM
OK...how can I verify if this patch it's functional...
Actually I run as administrator the .bat file then I've pointed to tvbox ip address, then chosed 1, and nothing happend. also i've tried with 9 to restart my player to see if comunicate with tvbox but also nothing... what is the problem?
Do I need this patch on CFW? or cfw has already in it?

L.E. I'm doing something wrong? because I didn't get the restart... My pc and tvbox are in same network , all devices conected to a switch on my little home network.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: kodi08 on June 10, 2019, 01:36:57 PM
Actually I run as administrator the .bat file...

Patch is not working in administration mode - start normal by double-click.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: ozzyboy on June 15, 2019, 01:04:54 PM
Thx ... it works!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: adiyen on September 03, 2019, 03:47:43 PM
- HiMedia 24Hz setting (Settings - Playback) must be set: ON for best results on FW 2.0.3 and later.

i con't find the setting in playback.


Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on September 04, 2019, 11:30:40 AM
- HiMedia 24Hz setting (Settings - Playback) must be set: ON for best results on FW 2.0.3 and later.

i con't find the setting in playback.

In the latest FW you can only set this during Playback in the HiMediaPlayer menu.

(One of the main reasons why i still stick with the previous FW). 
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: sherakin on December 06, 2019, 10:00:14 PM
Hi,

fmtswitch is not working anymore for me and i dont know why..

First my setup:

Himedia Q10 Pro
CFW 2.1.4 from moere22
fmtswitch in his latest version: 1.3.9.1

The fmtswitched worked a few weeks ago like everytime. Someday fmtswitch was not working anymore. No fps switching, no resolution switching. All these things worked for me a few weeks ago. I thought: No problem, i will install it again, but its not working anymore.

What i've tried until now:

Uninstall the patch with uninstall.bat
Uninstall the patch in command prompt
Install the patch with 1 in command prompt
Install the patch with 2 in command prompt
Tried the option "Forced on"
Tried to install from another pc

All these things i've tried several times.

Nothing works. The command prompt works as it should without any error messages.

Any ideas? I dont want to flash the FW again :(

Thanks for any help and sorry for my bad english :)

Regards!
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Tex Texan on June 22, 2020, 03:40:59 PM
Thanks for feedback.

@pcristi

I'm currently running your firmware here on my Q10 - https://www.futeko.com/newforum/index.php?topic=812.msg30781#msg30781

Do I need this auto framerate switching patch or does your build already do this if set in settings? I currently have it turned on (have not flashed patch) and it appears to be working ok although sometimes while watching video in default player the screen will temporarily turn black for 2 seconds then resume.

Thanks.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: atkinsom on June 22, 2020, 04:04:55 PM
I installed this firmware and it works great without any frequency patches on my system. It doesn't come with this particular patch preinstalled as the only patch that is pre-installed is the KODI version Hi-Frequency. Regardless I haven't enabled any patches and so far works like a charm...I even have 24hz turned off in the HI-Media settings as it works better with it turned off. As a side note I'm running a 5.1 system with a non 4K TV. Nothing fancy but it works well with my 12 year old Sony Home Theatre Receiver.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: Mount81 on July 12, 2020, 05:32:00 PM
I currently have it turned on (have not flashed patch) and it appears to be working ok although sometimes while watching video in default player the screen will temporarily turn black for 2 seconds then resume.


It could be a symptom of when the integrated patch switches frequency rapidly back-and-forth for some unknown reason. Have myself experienced some similar with some older CFW, but that happened only at the very beginning and the end of the video playback back than. So it could be entirely different stuff, but I would still keep on be aware of it because of the sake of the health of the display.
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: DMD on August 23, 2020, 08:11:07 AM
Good morning
I have never used the patch and wonder if it works with the OFW 2.1.6
If it doesn't work however, I have to set "ON" in the section
PlayBack> Frame rate adaptation?
Thank you
Title: Re: [PATCH] More auto framerate switching - HIMEDIAPLAYER
Post by: jxupi on February 21, 2021, 08:18:28 PM
I've just installed the last CFW from pcristi.
is it necessary to install the patch or does it come with the CFW?