Automatic Refreshrate Changer (2 Viewers)

Palm_Maniac

MP Donator
  • Premium Supporter
  • June 1, 2005
    1,238
    215
    Gießen, Hessen
    Home Country
    Germany Germany
    Hi,

    2009-04-13 21:52:02.562343 [Info.][MPMain]: g_Player.Play(X:\Filme\The Dark Knight.mkv Video)
    2009-04-13 21:52:02.562343 [Info.][MPMain]: RefreshRateChanger.AdaptRefreshRate: unable to guess framerate on file X:\Filme\The Dark Knight.mkv
    2009-04-13 21:52:02.562343 [Info.][MPMain]: RefreshRateChanger.SetRefreshRateBasedOnFPS: no refreshrate change required. current is 50hz, desired is 0

    i have found an entry in Configuration.log "PluginsNew: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\MediaInfo.dll has a bad image format". Is that the reason for the problem that the refreshrate change not function? Was is a function version of mediainfo.dll? I have the newest one from the Internet. The Version in MP1.0.1.0 does not function also. Can someone send a version, which functions to me?


    Thank you for your help,

    Palm_Maniac
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    12NOON DC might not work correctly with nvidia cards. At least on two rigs of mine it does only change the refresh rate if the resolution changes as well. Just calling it to set the refresh rate to 50HZ or 60HZ (while using 720p) will not do anything after the first change. The force option doesn't seem to help either.

    Thats weird. Do you have the desired refreshrates progamed in your NVidia control panel? I think I remember something about that you need to have the desired profile saved befor you can use/call it with an external program. Dont know for sure about this though.
     

    Fredd_1001

    Portal Pro
    October 28, 2007
    79
    0
    Almere
    Home Country
    Netherlands Netherlands
    some countries/providers give 24p signals. So you can specify it here. Also, I dont think the TV signal is scanned for the framerate information. I could be wrong here.


    Can I asume you left Action blank,like the recommendation?
    From what you write, I get the feeling the playback of the media starts a liittle too soon after switching.
    Try selecting "use device reset." If this doesnt work, give 12NOON DC in combination with Wait.exe a try.

    Good luck

    Yep Action is left blank. Selection of "use device reset" allso doesn't help.
    How is the difference made between Tv en and PAL? :confused:


    Do I need to make profiles in ATI CCC? Or should it work out of the box?

    The exact details on how TV direct draw boxes work I dont know. I dont know if they are read by the mediainfo.dll library file.
    You do not NEED to make profiles.
    You can choose use the 12NOON DC program to change resolution. (I suggest you try this first + wait.exe)
    Or you can choose to use Powerstrip, or even ATI CCC profiles.

    For a more details about how to do this, see THIS post.

    I've tried to do refreshrate switching with 12noon. Created three batch files for 24,25and 50Hz. When I directly call one of these batchfiles from explorer, it works like a charm. But when I try it from within Mediaportal, then I have the same issues as before! Switching to 50 or 24 works, but to 25 for TV doesn't :confused:
    I will allso get some logs from my system tonight and place them overhere.
    Cant get them now (WAF) :D
     

    Estranged02

    Portal Member
    April 15, 2009
    6
    0
    Home Country
    Russian Federation Russian Federation
    I think this is a codec issue. Are you using DXVA or software decoding. I notice the same when using MPC video decoder + dxva. With software decoding I do not notice it. This also might explain why you dont see it with DVD's Other codec is used then.

    Has tried yesterday with ffdshow once again. You were right, with it brakes and artefacts are not present. Thanks for the help. It is a pity that with DXVA it does not work properly.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    I think this is a codec issue. Are you using DXVA or software decoding. I notice the same when using MPC video decoder + dxva. With software decoding I do not notice it. This also might explain why you dont see it with DVD's Other codec is used then.

    Has tried yesterday with ffdshow once again. You were right, with it brakes and artefacts are not present. Thanks for the help. It is a pity that with DXVA it does not work properly.

    Well, technically it works, it just has a false start. When DXVA is officially supported in SVN's, this will probably be ironed out with bugfixes. In the mean time, I just skip 5 seconds after starting....

    I've tried to do refreshrate switching with 12noon. Created three batch files for 24,25and 50Hz. When I directly call one of these batchfiles from explorer, it works like a charm. But when I try it from within Mediaportal, then I have the same issues as before! Switching to 50 or 24 works, but to 25 for TV doesn't :confused:
    I will allso get some logs from my system tonight and place them overhere.
    Cant get them now (WAF) :D

    Err... why don't you use 50 hz instead of 25 hz for TV. 25x2=50. You will not see a difference.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    I did some work in Excel.

    Would anyone like to use this thing? Its a sheet where you can select Input modes your TV can handle. The output is what you should/could fill in @ the configuration screen.

    If there is a demand for it, I will post the excel file.

    See screenshot:
    attachment.php
     

    Attachments

    • Excel TV Modes.png
      Excel TV Modes.png
      50.1 KB

    Aurora13

    Portal Pro
    November 2, 2006
    90
    12
    Hi edterbak,

    Nice job, only one little mistake:

    1080i60 is 30 FPS and not your mentioned 60 FPS.

    Just my 2 cents! :)

    PS offcourse we are interested in posting the excel file! :D
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Corrected. :D Thanks

    I will run throug it tonight and post it here. Any and all suggestions are welcome. I not a guru with Excel, so things can probably be better.


    -----------------edit-----------------

    I updated the my post. I also included a ZIP file with the Excel document for a sort of a tool.

    TV MODES TOOL (zip)
     

    Seeco

    Portal Pro
    October 15, 2007
    241
    7
    Linköping
    Home Country
    Sweden Sweden
    I have to say that the integrated version of the refresh rate changer (as of MP 1.01) is working very nicely for me. Before I have had a problem with videos always starting from the beginning when the refresh rate changes (i.e. no resume when going from 50 to 24 Hz). Now I'm using the internal changer (not a CCC command as before) and resume works beautifully at all times. This is a great feature! :)
     

    Users who are viewing this thread

    Top Bottom