0

MP3 playback from schedule and other video playback?



Hi I am looking to implement a network of HD210 players, all of them connected to a network. The requirement is that they all play a sequence of MP3 files, this sequence can be updated by simple networking.. The question is can I play a local video file at the same time? This is to give the illusion of in store radio with pictures, without any streaming capability. The videos and stills would rotate on a preset schedule too. Any help appreciated Many thanks Damian

7 comments

  • 0
    Avatar
    RokuLyndon


    This is one video with multiple mp3s? Or, actually pictures? You can play pictures and audio together easily in brightauthor. It's not something that can be done simply, videos with separate audio in brightauthor.  But, depending on what you're trying to do, some customization to the autorun script may get the job done.
  • 0
    Avatar
    brrdigital


    Hi thanks for your response,

    However I am still unclear.

    The scenario:

    I need to play a sequence of many MP3 files in a constant rotation 24/7, i.e providing a non stop radio style playback in retail stores

    Whilst the audio is playing I need the ability to playback stills and videos (without audio) over the top. I understand this will need to be scripted, but just want confirmation and ideally help with the fact that I can play a roAudoObject and a roVideoObject at the same time through script.

    Thanks

    Damian
  • 0
    Avatar
    RokuLyndon


    Yes, you can definitely do it via scripting. You can play 1 video, and up to 3 audio files at the same time.
  • 0
    Avatar
    brrdigital


    Hi Thanks

    I dont suppose you or anyone would have some sample script that could point me in the right direction?

    i.e. playing a mp3 and whilst playing launching a video?

    Thanks

    Damian
  • 0
    Avatar
    RokuLyndon


    If you look in the expander thread, you'll find a few scripts like that. But, here's simple one. This plays one video in a loop, and plays a playlist of 6 audio files.

    p=createobject("roMessagePort")
    I=createobject("roAudioPlayer")
    v=createobject("roVideoPlayer")

    i.SetPort(p)
    index=0

    DIM list[6]
    list[0] = "1.mp3"
    list[1] = "2.mp3"
    list[2] = "3.mp3"
    list[3] = "4.mp3"
    list[4] = "5.mp3"
    list[5] = "6.mp3"


    Start:
    i.playfile(list[index])
    v.SetLoopMode(1)
    v.playfile("video1.mpg")

    loop:
    msg = wait(0,p)
    if type(msg) = "roAudioEvent" then
    if msg.GetInt() = 8 then
    index=index+1
    if index = 6 then index = 0
    goto Start
    endif

    goto loop

  • 0
    Avatar
    brrdigital


    Hi Thanks for the script, I kind of got it going playing video on my HD1010, but I do not have an expander, can you please let me know if the HD210 and HD1010 can play more than one simultaneous mp3 file whilst a video is running without the need for an expander? i.e. all audio tracks coming out of the headphone socket.

    Thanks

    Damian
  • 0
    Avatar
    RokuLyndon


    You want to play two audio files without the expander? ONe would have to play to HDMI and the othe rto analog out, but it can be done. I can modify the script to allow for that.
Please sign in to leave a comment.