Synchronization - Using BrightAuthor 2.0

For discussion of the Roku BrightSign digital signage product.

Moderators: RokuLyndon, RokuAnthony, RokuTed

Synchronization - Using BrightAuthor 2.0

Postby RokuLyndon » Thu Dec 17, 2009 6:33 pm

With BrightAuthor, you can send commands when files are played, or when an event (Touch, Button press, Video end, etc.) occurs that triggers a file to play. One use for this feature is to Synchronize content over the network. Check out this sync video for step by step directions.

Two Synchronization Examples included
  • Sychronize a 2 video Playlist
  • Syncrhonize 1 Looping video

Important Notes
  • You can connect to units directly to each other using a standard Ethernet cable, or you connect multiple units together using a hub, switch, or router.
  • You MUST set the port number on both the Master and Slave projects so the port number the master is using matches the port number the slave is using.

    Image
  • The master unit must have an IP address. If the units are connected to a network or to a router, this isn't an issue since the Brightsigns work using DHCP. If you are plugging two units into each other, or just using a switch or hub, use the script below to manually set the IP address on the master unit. You don't need to set the IP on slave units.

    Manual IP Script
    Set to DHCP
  • We recommend using transport streams for synchronization.
  • The videos you are using should have the same specs: bitrate, resolution, length. For example, if the video on the master unit has audio, then the slave unit files must have an audio layer as well, even if their audio is muted.

Example 1 - Sync Two Video Playlist
In the following example, the Brightsigh starts up and plays a logo for 10 seconds, then starts playing a two video playlist. The synchronization command is sent when the image times out to the first video, and at the end of each video.

Master Playlist
Starting with a logo image, which could also be a blank image, allows us to send a synchronization event before the video plays the first time.
Image


Master Playlist - Send Synchronize Command
Opening the timeout event (clock symbol) we see that after 10 seconds we play the attract.mpg file. Under Advanced, the Synchronize command is sent with the string "attract". You can put any string in the parameter field, as long as the slave unit is using the same string the master is sending.
Image


Slave Playlist
On the slave, the synchronize event is used to transition from one file to another. In this example, each video is connected to the startup image. There's also a synchronize event connecting each video to the other. This way, if the slave unit were to lose power or were to get out of sync for any reason, it would be in sync on the next file to play.
Image


Slave Playlist - Receive Synchronize Command
Opening this Synchronize event, you see the slave is listening for the "attract" string when the logo image is displayed. Atttract.mpg plays when "attract" is received.
Image



Example 2 - Synchronize 1 Video
In the following example, the Brightsigh starts up and plays a logo for 10 seconds, then starts playing 1 video which loops and starts again when finished. The synchronization command is sent when the image times out to looping video, and also when the video restarts.

Download Sample Project Files - including small video sample, and blank image


Master Playlist
Starting with a logo image, which could also be a blank image, allows us to send a synchronization event before the video plays the first time.
Image

Slave Playlist
The slave unit listens for input after the startup image, and each time the video ends.

Image
Lyndon
Roku Customer Care
RokuLyndon
 
Posts: 3512
Joined: Mon Nov 06, 2006 5:39 pm

Re: Synchronization - Using BrightAuthor Interactive

Postby warpman » Fri Feb 19, 2010 6:14 am

I've tried this setup with three HD1010 in a museum and it works great! We trigger three different movies with buttons connected to the GPIO interface to the master unit and it triggers the slave units via ethernet. Work very nice, quick response and frame accurate every time (as far as we can see, the films are about 15 minutes long).
Don't forget to set the UDP port though, I missed that and it took sometime until I understood why the slaves wouldn't react.
warpman
 
Posts: 7
Joined: Wed Dec 02, 2009 7:10 am

Re: Synchronization - Using BrightAuthor Interactive

Postby RokuLyndon » Fri Feb 19, 2010 6:59 am

I'm happy to hear it helped, and thanks for the ports reminder. That's now added.
Lyndon
Roku Customer Care
RokuLyndon
 
Posts: 3512
Joined: Mon Nov 06, 2006 5:39 pm


Return to BrightSign General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests