0

Native frame rate (fps) output

Hello. 

I have a UHD 50p and a UHD 59.94p MP4 file. I want to be able to play them in their native frame rate from the XT1143, so I would like the HDMI output to switch between 50p and 59.94p frame rates. 

 

I tried this:

https://github.com/brightsign/video-mode-plugin

but I receive these errors in the BrightSign Log

[   24.979] ScriptLoadError: Syntax Error. (compile error &h02) in SD:/videomode_plugin.brs(7)
[   24.979] ScriptLoadError: Syntax Error. (compile error &h02) in SD:/videomode_plugin.brs(8)
[   24.979] ScriptLoadError: Syntax Error. (compile error &h02) in SD:/videomode_plugin.brs(9)
[   24.979] ScriptLoadError: Syntax Error. (compile error &h02) in SD:/videomode_plugin.brs(10)
[   24.979] ScriptLoadError: Syntax Error. (compile error &h02) in SD:/videomode_plugin.brs(11)

 

and the unit endlessly reboots. 

 

I tried this:

https://brightsign.zendesk.com/hc/en-us/articles/218067307-How-do-I-switch-presentations-or-change-layouts-in-BrightAuthor-

 

which did not change fps. 

 

Is either mode going to work somehow?

3 comments

  • 0
    Avatar
    Will

    Update - the first was my bad.. I had downloaded a 70kB 'html' version of the .brs from 

    https://github.com/brightsign/video-mode-plugin

    instead of the 4kB brs. so copying and pasting the text from within the .brs in github to a file and saving fixed the below issue:

    [   24.979] ScriptLoadError: Syntax Error. (compile error &h02) in SD:/videomode_plugin.brs(7)

     

    and now the unit boots without these messages, but still reports something like:

     

    Eval runtime error: Function Call Operator ( ) attempted on non-function. (&he0) at line 0

     

    and

     

    !!!Error BERR_NOT_SUPPORTED(0x8) at nexus/modules/file/src/linuxuser/nexus_file_posix.c:177

     

    are these related to the switching of frame rates? incidentally. 

  • 0
    Avatar
    Bright Scripters

    If applicable, you could create a dedicated presentation for each video.

    Each presentation would have a matching video format.

    You would then be able to switch between the two presentations, and have the video files played at native format.

  • 0
    Avatar
    Will

    Hi - after half a day of trying, I made progress. It was critical to get SSH working, in order to see the debug output , because I could see when using the video mode plugin:  

    1) when the nomenclature was correct / incorrect

    2) when the player rebooted after changing , it ALWAYS defaulted to the resolution set in the presentation, regarldess of "force resolution" or not.. 

    I also had to edit the autorun.brs file by removing the seciton of code which changed resolutions upon a reboot.. 

    ' change:

    ok = videoMode.SetMode(videoMode$)
    if ok = 0 then
    print "Error: Can't set VIDEOMODE to ::"; Sign.videoMode$; " resetting to 1920x1080x60i"
    ok = videoMode.SetMode("1920x1080x60i")
    endif

     


    ' to:


    print "EDIT: VIDEOMODE is ::"; Sign.videoMode$; " but not resetting it"
    'ok = videoMode.SetMode(videoMode$)
    'if ok = 0 then
    ' print "Error: Can't set VIDEOMODE to ::"; Sign.videoMode$; " resetting to 1920x1080x60i"
    ' ok = videoMode.SetMode("1920x1080x60i")
    'endif

Please sign in to leave a comment.