Streaming from XD or 4K player (streaming server)

Last Updated: September 16, 2014

With the release of firmware 4.7.112, the XD player can act as a Media Streamer, streaming video to another BrightSign player or compatible network device. As of firmware 4.8/5.0 you can use XD and 4K players as true Media Servers, which wait for requests from clients and then stream the requested content. The Media Streamer is a unicast feature, while the Media Server is a multicast feature.

These features are currently not available via BrightAuthor, but you can still set up a streamer/server using a BrightAuthor plugins (which can be added to a presentation by navigating to File > Presentation Properties > Autorun).

Streaming Protocols

The streaming server currently supports UDP, RTP, RTSP, and HLS streaming

Streaming Codecs

The streaming server currently supports MPEG-TS (MPEG-2 or H.264 Transport Streams)

Creating a Plugin for Streaming

See the Media Server Developer's Guide to learn more about creating a Media Streamer or Media Server script.

Media Server Plugin

You can utilize this Streaming Server plugin script hosted on our Github page.

Media Streamer Plugin

Attached to this FAQ is a Media Streamer plugin. This plugin supports UDP and RTP streaming only. 

Follow these steps to add the plugin to a presentation:

  1. Navigate to File > Presentation Properties > Autorun.
  2. Click the Add Script Plugin button and select the Media Streamer plugin file.
  3. Ensure the Name of the plugin is set to 'serve'.

Follow these steps to configure the streamer and use it stream video:

  1. Double-click a state or event in your interactive playlist.
  2. Click the Advanced tab and select Add Command.
  3. Select Send > Send Plugin Message and select the plugin.
  4. Enter a plugin command.

Supported plugin commands:

serve!destination!10.1.1.25:5032: Sets the streaming destination (in this example, 10.1.1.25 on port 5032).

serve!source!myfile.mpg: Streams the specified source file (in this example, myfile.mpg) to the current destination.

serve!stop: Stops the stream.

serve!play: Streams the current file to the current destination

serve!myfile.mpg!10.1.1.253:5032: Streams the specified source file (in this example, myfile.mpg)  to the specified destination (in this example, 10.1.1.25 on port 5032).

Have more questions? Submit a request

14 Comments

  • 0
    Avatar
    MidwichAU Support

    Hello,

    can I have more details about how to get it work please?

    Cheers,Gavin

  • 0
    Avatar
    Alex Karbuiuk

    We've attached a BA presentation that can be published to a XD player via BA 3.7.0.37 (please use the latest 4.7.x firmware available from the website).

    Rename the MPEG2 transport stream file you will be streaming to “clip.ts”, then copy this file to the root of the SD card. Please note that the file should be encoded as per the description below for UDP/RTP streaming:

    http://support.brightsign.biz/entries/22262919-What-Video-Streaming-Formats-Do-BrightSign-Players-Support-  

    Once the attached presentation is opened and saved publish it to your XD player.

    This presentation contains 2 UDP commands (“play” and “stop”). In order to start streaming the file which is on the root of the SD card you need to send the “play” UDP message and “stop” to stop the streaming.

    With this presentation clients can connect to the stream by using “rtp:// 239.255.12.42:5004” with VLC. Please note that in order to use this address your network/router/switch has to support IP multicast.

    You can also stream directly to a device by changing the streaming IP address to something like “rtp:// 192.168.1.5:5004” through the “play” UDP event advanced command.

  • 0
    Avatar
    MidwichAU Support

    Thanks.

  • 0
    Avatar
    Alfonso Descalzo

    I´m trying but with no sucess.

    Fistable, at the presentation, when you send de play UDP command, it response you with another UDP command, i suposse it has to be an plugin message, so I think it´s the first thing why it doesn´t work...

    anyway I send a play plugin message but have no success viewing the streming at VLC at the rtp url..

  • 0
    Avatar
    Alex Karbuiuk

    We have tested the instructions provided in the previous comment on multiple computers and multiple XD players. What is the model of your BrightSign unit and what firmware version is installed? Did you rename the video file to clip.ts and copy it to the root directory of SD card? Try with the attached video. Does the unit show the images on the screen when you send "play" and "stop" commands? What steps did you follow in VLC to connect to the stream.

  • 0
    Avatar
    Alfonso Descalzo

    Finally I got it.

    I think the problem was related to the network (switchers). Connecting the BS directly to the PC i can see the streamming at VLC, but I changed it to send the "play" pluging message instead of the UDP one.

    At the "stop" command a plugin message is sent, but not at the "play" one...

     

    Anyway, thank you for your help.

  • 0
    Avatar
    Cfernandez

    Hi, How XD1132 can be configurated for Works like a streaming server?

  • 0
    Avatar
    Fernando Díaz Vinuesa

    How many BS clients can connect to a BS Stremaing Server?

  • 0
    Avatar
    Alex Karbuiuk

    It's configurable. It may depend on exactly what you're serving. Default value is just 5 clients, but could support a few dozen clients easily enough. Remember that lots of clients all causing the server to read from an SD card may not work so well. An SSD might be better.

  • 0
    Avatar
    Sr. Support

    Keep in mind that available network bandwidth will also be a limiting factor.  Only the 4K players have Gigabit Ethernet, the other models have 10/100.

    See page 25 of the Media Server (5.1.x) Developer's Guide:

    http://brightsignbiz.s3.amazonaws.com/documents/Media%20Server%20%285.1.x%29.pdf

  • 0
    Avatar
    lakkhanaphon Saengchinda

    Hi,

    I download StreamingServerDemo3 for test with my XD1132 firmware is 6.0.25.

    My XD IP address is 192.168.13.102

    My computer run VLC IP address is 192.168.13.67.

    I change destination in serve_plugin_working4.brs to ' s.destination$ = "192.168.13.67:5004" '

    And change destination in UDP input even to ' serve!play!clip.ts!192.168.13.67:5004 '

    But when I use BrightSing App puch Play button XD led Err blink and XD player restart.

    Please introduce,I make something wrong.

     

     

  • 0
    Avatar
    Nikolay Klochkov

    Is it possible to streamin in H265 if we use any of 4K  players?

  • 0
    Avatar
    Andrew Domarkas

    Hello, anybody tried to stream to a SmartTv?

    Thank you for response.

    Greetings

    Andrew

  • 0
    Avatar
    Sr. Support America

    From the 1132 and 4k, yes you can

Please sign in to leave a comment.
Can't find what looking for? Try to
Powered by Zendesk