Jump to content

Welcome, Guest!

Be a part of CinemaVision today! Once registered and logged in, you will have access to public chat and your own private messenger, you can view and contribute guides, collaborate on the forums, review downloads, give reputation to your fellow members, contribute content and so much more. Registering is quick and completely free, so what are you waiting for?
   Sign In    Sign Up

Become a RedCarpet Club Member Today!

   Join Now
mguebert

Refresh Rate hold

Recommended Posts

I have a request based on my specific configuration. I have a JVC projector and unfortunately JVC projectors a slow to lock into a signal when the refresh rate changes. So in Kodi I have it set to change refresh rates for content mainly to eliminate judder on 1080P/24 content. What this leads to though is missing chunks of the sequence videos and trivia. For the short ones you miss it completely. The only cure so far is to lock it to 1080p/60 which leads to judder.

 

Is there anyway to get CV to freeze the refresh at 60hz during the sequence and then release for the main feature?

 

Thanks for a great addon

Share this post


Link to post
Share on other sites

We can't force a refresh rate, unfortunately. Kodi handles all of that and it just adjusts automatically. There's an expert setting in Kodi to Pause for refresh rate change that might help you out. It will allow you to put in a custom value that matches the amount of time it takes for your projector to switch refresh rates. At least that way you won't miss any videos or trivia. It's possible that we'll be able to do this with future versions of Kodi's core media player, but we'll have to see how all of that pans out.

 

Share this post


Link to post
Share on other sites
On 11/15/2015 at 4:23 PM, mguebert said:

Is there anyway to get CV to freeze the refresh at 60hz during the sequence and then release for the main feature?

Yes, I do it with my projector. All you need to do is simply insert a CV action file at the very beginning of the sequence to disable "Adjust Display Refresh Rate" and then insert a CV action file just before the main feature module to enable it. You can download both CV action files here. Save them to your CinemaVision --> Actions folder.

To disable the refresh rate sync, insert a CV action and point to the file called "Kodi-DisableRefreshRateSync.cvaction" which contains the code below. Note: You'll need to edit the file (I recommend Notepad++) so that it matches the IP address of your device (which you can find on KODI's Info screen) and port of your device (found in System --> Services --> Web Server). In my case, for example, I need to use http://192.168.0.110:8080/jsonrpc for one device and http://192.168.0.114:80/jsonrpc on another:

 

# Turn off refresh rate sync

	http://<your-ip>:<your-port>/jsonrpc

	{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "videoplayer.adjustrefreshrate", "value": 0}, "id": 1}
 

To enable the refresh rate sync, insert a CV action and point to the file called "Kodi-EnableRefreshRateSync.cvaction" which contains the code below. Edit this one as well to match your IP address and port:

 

# Turn on refresh rate sync

	http://<your-ip>:<your-port>/jsonrpc

	{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "videoplayer.adjustrefreshrate", "value": 2}, "id": 1}
 

Save your CV sequence.

Tip: Go into KODI's settings and ensure "Adjust Display Refresh Rate" is enabled first before playing the CV sequence, otherwise the sequence could fail with a CV action telling KODI to disable the refresh rate sync if it's already off. Once you've made sure it's enabled, reboot KODI for good measure and then try running the sequence. It should play all video bumpers and trailers seamlessly at the default 60Hz without interruption and then switch to 1080/24p for the main feature. It'll take a few seconds of course as the projector syncs up with the video, but that can't be changed. I have KODI set to pause for four seconds while syncing so that I won't miss much of the studio logo at the beginning of the feature.  Good luck!

Edited by MidnightWatcher
Added port info
  • Like 1
  • Upvote 3

Share this post


Link to post
Share on other sites

This works awesome, keeping the refresh rate at 60hz for the cV script and when the feature starts the refresh rate moves to the native film rate. Thanks so much.

  • Upvote 1

Share this post


Link to post
Share on other sites

For some reason when I go to select an action file, it only lists repository sources. I cannot point the action to the cv action file on my local drive.

Edited by theabbot

Share this post


Link to post
Share on other sites
5 hours ago, theabbot said:

For some reason when I go to select an action file, it only lists repository sources. I cannot point the action to the cv action file on my local drive.

Make sure that you've added the location of your CinemaVision content directory as a source in the Kodi File manager. :)

Share this post


Link to post
Share on other sites
12 hours ago, Ragnarok said:

Make sure that you've added the location of your CinemaVision content directory as a source in the Kodi File manager. :)

I have added it, but it does not show up in the list of available sources when I try to edit an action. There must be something obvious that I'm missing. :)

Share this post


Link to post
Share on other sites

Hi, could you help me out and clarify some things?

What im a doing wrong?

This is the code I'm using:

(doesnt matters if im using the real ip or 127.0.0.1 still getting the same results.

 

# Turn off refresh rate sync
http://127.0.0.1:8080/jsonrpc
{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "videoplayer.adjustrefreshrate", "value": 0}, "id": 1}

And I added the action file from the folder called Cinema as a source in the file browser.

At last i added the action in front of the starting intro file.

1. in Kodi settings which one are you using? or doesn't it matters?

image.png

 

2. do we need this port? cause i cant find web like you stated before other than this

image.png

 

this is the result with port 8080 (that is the default json port in kodi these days)

 

But it still doesnt change anything... it keeps refreshing between all videos... :(

less_info.png

 

Edited by IIIdefconIII

Share this post


Link to post
Share on other sites

You can set the refresh setting however you prefer, I have mine set to on start/stop. The only thing I noticed is that you changed the Kodi username and password for web control. That could be the issue.

Share this post


Link to post
Share on other sites
2 hours ago, mguebert said:

You can set the refresh setting however you prefer, I have mine set to on start/stop. The only thing I noticed is that you changed the Kodi username and password for web control. That could be the issue.

it was that issue, ty

  • Upvote 1

Share this post


Link to post
Share on other sites

Older thread bump.

 

I have this working well for 2D sequences but for 3D the projector wants to refresh for every video. Is there a solution for 3D?

 

Also, when the projector refreshes for the feature in 2D and the handshake  between projo and HTPC through the receiver happens the KODI OSD shows up and is annoying for 5-10 seconds. Can this be resolved somehow?

Share this post


Link to post
Share on other sites
On 5/21/2018 at 12:27 AM, DavetheMinion said:

Older thread bump.

 

I have this working well for 2D sequences but for 3D the projector wants to refresh for every video. Is there a solution for 3D?

 

Also, when the projector refreshes for the feature in 2D and the handshake  between projo and HTPC through the receiver happens the KODI OSD shows up and is annoying for 5-10 seconds. Can this be resolved somehow?

Unfortunately, there's not a solution for that yet. We're toying with replacing the dummy video bumpers (that we insert between videos) in a future release to help with the refresh rate change but we've found that our choices are limited due to Kodi not supporting other formats. We still have some tricks up our sleeve, and hopefully one of those works reliably so we can put it in a future release and solve this issue for good.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines and Terms of Use.