Graphics

 View Only
  • 1.  save xpImage to file

    Posted 05-27-2016 02:09
    I would like to save an image of an output frame buffer to a file every 10 seconds and use that file for preview in remote site. The API provides GetCurrentFrame to grab a frame to xpImage. How can I save the xpImage in a bitmap or jpg file without writing external program? That is using built-in scripting to achieve the task. Many thanks.


  • 2.  RE: save xpImage to file

    Posted 05-27-2016 02:27
    I don't know how you would do this from scripting, but I think I have a sample application that would show how to do this from an external C# application. You say you don't want to do it that way; but if you decide that would be ok; I could try to find the example.
    #XPression


  • 3.  RE: save xpImage to file

    Posted 05-31-2016 10:13
    I am using Dashboard custom panel to control XPression from a remote site and I would like to monitor XPression output from Dashboard. The only thing I can guess is to grab a frame from XPression output framebuffer to an image file every 10 seconds, then Dashboard read the captured image for monitoring. My aim is to handle all actions in one XPression project rather than different pieces of applications.
    #XPression


  • 4.  RE: save xpImage to file

    Posted 05-31-2016 19:52
    You might want to try using the XPression Preview Client and sending the preview frame to Dashboard.
    Here is a video explaining how to set it up:
    https://www.dropbox.com/s/y54kyqi9oyqcx6g/Dashboard%20XPression%20Preview%20Setup.mp4?dl=0

    And here is the Dashboard Grid file used in the video:
    https://www.dropbox.com/s/lie5hueeg7gehq6/XPression%20Preview.grid?dl=0
    #XPression


  • 5.  RE: save xpImage to file

    Posted 06-02-2016 05:14
    Thanks for the files, garner. It is closed to what I want. I wonder if it is possible to get the preview / image of what currently in the output buffer and keep updating regularly? For example, if I put multiple sequence items in different layers in framebuffer1, I would expect to see a combined output of framebuffer1 in Dashbaord, however, in your sample, it is a preview frame of one item and it may not be taken on-air.
    #XPression


  • 6.  RE: save xpImage to file

    Posted 06-02-2016 14:56
    That would only be possible with an API application. You couldn't do that with scripting.
    #XPression