0

Switch between zones/Live Video

Hello,

I got a project to realize for a costumer and encouter some difficulties.

Product: XD1230

 

Zone 1: (VideoOrImages)

- I have a looping background video.

- GPIO Button 1 starts Video_1

- GPIO Button 2 starts Video_2

- GPIO Button 3 starts "Live Video" which is placed in a seperate zone, as it should be floating above the background. I used the Event Handler and Zone Message to start the input feed in Zone 2.

How do I get back to Zone 1 now?

I managed to end the "Live Video" input with Stop Playback in the Event Handler. But now I can't start the Live Video anymore.

I would like to toggle the visibility of the Live Video with the press of a GPIO Button.

 

Thanks in advance.

 

7 comments

  • 1
    Avatar
    Alex

    Hi,

    One of our customers wanted the similar ability, but use a keyboard event (instead of GPIO) to activate livevideo playback on the screen.

    Read below:

    XD1230 can do what you've described. You can add 2 video zones to your presentation: one 1280x800 (bottom zone) and one 800x600 (top zone), and 1 audio zone.

    Select audio zone, under Media Library click on other, select Event Handler and drop it to the audio zone. Under Media Library select events, find Keyboard Input event, drag it onto the Event Handler. Specify the keyboard input (for example "1"). Click on Advanced, Add command, select Send - Zone Message, specify a zone message you wish to send to trigger live video playback (for example "livevideo").
    Select Keyboard event again and drag it onto the Event Hander. Specify the keyboard input (for example "2"). Click on Advanced, Add command, select Send - Zone Message, specify a zone message you wish to send to stop live video playback (for example "localvideo").

    Select livevideo zone (top zone). Under Media Library, select other, drop LiveText object to playlist. Don't enter any text in the LiveText object, just tick "Set as initial state box" at the top. Then drop the LiveVideo icon to playlist. Select Zone Message event from the events toolbar and use it to connect LiveText state with the LiveVideo state. Specify the "livevideo" message. Select Zone Message event again and connect LiveVideo state with LiveText state, specify the "localvideo" message.

    Select bottom video zone and add the desired content to that zone.

    Save the project and publish it.

    Now pressing key "1" will activate live video playback over the background zone. Pressing key "2" will hide live video playback, and local video will play in full screen.

    I'm including a link to a video tutorial that shows how to create such a presentation from the scratch:
    https://www.brightsignnetwork.com/download/projects-customers/18457/LiveVideo%20project.wmv

    And a link to the exported presentation:
    https://www.brightsignnetwork.com/download/projects-customers/18457/live%20video%20project.zip

  • 0
    Avatar
    Alex M.

    Thank you for this detailed tutorial.

    It worked out perfectly.

  • 0
    Avatar
    Alex M.

    Is it possible to toggle the live video with just 1 button assigned?

    Press key "1" activate live video

    Press key "1" again to hide the live video

     

    Thank you !

     

     

  • 0
    Avatar
    Alex

    Yes, it's possible. There are 2 ways to do that:

    1) If you use Zone Messaging, you need to send just 1 zone message in the background audio zone and listen to this zone message in the front video zone that contains the LiveVideo widget. So you use Zone Message event to connect the LiveText state with the LiveVideo state, specify the message you send from the audio zone. And use Zone Message event with the same parameter to connect the LiveVideo state with the LiveText.

    2) You can remove the background audio zone from presentation, and connect the LiveText and LiveVideo states with each other using the GPIO Input event (or whatever interactive event you wish).

  • 0
    Avatar
    Marcelo Cerda Castillo

    Hi, is there a way to activate/hide a live video zone reading a variable directly from the web?

    We are using a X1132 to display a full remote web page url, and using the live video widget in one lower corner, but at certain events on the remote web page, we need to turn the livevideo off.

    Thanks in advance for your help!

  • 0
    Avatar
    Alex

    Hi Marcelo,

    Yes, it should be possible to implement this in BrightAuthor. You can add audio zone to your presentation and put Event Handler in that zone. Then attach Timeout event to Event Handler and use it to check the value of variable every X amount of seconds. If the value of variable is equal to "off" for example, you send zone message to live video zone and transit from live video state to event handler. If you want, you can send your BrightAuthor presentation (.bpf file) and we will show you how to do that.

  • 0
    Avatar
    Brecht Gettemans

    Seven years later this still helped me out!

     

    Thanks

Please sign in to leave a comment.