Discussion in 'General Chat' started by markfilipak, Feb 8, 2020.

  1. markfilipak

    markfilipak Well-Known Member

    Is there documentation for 'SetDisplayFrequency.exe'? Usage examples? Scripts?

    It doesn't respond to the usual 'help' arguments:

    C:\Program Files (x86)\RedFox\AnyDVD>SetDisplayFrequency.exe ?
    C:\Program Files (x86)\RedFox\AnyDVD>SetDisplayFrequency.exe /?
    C:\Program Files (x86)\RedFox\AnyDVD>SetDisplayFrequency.exe -?
    C:\Program Files (x86)\RedFox\AnyDVD>SetDisplayFrequency.exe -h
    C:\Program Files (x86)\RedFox\AnyDVD>SetDisplayFrequency.exe -help
    C:\Program Files (x86)\RedFox\AnyDVD>SetDisplayFrequency.exe --help

    My problem:
    I play movies on Display 2. Display 2 is an HD TV connected via HDMI. I occasionally need to set it. I believe that's what 'SetDisplayFrequency.exe' is for, eh?

    Thanks for helping,
  2. James

    James Redfox Development Team Staff Member

    SetDisplayFrequency only works with the primary monitor.
  3. markfilipak

    markfilipak Well-Known Member

    Perhaps I'll try changing the frequency of my primary (laptop) display. That brings me back around to my original question. How do I use SetDisplayFrequency? It doesn't respond to the usual 'help' arguments.
  4. James

    James Redfox Development Team Staff Member

    You just add the frequency as a parameter in Hz.
    0 = default, revert to last saved value
    50 = 50
    60 = 60
    23 = 23.9...
    24 = 24
    59 = 59.9...

    Optional parameter /keep saves the value

    e.g. SetDisplayFrequency.exe 60 /keep

    It is just a rudimentary tool, there are much better utilities available in the public domain.

    And it is intended to be started by AnyDVD's "start external program" feature on disc insertion.
    Check out the feature in AnyDVD settings -> program settings -> external program
    It was never intended to be used from the command line.
    Last edited: Feb 13, 2020
  5. markfilipak

    markfilipak Well-Known Member

    Hi James,

    Well, it looks like my primary display can't be set... Everything except 'SetDisplayFrequency 60' provokes an error notice.

    Too bad. I watch movies (and test various frequency HandBrake transcodes) on my secondary display (HDMI TV). In order to do that, I had to connect the TV to my DisplayPort via an DP-HDMI adapter; NVIDIA provides a GUI to change DP refresh Hz, but a CLI method would be convenient to avoid click-click-click.

    I imagine you provided SetDisplayFrequency as a convenience for watching movies. That's thoughtful, but I wonder how many people watch movies solely on a secondary display. Oh, well.

    Have a good day, James.