0

Interactive Button delay



HI, I created an interactive playlist for my HD1010 and I noticed there was a long delay when a button is pressed to it showing what theat button is assigned to. Is there any way to decrease the delay?

-Darrin

15 comments

  • 0
    Avatar
    RokuLyndon


    I have noticed delays depending on what's actually playing. Images take longer to open, and if an image is preloading when the button is pressed, then the unit will wait for it finish before responding.



    If this is the problem, you can test if the button response is the same when a video is playing.



    What firmware are you running? There have been improvements in image and video playback. So, if you update to firmware 3.2, that also mist improve the button response time.
  • 0
    Avatar
    neillB


    Hi Darrin.



    I had some problems with slow button response.  Lyndon sent me a autorun.brs which has script for a command "IMAGESTOPRELOAD".



    So with the special autoplay.brs you include the command "IMAGESTOPRELOAD" in your autoplay.csv file and images are preloaded, then they appear instantly.  The only catch is that the memory used for the preloading is limited.  You can fit 6 images at 1280x720 just, more images at 1024x768, less images at 1920x1080.  The images are stored uncompressed, so there is no point reducing the file size only the total number of pixels.



    Perhaps Lyndon can get you the same autorun.brs?
  • 0
    Avatar
    DarrinTK


    Hi Lyndon, Is it possible you would send me the autorun.brs file that is mentioned  by neillb in this thread? I am using the 3.2.61 Beta firmware .......The latest one. I have a video that loops and when a button is pressed, it takes approx 6 secoonds to get it to change to the image assigned to the button. I have it set to display for 8 seconds and then it goes back to the video loop. I also have each button linked to the other buttons (5 total) that way if during an image being displayed another button is pressed, it will change to that image instead of the video until it times out if nothing is done within the 8 seconds.

    Thank you guys for the help so far.



    -Darrin
  • 0
    Avatar
    moncam


    Hi Lyndon,

    I'm having the same problem. I'm using a HD1010, firmware 3.2.53. My application is very similar to the one Darril describes. Is the autorun.brs the solution? Ideally I will want no more than 1 second delay between the action of pressing the button and the change of the image on the display.

    Thank you,

    Mauricio
  • 0
    Avatar
    RokuLyndon


    THe problem could be with how long the images are taking to load. How many images are in the project? If it's not too many, would it be practical to convert the images to videos. They could be videos that were only one second long. Videos open much faster than image, one reason being because the video doesn't have to be decompressed fully into memory.
  • 0
    Avatar
    moncam


    It worked! I saved the images as 1 second videos and as soon as I press the button the image changes. Great. Thanks Lyndon!
  • 0
    Avatar
    RokuLyndon


    What utility did you use to create your videos? The one I use currently requires a two step process of going from jpeg to avi, and then from avi to mpg.
  • 0
    Avatar
    Devans


    I have a 410 with an interactive created with BrightAuthor. I have an attract loop that has a delay when the loop begins. The delay gets longer each time it plays. The delay for the buttons also gets longer each time. When the player does react to the button sometimes the main video plays only as long as the attract loop played and it jumps back to the attract loop. The delay to reaction is as long as 30 seconds before I give up and power off.

    The 410 has 3.1.73 for an operating system.

    Updated to 3.2.61

    Found a strange bit of code. The button press laid on the main video said the from position was the attract video. Couldn't redirect the from position and couldn't delete the button press. Created a new BrightAuthor document and re-authored.

    The attract video paused 10 seconds before looping the first time through. It paused 38 seconds the second time through. It paused 53 seconds the third time through. Halfway through during the third pause I pressed button 1 and at the end of that 53 second pause it went to the main video, which played for 10 seconds and jumped back to the attract video, which paused at the end and I came up here to write this.

    Folder can be found at:
    <!-- m --><a class="postlink" href="http://www.exhibits.smm.org:8000/dEvansTest/Roku/305LiveIntro.zip">http://www.exhibits.smm.org:8000/dEvans ... eIntro.zip</a><!-- m -->
    choose anonymous login
  • 0
    Avatar
    dhbrown


    I am noticing  borderline acceptable delays between button press and screen update for an image slideshow application.  Because the client will be periodically updating the images, using 1 sec videos wont work for me.  I am running firmware 3.2.67 on an 810 with an elo.  I am using BrightSigns for video in other areas in the same installation and thought this would be a cost efficient way to run a jpeg slideshow (user chooses images from a main menu or next/back), but the lag between button press and screen update (.5 to .7 sec?) is making me have second thoughts.  The performance is good only if the image selected is the 'next' one in the autorun (i.e. preloaded).  

    There will be on the order of 20 images, is that too many to preload?  What is the limit?  

    Is there anything else I can do to improve performance?  

    Is there a best/fastest format out of gif, jpeg, and png?  

    Is using the BrightSign for button driven static image display in this manner something you support/encourage?
  • 0
    Avatar
    RokuLyndon


    Yes, 20 is too many to preload.

    If the image size matches the zone or resolution exactly and there's no scaling that works best. Using a bitmap would also be best. But, the image load times is not going to improve drastically.

    We have many customers that use the brightsign with static driven images, but the performance when you're trying to navigate through the images isn't ideal. As far as the conversion of images to videos now working, why can't that be done?

    I wrote a batch file that the user can run that converts any jpegs found into the folder to a video. It uses the ffmpeg utility to do the conversion. So, if it's a question of making the conversion simple for the user, this does it.

    WE are working on improving the image load times, but a video will always start faster.
  • 0
    Avatar
    DarrinTK


    Making video's of the buttons is definitely the way to use the  interactive portion of the brightsign models that support it. For example, I have produced 6 video's for a client of mine. It is used as a sale sign so customers can see what specials are on sale that week. I use a main looping video, then 5 button videos that display a .jpg with a background sale video. The button push instantly displays the content of that button, and when any button is pressed, it instantly displays the corresponding content.

    -Darrin
  • 0
    Avatar
    MustangAce

    Lyndon,

    Can you provide a comparison, if any, for the image and video load times between the HD and XD models. Do the XD's load images and videos faster?

     

  • 0
    Avatar
    Lyndon

    Images load 30x faster on the XD.  So, while setting an image to play for less than 3 seconds on the hd can be problematic because depending on the image, and scaling, and transition, it can take longer to open, on the XD,  using an imagelist, for example, you can set images to play in .1 seconds or .05 seconds.

     

    You can do animation with the xd by playing a series of images very quickly. So, there's a huge leap in performance when it comes to the XD and image playback. And, you can do this in multiple zones.  So, you can have one zone playing 30 images quickly to do animation, and another zone playing images for 1 second or less at a time, etc.  So, for touch or interactive, the XD's change is immediate. There's no delay. 

  • 0
    Avatar
    MustangAce

    Thanks, that is useful to know. Is there any difference in loading videos between the HD and XD?

  • 0
    Avatar
    Lyndon

    I haven't seen any  numbers on video playback. The unit can play multiple 1080p videos on the screen at the same time, so I'm assuming the video playback start is pretty quick. I'll ask. The hardware is capable of two 1080x60p videos at the same time. or, 4 1080p30, or even more 720p. Initially, we'll do just the two using BrightAuthor, but the hardware is capable of more. 

Please sign in to leave a comment.