Misc

Apply a Custom Resolution

7min
all brightsignos versions from 8 3 on support custom video modes in series 3 and later hardware platforms modeline format modeline is a configuration line that delivers information to the server about a connected display and how it should be driven at the specified display resolution the modeline format follows xfree86 modeline https //en wikipedia org/wiki/xfree86 modeline notes the horizontal and vertical sync flags ( hsync and vsync ) are required, but other flags are not supported only progressive video modes are supported (not interlaced video modes) the pixel clock frequency will be rounded to the nearest 0 25mhz there are several ways to calculate a modeline the cvt command line program, which is available on linux, generates modelines in the correct format (though you must remove the quotation marks around the mode name) use the r flag, which reduces blanking edid information in the video tab of the brightauthor\ connected dws, and the edid hdmi brightsign command line, both output the detailed descriptor mode (dtd) edid entries in the modeline format you can connect a screen, query the edid, and use the resulting modeline as your custom modeline you can create your own modeline from the documentation for a particular screen custom mode setting videomode to custom means that the stored modeline will be used the configured mode will always be 8 bits per color and rgb for modes where the pixel area is greater than 2 5 million, the graphics layer will be a quarter size and upscaled by default setting the mode to custom\ fullres forces a full resolution graphics layer as with the higher resolution preset modes some players don't allow fullres modes see full resolution graphics docid\ tjnw230kcx6i9tnihfcvd for more info enable custom resolutions in brightscript use setcustommodeline() in rovideomode docid\ qq734nqz0hcwni0unsdmp to parse the modeline, check that it is within the supported range, and then store the value in the registry the new modeline is only active when the videomode is set to custom and, as with most videomode changes, it requires an application restart methods like getconfiguredmode will return the width, height, and calculated frame rate from the custom mode see the examples at the bottom of this page enable custom resolutions in javascript the videomodeconfiguration docid\ uupzxkyflbsolyh8olces class contains setcustommodeline() , which returns whether or not a restart is required if the videomode is already set to custom , a restart will be required example vmc = require("@brightsign/videomodeconfiguration"); let video config = new vmc; let modelinesuccess = await video config setcustommodeline("modeline 3440x1440r 319 75 3440 3488 3520 3600 1440 1443 1453 1481 +hsync vsync"); let modesuccess = await video config setmode({modename "custom"}) modeline limitations brightsign players support any videomode which has a width between the narrowest and widest of any of the preset videomodes (for example, between 640 and 4096 on 4k players) a height between the shortest and tallest of any of the preset videomodes (for example, between 288 and 2160 on 4k players) a pixel clock frequency between 25 0mhz and 594 0mhz for 4k players, or between 25 0mhz and 200 0mhz for hd players examples see this page for example video mode plugins for single and multi hdmi® output models