0

syntax/function for audio level hd110/210 + sync problem



hi there, I'm looking for the right syntax/command for my script to ajust the audiolevel from a videofile I already found the one for ajusting the hdmi audiolevel, but not yet for the analog output. Can somebody help me out? I still have this problem too: 2x full HD h264 movies (90 minutes each) have to play in sync (HD210) First problem: How to play >4gig files from SD card Second problem: how to keep them in sync solution problem 1: format the sd cards as EXT3 (linux can do that) If you use NTFS, the network functions are not working anymore (!!!!) Our linux expert is saying that the embedded linux os in the brightsign players can work very well with EXT3, less processor use. solution problem 2: bbparse.php postids.tmp after 85 minutes I have a 2 second delay on the slave player Does anyone have a working solution for this? best regards, Oskar van den Belt POSTproduction NIMK Dutch Institute for Media Art, Amsterdam After -

3 comments

  • 0
    Avatar
    RokuLyndon


    To play large files, you must use NTFS. Since brightauthor won't play on NTFS, you'll need to use a script for the sync.

    I don't believe we mentioned support for ext3, but I'll check. Yes, you can't use network updates with ntfs.

    There is the potential for some drift after extended play, with a very long file. I would break up your video into smaller pieces and synchronize the individual videos.

    When you change audio volume, it changes both hdmi and analog at the same time. There's no HDMI only volume change.
  • 0
    Avatar
    Oskar


    Hi Lyndon,

    Thank you for your reply,
    1. Of course I use a script, see below
    2. As I mentioned before, when use ntfs for big files, no sync possible, so go for EXT3, works perfect
    3. Too bad to cut the movies into pieces to reduce the sync delay, BUT it's a workaround, ok.
    4. You were right about the audiolevel ajustment, I thought I had found it.  

    I thought it was like this, but it does not give me an error but it's also not functioning:

    vol = CreateObject("roVideoPlayer")
    vol.SetVolume(0)

    So please, can you give me the right syntax to set the volume to 0% or 50 % ????

    Thanks in advance for your answers

    Oskar van den Belt
    POSTproduction NIMK
    Dutch Institute for Media Art, Amsterdam

    REM this is the script for the slave I use (which works ok):
    REM ******* autorun.brs ***************

    EnableZoneSupport(true)

    videoFile1 = "1975.ts"
    mode=CreateObject("roVideoMode")
    mode.SetMode("1920x1080x60p")
    vol = CreateObject("roVideoPlayer")
    vol.SetVolume(0)

    nc = CreateObject("roNetworkConfiguration", 0)
    nc.SetIP4Address("192.168.1.11")
    nc.SetIP4Netmask("255.255.255.0")
    nc.SetIP4Broadcast("192.168.1.255")
    nc.SetIP4Gateway("192.168.1.1")
    nc.Apply()
    receiver = CreateObject("roDatagramReceiver", 11167)
    i = CreateObject("roImagePlayer")
    v = CreateObject("roVideoPlayer")
    sleep(200)
    v.PreloadFile(videoFile1)
    preloaded = true
    p = CreateObject("roMessagePort")
    receiver.SetPort(p)
    listen:
    msg = wait(2000,p)
    if type(msg) = "roDatagramEvent" then
           command = left(msg, 3)
    if command = "pre" then
    if not preloaded then
    print "PreloadFile"
    v.PreloadFile(videoFile1)
    preloaded = true
    endif
    elseif command = "ply" then
    if preloaded then
    print "Play"
    i.StopDisplay()
    v.Play()
    preloaded = false
    endif
    else
    print msg
    endif
    else
    print "*"
    endif
    goto listen
  • 0
    Avatar
    RokuLyndon


    In your script you create the videoplayer object twice. That's the problem. You only need to create it once. You use vol and then create it as v.
Please sign in to leave a comment.