0

roSyncManager

Hi,

after having a BrightWall running with BrightAuthor I want to change to BrightScript. I need BrightScript to automatically update the video files at night on a local network.

I got it running with the example in the documentation. Unfortunately after the first (smooth) run of the video on the master during the second run (loop) the video starts to stutter. Can somebody help?

Hardware HD1022 with 7.0.60

Video is the black car video from the dealership example (60 fps)

My script:

debug=true
VideoResolution$="1920x1080x60p"
WebServer$="http://192.168.10.34:8090/"
VideoFile$="player01.mp4"

if debug print "============================================="

if debug print "Download..."
url = CreateObject("roUrlTransfer")
url.SetUrl(WebServer$ + VideoFile$)
url.GetToFile(VideoFile$)

' Create a sync manager with default address and port.
aa1=CreateObject("roAssociativeArray")
aa1.Domain = "BS1"
s=CreateObject("roSyncManager", aa1)
p=CreateObject("roMessagePort")
s.SetPort(p)

if debug print s

' Create a video player - we're going to play a seamlessly looped file
v=CreateObject("roVideoPlayer")
v.SetLoopMode(True)
v.SetVolume(50)

if debug print v

mode = CreateObject("roVideoMode")
mode.SetMode(VideoResolution$)

if debug print mode

' THIS SECTION IS ONLY DONE BY THE MASTER
' We're the master unit - send out a synchronize event saying that we're starting.
' playback 1000ms from now
s.SetMasterMode(True)
msg = s.Synchronize("Blah1", 1000)

' THIS SECTION IS ONLY DONE BY THE SLAVE
' We're a slave unit, and we're sitting waiting for a sync message.
'msg=Wait(4000, p)

' EVERYONE DOES THE REST
aa=CreateObject("roAssociativeArray")
aa.Filename = VideoFile$
aa.SyncDomain = msg.GetDomain()
aa.SyncId = msg.GetId()
aa.SyncIsoTimestamp = msg.GetIsoTimestamp()

if debug print aa

v.PlayFile(aa)

loop:
message=Wait(4000, p)
if debug print type(msg)
goto loop

The log output:

[ 0.000] Linux version 3.3.8-3.0+bs7.0.60 (jenkins@scoop) (gcc version 6.3.0 (GCC) ) #1 PREEMPT Fri Feb 2 10:09:36 GMT 2018
[ 0.000] Fetching vars from bootloader... found 28 vars.
[ 0.000] BrightSign board ID: 2
[ 0.000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm7425-gpio-lo
[ 0.000] gpiochip_add: registered GPIOs 32 to 63 on device: bcm7425-gpio-hi
[ 0.000] gpiochip_add: registered GPIOs 64 to 91 on device: bcm7425-gpio-ext
[ 0.000] gpiochip_add: registered GPIOs 92 to 123 on device: bcm7425-gpio-ext-hi
[ 0.000] gpiochip_add: registered GPIOs 124 to 149 on device: bcm7425-gpio-ext2
[ 0.000] gpiochip_add: registered GPIOs 152 to 155 on device: bcm7425-sgpio
[ 0.000] gpiochip_add: registered GPIOs 160 to 180 on device: bcm7425-gpio-aon-lo
[ 0.000] gpiochip_add: registered GPIOs 181 to 186 on device: bcm7425-gpio-aon-ext
[ 0.000] Options: moca=0 sata=1 pcie=0 usb=1
[ 0.000] Using 1024 MB + 0 MB RAM (from kernel configuration)
[ 0.000] warning: MEMC1 is not available on this system; ignoring
[ 0.000] CPU revision is: 00025a11 (Broadcom BMIPS5000)
[ 0.000] FPU revision is: 00130001
[ 0.000] Determined physical RAM map:
[ 0.000] memory: 10000000 @ 00000000 (usable)
[ 0.000] memory: 30000000 @ 20000000 (usable)
[ 0.000] bmem: nothing specified on command line, adding default regions
[ 0.000] bmem: adding 53 MB LINUX region at 10 MB (0x03514000@0x00aec000)
[ 0.000] bmem: adding 128 MB RESERVED region at 64 MB (0x08000000@0x04000000)
[ 0.000] bmem: adding 64 MB LINUX region at 192 MB (0x04000000@0x0c000000)
[ 0.000] bmem: adding 384 MB RESERVED region at 512 MB (0x18000000@0x20000000)
[ 0.000] bmem: adding 384 MB LINUX region at 896 MB (0x18000000@0x38000000)
[ 0.000] Initrd not found or empty - disabling initrd
[ 0.000] Zone PFN ranges:
[ 0.000] Normal 0x00000000 -> 0x00050000
[ 0.000] HighMem empty
[ 0.000] Movable zone start PFN for each node
[ 0.000] Early memory PFN ranges
[ 0.000] 0: 0x00000000 -> 0x00010000
[ 0.000] 0: 0x00020000 -> 0x00050000
[ 0.000] On node 0 totalpages: 262144
[ 0.000] Normal zone: 2560 pages used for memmap
[ 0.000] Normal zone: 0 pages reserved
[ 0.000] Normal zone: 259584 pages, LIFO batch:31
[ 0.000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000] pcpu-alloc: [0] 0
[ 0.000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259584
[ 0.000] Kernel command line:
[ 0.000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000] Primary instruction cache 32kB, physically tagged, 4-way, linesize 64 bytes.
[ 0.000] Primary data cache 32kB, 4-way, linesize 32 bytes.
[ 0.000] MIPS secondary cache 256kB, 8-way, linesize 128 bytes.
[ 0.000] Memory: 504052k/1048576k available (5359k kernel code, 544524k reserved, 1250k data, 1876k init, 0k highmem)
[ 0.000] SLUB: Genslabs=9, HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000] NR_IRQS:266
[ 0.000] Measuring MIPS counter frequency...
[ 0.000] Detected MIPS clock frequency: 1305 MHz (163.127 MHz counter)
[ 0.000] Calibrating delay loop... 869.37 BogoMIPS (lpj=434688)
[ 0.009] pid_max: default: 32768 minimum: 301
[ 0.009] Mount-cache hash table entries: 512
[ 0.009] Performance counters: BMIPS5000 PMU enabled, 4 32-bit counters available to each CPU, irq -1 (share with timer interrupt)
[ 0.009] bcm40nm_pm_moca_disable 00
[ 0.009] devtmpfs: initialized
[ 0.010] core_dumped: 0, 0
[ 0.010] NET: Registered protocol family 16
[ 0.011] USB0: power enable is active high; overcurrent is active low
[ 0.011] USB1: power enable is active high; overcurrent is active low
[ 0.014] bio: create slab <bio-0> at 0
[ 0.014] SCSI subsystem initialized
[ 0.014] usbcore: registered new interface driver usbfs
[ 0.014] usbcore: registered new interface driver hub
[ 0.014] usbcore: registered new device driver usb
[ 0.014] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.015] Bluetooth: Core ver 2.16
[ 0.015] NET: Registered protocol family 31
[ 0.015] Bluetooth: HCI device and connection manager initialized
[ 0.015] Bluetooth: HCI socket layer initialized
[ 0.015] Bluetooth: L2CAP socket layer initialized
[ 0.015] Bluetooth: SCO socket layer initialized
[ 0.015] Switching to clocksource wktmr
[ 0.016] NET: Registered protocol family 2
[ 0.016] IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.016] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.017] TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.017] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.017] TCP reno registered
[ 0.017] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.017] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.017] NET: Registered protocol family 1
[ 0.017] cfg80211: Calling CRDA to update world regulatory domain
[ 0.017] RPC: Registered named UNIX socket transport module.
[ 0.017] RPC: Registered udp transport module.
[ 0.017] RPC: Registered tcp transport module.
[ 0.017] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.021] gpiochip_add: registered GPIOs 196 to 203 on device: brightsign-gpio
[ 0.021] gpiochip_add: registered GPIOs 215 to 215 on device: brightsign-busy-led
[ 0.021] gpiochip_add: registered GPIOs 205 to 206 on device: brightsign-leds-1
[ 0.021] gpiochip_add: registered GPIOs 207 to 208 on device: brightsign-reset-button
[ 0.068] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.068] NTFS driver 2.1.30 [Flags: R/O].
[ 0.069] msgmni has been set to 984
[ 0.069] io scheduler noop registered
[ 0.069] io scheduler deadline registered (default)
[ 0.069] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.070] serial8250.0: ttyS0 at MMIO 0x10406700 (irq = 52) is a 16550A
[ 0.070] serial8250.0: ttyS1 at MMIO 0x10406740 (irq = 53) is a 16550A
[ 0.070] serial8250.0: ttyS2 at MMIO 0x10406780 (irq = 54) is a 16550A
[ 0.072] loop: module loaded
[ 0.072] brcmstb_nand: NAND controller driver is loaded
[ 0.072] ubiblk: major device number is 254
[ 0.072] __clk_enable: network [1]
[ 0.072] bcm7429_pm_network_enable 00
[ 0.072] __clk_enable: enet [1]
[ 0.072] bcm40nm_pm_genet_enable 00
[ 0.174] bcmgenet: configuring instance #0 for internal PHY
[ 0.194] bcmgenet bcmgenet.0: eth0: link down
[ 0.194] __clk_disable: enet [0]
[ 0.194] bcm40nm_pm_genet_disable 00
[ 0.194] __clk_disable: network [0]
[ 0.194] bcm7429_pm_network_disable 00
[ 0.194] __clk_enable: network [1]
[ 0.194] bcm7429_pm_network_enable 00
[ 0.194] __clk_enable: moca_genet [1]
[ 0.194] bcm40nm_pm_genet1_enable 00
[ 0.194] __clk_enable: moca [1]
[ 0.194] bcm40nm_pm_moca_enable 00
[ 0.516] No PHY detected, not registering interface:1
[ 0.516] __clk_disable: moca [0]
[ 0.516] bcm40nm_pm_moca_disable 00
[ 0.516] __clk_disable: moca_genet [0]
[ 0.516] bcm40nm_pm_genet1_disable 00
[ 0.516] __clk_disable: network [0]
[ 0.516] bcm7429_pm_network_disable 00
[ 0.516] bcmgenet: probe of bcmgenet.1 failed with error -5
[ 0.516] PPP generic driver version 2.4.2
[ 0.516] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.516] __clk_enable: usb [1]
[ 0.516] bcm40nm_pm_usb_enable 00
[ 0.516] ehci-brcm ehci-brcm.0: Broadcom STB EHCI
[ 0.516] ehci-brcm ehci-brcm.0: new USB bus registered, assigned bus number 1
[ 0.547] ehci-brcm ehci-brcm.0: irq 56, io mem 0x10480300
[ 0.553] ehci-brcm ehci-brcm.0: USB 0.0 started, EHCI 1.00
[ 0.553] hub 1-0:1.0: USB hub found
[ 0.553] hub 1-0:1.0: 1 port detected
[ 0.553] ehci-brcm ehci-brcm.1: Broadcom STB EHCI
[ 0.553] ehci-brcm ehci-brcm.1: new USB bus registered, assigned bus number 2
[ 0.584] ehci-brcm ehci-brcm.1: irq 57, io mem 0x10480500
[ 0.590] ehci-brcm ehci-brcm.1: USB 0.0 started, EHCI 1.00
[ 0.590] hub 2-0:1.0: USB hub found
[ 0.590] hub 2-0:1.0: 1 port detected
[ 0.590] ehci-brcm ehci-brcm.2: Broadcom STB EHCI
[ 0.590] ehci-brcm ehci-brcm.2: new USB bus registered, assigned bus number 3
[ 0.621] ehci-brcm ehci-brcm.2: irq 61, io mem 0x10490300
[ 0.627] ehci-brcm ehci-brcm.2: USB 0.0 started, EHCI 1.00
[ 0.627] hub 3-0:1.0: USB hub found
[ 0.627] hub 3-0:1.0: 1 port detected
[ 0.627] ehci-brcm ehci-brcm.3: Broadcom STB EHCI
[ 0.627] ehci-brcm ehci-brcm.3: new USB bus registered, assigned bus number 4
[ 0.658] ehci-brcm ehci-brcm.3: irq 62, io mem 0x10490500
[ 0.664] ehci-brcm ehci-brcm.3: USB 0.0 started, EHCI 1.00
[ 0.664] hub 4-0:1.0: USB hub found
[ 0.664] hub 4-0:1.0: 1 port detected
[ 0.664] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.664] ohci-brcm ohci-brcm.0: Broadcom STB OHCI
[ 0.664] ohci-brcm ohci-brcm.0: new USB bus registered, assigned bus number 5
[ 0.664] ohci-brcm ohci-brcm.0: irq 58, io mem 0x10480400
[ 0.729] hub 5-0:1.0: USB hub found
[ 0.729] hub 5-0:1.0: 1 port detected
[ 0.729] ohci-brcm ohci-brcm.1: Broadcom STB OHCI
[ 0.729] ohci-brcm ohci-brcm.1: new USB bus registered, assigned bus number 6
[ 0.729] ohci-brcm ohci-brcm.1: irq 59, io mem 0x10480600
[ 0.794] hub 6-0:1.0: USB hub found
[ 0.794] hub 6-0:1.0: 1 port detected
[ 0.794] ohci-brcm ohci-brcm.2: Broadcom STB OHCI
[ 0.794] ohci-brcm ohci-brcm.2: new USB bus registered, assigned bus number 7
[ 0.794] ohci-brcm ohci-brcm.2: irq 63, io mem 0x10490400
[ 0.859] hub 7-0:1.0: USB hub found
[ 0.859] hub 7-0:1.0: 1 port detected
[ 0.859] ohci-brcm ohci-brcm.3: Broadcom STB OHCI
[ 0.859] ohci-brcm ohci-brcm.3: new USB bus registered, assigned bus number 8
[ 0.859] ohci-brcm ohci-brcm.3: irq 64, io mem 0x10490600
[ 0.893] hub 2-0:1.0: over-current condition on port 1
[ 0.924] hub 8-0:1.0: USB hub found
[ 0.924] hub 8-0:1.0: 1 port detected
[ 0.924] usbcore: registered new interface driver cdc_acm
[ 0.924] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.924] usbcore: registered new interface driver usblp
[ 0.924] Initializing USB Mass Storage driver...
[ 0.924] usbcore: registered new interface driver usb-storage
[ 0.924] USB Mass Storage support registered.
[ 0.924] usbcore: registered new interface driver usbserial
[ 0.924] usbserial: USB Serial Driver core
[ 0.924] USB Serial support registered for ch341-uart
[ 0.924] usbcore: registered new interface driver ch341
[ 0.924] USB Serial support registered for cp210x
[ 0.925] usbcore: registered new interface driver cp210x
[ 0.925] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[ 0.925] USB Serial support registered for FTDI USB Serial Device
[ 0.925] usbcore: registered new interface driver ftdi_sio
[ 0.925] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[ 0.925] USB Serial support registered for GSM modem (1-port)
[ 0.925] usbcore: registered new interface driver option
[ 0.925] option: v0.7.2:USB Driver for GSM modems
[ 0.925] USB Serial support registered for pl2303
[ 0.925] usbcore: registered new interface driver pl2303
[ 0.925] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 0.925] USB Serial support registered for Sierra USB modem
[ 0.925] usbcore: registered new interface driver sierra
[ 0.925] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
[ 0.925] mousedev: PS/2 mouse device common for all mice
[ 0.925] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[ 0.925] input_polldev: Start poll 80358628
[ 0.926] LED update led is currently 0
[ 0.926] elo_mt_input: loaded
[ 0.926] usbcore: registered new interface driver usbtouchscreen
[ 0.926] i2c /dev entries driver
[ 0.926] lirc_dev: IR Remote Control driver registered, major 253
[ 0.926] IR LIRC bridge handler initialized
[ 0.926] usbcore: registered new interface driver streamzap
[ 0.926] usbcore: registered new interface driver btusb
[ 0.926] sdhci: Secure Digital Host Controller Interface driver
[ 0.926] sdhci: Copyright(c) Pierre Ossman
[ 0.926] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.926] sdhci-brcmstb sdhci-brcmstb.0: Enabling controller
[ 0.926] sdio0: Setting IP_DLY=0x00030028
[ 0.926] sdio0: Setting OP_DLY=0x80000007
[ 0.928] Registered led device: mmc0::
[ 0.931] mmc0: SDHCI controller on sdhci-brcmstb.0 [sdhci-brcmstb.0] using ADMA
[ 0.931] sdhci-brcmstb sdhci-brcmstb.1: Disabled by bootloader
[ 0.931] Registered led device: busy
[ 0.931] usbcore: registered new interface driver usbhid
[ 0.931] usbhid: USB HID core driver
[ 0.931] usbcore: registered new interface driver snd-usb-audio
[ 0.931] ALSA device list:
[ 0.931] No soundcards found.
[ 0.931] u32 classifier
[ 0.931] Actions configured
[ 0.931] TCP cubic registered
[ 0.932] NET: Registered protocol family 10
[ 0.932] NET: Registered protocol family 17
[ 0.942] Bluetooth: RFCOMM TTY layer initialized
[ 0.942] Bluetooth: RFCOMM socket layer initialized
[ 0.942] Bluetooth: RFCOMM ver 1.11
[ 0.942] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 0.942] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 0.942] PM: CP0 COUNT/COMPARE frequency does not depend on divisor
[ 0.943] EBI CS0: setting up NAND flash (primary)
[ 0.943] ONFI param page 0 valid
[ 0.943] ONFI flash detected
[ 0.943] NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix H27U2G8F2CTR-BC)
[ 0.944] ONFI param page 0 valid
[ 0.944] ONFI flash detected
[ 0.944] NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix H27U2G8F2CTR-BC)
[ 0.944] brcmnand brcmnand.0: 256MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-4
[ 0.944] Bad block table found at page 131008, version 0x01
[ 0.944] Bad block table found at page 130944, version 0x01
[ 0.945] nand_read_bbt: bad block at 0x00000f180000
[ 0.945] Creating 7 MTD partitions on "brcmnand.0":
[ 0.945] 0x000000000000-0x000000180000 : "cfe"
[ 0.945] 0x000000180000-0x000000300000 : "devid"
[ 0.945] 0x000000300000-0x000000400000 : "cfenvram"
[ 0.945] 0x000000400000-0x000000c00000 : "rescue"
[ 0.945] 0x000000c00000-0x000001c00000 : "kernel"
[ 0.946] 0x000001c00000-0x000010180000 : "ubi"
[ 0.946] mtd: partition "ubi" extends beyond the end of device "brcmnand.0" -- size truncated to 0xe400000
[ 0.946] 0x000000000000-0x000010000000 : "entire_device"
[ 0.946] SPI clock: 6000000Hz
[ 0.946] No Swiper on this platform.
[ 0.946] Configured FPGA SPI
[ 0.947] i2c-gpio i2c-gpio.0: using pins 155 (SDA) and 154 (SCL)
[ 0.947] Warning: unable to open an initial console.
[ 0.949] Freeing unused kernel memory: 1876k freed
[ 0.950] kmsg output is not also going to console.
[ 0.950] initramfs started...
[ 0.950] UBI: attaching mtd5 to ubi0
[ 0.950] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.950] UBI: logical eraseblock size: 126976 bytes
[ 0.950] UBI: smallest flash I/O unit: 2048
[ 0.950] UBI: VID header offset: 2048 (aligned 2048)
[ 0.950] UBI: data offset: 4096
[ 1.330] mmc0: going to HIGHSPEED mode
[ 1.331] mmc0: new high speed SDHC card at address 2185
[ 1.331] mmcblk0: mmc0:2185 APPSD 31.2 GiB
[ 1.332] mmcblk0: p1
[ 2.031] UBI: max. sequence number: 1973
[ 2.042] UBI: attached mtd5 to ubi0
[ 2.042] UBI: MTD device name: "ubi"
[ 2.042] UBI: MTD device size: 228 MiB
[ 2.042] UBI: number of good PEBs: 1819
[ 2.042] UBI: number of bad PEBs: 5
[ 2.042] UBI: number of corrupted PEBs: 0
[ 2.042] UBI: max. allowed volumes: 128
[ 2.042] UBI: wear-leveling threshold: 4096
[ 2.042] UBI: number of internal volumes: 1
[ 2.042] UBI: number of user volumes: 2
[ 2.042] UBI: available PEBs: 1030
[ 2.042] UBI: total number of reserved PEBs: 789
[ 2.042] UBI: number of PEBs reserved for bad PEB handling: 18
[ 2.042] UBI: max/mean erase counter: 11/1
[ 2.042] UBI: image sequence number: 2112070168
[ 2.042] misc ubiblk_ctrl: proxying ubi0:1
[ 2.042] block ubiblk0_1: created from ubi0:1(rootfs)
[ 2.042] Verifying rootfs...
[ 2.042] UBI: background thread "ubi_bgt0d" started, PID 34
[ 13.782] Mounting rootfs from /dev/ubiblk0_1
[ 14.302] mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
[ 14.343] UBI volume is 1819 blocks
[ 15.216] UBIFS: mounted UBI device 0, volume 0, name "writable"
[ 15.216] UBIFS: file system size: 15745024 bytes (15376 KiB, 15 MiB, 124 LEBs)
[ 15.216] UBIFS: journal size: 1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
[ 15.216] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 15.216] UBIFS: default compressor: lzo
[ 15.216] UBIFS: reserved for root: 743676 bytes (726 KiB)
[ 15.218] Using user-space nexus
[ 15.235] bcmdriver: module license 'Proprietary' taints kernel.
[ 15.235] Disabling lock debugging due to kernel taint
[ 15.236] BCMDRV: Initializing bcmdriver version $ 8
[ 15.236] BCMDRV: Total intc words=3,Total Irqs=97
[ 15.236] BCMDRV: request_irq failed, irq:50 name:UPG_SPI
[ 15.236] BCMDRV: Initialization complete
[ 15.480] BRIGHTSIGN boot=5.1.3.1 rescue=5.1.33 mission=7.0.60 model=HD1022 REVD serial=78D4AE000123 hw=104f7d sk=1 sb=1
[ 15.493] Looking for crash dump:
[ 15.679] Reset causes: 0x500 reboot, sec dl reset
[ 15.679] No post-mortem crash dump available.
[ 15.736] usbmount-85: mount mmcblk0 /devices/platform/sdhci-brcmstb.0/mmc_host/mmc0/mmc0:2185/block/mmcblk0
[ 15.744] usbmount-85: path='/sys/devices/platform/sdhci-brcmstb.0/mmc_host/mmc0/mmc0:2185'
[ 15.752] mmcblk0: p1
[ 15.770] Disk /dev/mmcblk0: 33.5 GB, 33554432000 bytes
[ 15.770] 255 heads, 63 sectors/track, 4079 cylinders, total 65536000 sectors
[ 15.770] Units = sectors of 1 * 512 = 512 bytes
[ 15.770]
[ 15.770] Device Boot Start End Blocks Id System
[ 15.770] /dev/mmcblk0p1 8192 65535999 32763904 c Win95 FAT32 (LBA)
[ 15.785] usbmount-85: Considering /dev/mmcblk0p4...
[ 15.789] usbmount-85: Considering /dev/mmcblk0p3...
[ 15.794] usbmount-85: Considering /dev/mmcblk0p2...
[ 15.796] usbmount-85: Considering /dev/mmcblk0p1...
[ 15.801] usbmount-85: /dev/mmcblk0p1 is a valid block device
[ 15.985] Starting system message bus:
[ 16.129] dbus.
[ 16.205] ID_FS_LABEL=BRAUN
[ 16.205] ID_FS_LABEL_ENC=BRAUN
[ 16.205] ID_FS_UUID=E478-84F6
[ 16.205] ID_FS_UUID_ENC=E478-84F6
[ 16.205] ID_FS_TYPE=vfat
[ 16.215] usbmount-85: Filesystem on /dev/mmcblk0p1
[ 16.230] usbmount-85: ID_FS_TYPE=vfat
[ 16.245] usbmount-85: device_size=65527808
[ 16.245] usbmount-85: fsck_timeout=86
[ 16.671] lttng-sessiond(140):close(3) returning EBADF
[ 17.062] Spawning a session daemon
[ 17.062] Session bs created.
[ 17.062] Traces will be written in /var/volatile/lttng/lttng-traces/bs-19700101-000017
[ 17.245] fsck.fat 3.0.25 (2014-01-17)
[ 17.245] /dev/mmcblk0p1: 50 files, 12622/1023616 clusters
[ 17.253] timely: /sbin/dosfsck exited with 0 after 0s
[ 17.254] usbmount-85: fsck.vfat /dev/mmcblk0p1 succeeded
[ 17.265] usbmount-85: Successfully mounted /dev/mmcblk0p1 at /storage/sd.fwup
[ 17.268] usbmount-85: Cleaned up fsck cruft at /storage/sd.fwup
[ 17.269] UST channel channel0 enabled for session bs
[ 17.285] UST channel channel_high_freq enabled for session bs
[ 17.455] UTC read from RTC: Wed Mar 21 20:09:29 2018
[ 17.573] Starting dhcpcd eth0
[ 18.333] net-configure: eth0 start
[ 18.497] usbmount-85: Looking for firmware update at /storage/sd.fwup
[ 18.686] No appropriate upgrade files found.
[ 18.690] usbmount-85: Migrating mounted filesystem from /storage/sd.fwup to /storage/sd
[ 18.788] Successfully initialized wpa_supplicant
[ 18.790] __clk_enable: network [1]
[ 18.790] bcm7429_pm_network_enable 00
[ 18.790] __clk_enable: enet [1]
[ 18.790] bcm40nm_pm_genet_enable 00
[ 18.860] bcmgenet bcmgenet.0: eth0: link up, 100 Mbps, full duplex
[ 19.036] EAP-PEAP/MSCHAPv2: No identity configured
[ 19.043] sys_close: 1020 callbacks suppressed
[ 19.043] net-configure(195):close(15) returning EBADF
[ 19.053] bcmgenet bcmgenet.0: eth0: link down
[ 19.129] dhcpcd[195]: dhcpcd not running
[ 19.148] dhcpcd[197]: forked to background, child pid 199
[ 19.161] No inbound bandwidth shaping on eth0
[ 19.503] net-configure: eth0 update
[ 19.528] dhcpcd[199]: DUID 00:03:00:01:90:ac:3f:03:bd:c2
[ 19.528] dhcpcd[199]: eth0: IAID 3f:03:bd:c2
[ 19.603] dhcpcd[199]: eth0: soliciting an IPv6 router
[ 19.643] Power source: PSU
[ 19.650] Loading Broadcom WiFi:
[ 19.989] dhcpcd[199]: eth0: soliciting a DHCP lease
[ 20.032] dhcpcd[199]: eth0: carrier lost
[ 20.051] IP:eth0 NOCARRIER down
[ 20.095] usbcore: registered new interface driver dbus_usbdev
[ 20.195] modprobe: module btusb not found in modules.dep
[ 20.314] net-configure: eth0 update
[ 20.359] IP:eth0 EXPIRE down
[ 20.595] net-configure: eth0 update
[ 20.763] WiFi not found
[ 20.807] bcmgenet bcmgenet.0: eth0: link up, 100 Mbps, full duplex
[ 20.808] dhcpcd[199]: eth0: carrier acquired
[ 20.895] Starting ptp4l on domain 0...
[ 21.041] Starting ptp4l as maybe-master
[ 21.042] done
[ 21.097] net-configure: eth0 update
[ 21.108] ptp4l: ioctl SIOCETHTOOL failed: Operation not supported
[ 21.109] ptp4l: port 1: get_ts_info not supported
[ 21.110] ptp4l: port 1: INITIALIZING to LISTENING on INITIALIZE
[ 21.111] ptp4l: port 0: INITIALIZING to LISTENING on INITIALIZE
[ 21.133] dhcpcd[199]: eth0: IAID 3f:03:bd:c2
[ 21.139] net.ipv4.conf.eth0.force_igmp_version = 0
[ 21.512] dhcpcd[199]: eth0: soliciting a DHCP lease
[ 21.516] dhcpcd[199]: eth0: offered 192.168.10.36 from 192.168.10.1
[ 21.519] dhcpcd[199]: eth0: probing address 192.168.10.36/24
[ 21.841] dhcpcd[199]: eth0: soliciting an IPv6 router
[ 21.844] dhcpcd[199]: eth0: Router Advertisement from fe80::464e:6dff:fe3b:abd9
[ 21.844] dhcpcd[199]: eth0: adding address 2003:d5:2bc5:e500:92ac:3fff:fe03:bdc2/64
[ 21.849] dhcpcd[199]: if_addaddress6: Invalid argument
[ 21.918] dhcpcd[199]: setsockopt: SO_REUSEPORT: Protocol not available
[ 21.918] dhcpcd[199]: eth0: soliciting a DHCPv6 lease
[ 21.919] dhcpcd[199]: eth0: adding address 2003:d5:2bc5:e500:92ac:3fff:fe03:bdc2/64
[ 21.919] dhcpcd[199]: if_addaddress6: Invalid argument
[ 21.986] dhcpcd[199]: eth0: ADV 2003:d5:2bc5:e500:92ac:3fff:fe03:bdc2/128 from fe80::464e:6dff:fe3b:abd9
[ 21.990] dhcpcd[199]: eth0: REPLY6 received from fe80::464e:6dff:fe3b:abd9
[ 21.990] dhcpcd[199]: eth0: adding address 2003:d5:2bc5:e500:92ac:3fff:fe03:bdc2/128
[ 21.990] dhcpcd[199]: if_addaddress6: Invalid argument
[ 21.990] dhcpcd[199]: eth0: renew in 1800, rebind in 2880, expire in 7200 seconds
[ 22.002] IP:eth0 BOUND6 ip=2003:d5:2bc5:e500:92ac:3fff:fe03:bdc2 dns=fd00::464e:6dff:fe3b:abd9
[ 22.277] net-configure: eth0 update
[ 22.661] Starting extensions message bus:
[ 22.672] dbus.
[ 22.678] Skipping non-extension UBI writable
[ 22.685] Skipping non-extension UBI rootfs
[ 22.858] Feature 'EAC3' not set
[ 22.902] Feature 'AC3' not set
[ 22.966] share-terminal: serial console only
[ 23.105] IP:eth0 BOUND6 ip=2003:d5:2bc5:e500:92ac:3fff:fe03:bdc2 dns=fd00::464e:6dff:fe3b:abd9
[ 23.393] net-configure: eth0 update
[ 23.994] Starting BrightSign application...
[ 24.210] Starting brightsign tracing: default
[ 25.895] dhcpcd[199]: eth0: leased 192.168.10.36 for 864000 seconds
[ 25.895] dhcpcd[199]: eth0: adding route to 192.168.10.0/24
[ 25.895] dhcpcd[199]: eth0: adding default route via 192.168.10.1
[ 25.936] IP:eth0 BOUND ip=192.168.10.36 nm=255.255.255.0 gw=192.168.10.1 domain=fritz.box dns=192.168.10.1
[ 27.110] ptp4l: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
[ 27.111] ptp4l: selected best master clock 90ac3f.fffe.03bdc2
[ 27.111] ptp4l: assuming the grand master role
[ 29.101] net-configure: eth0 update
[ 37.715] BrightSign application bobcat-7.0.60 starting
[ 38.405] *** 00:00:00.392 nexus_platform_settings: MTG disabled
[ 38.425] Maximum audio sample rate supported: 192000Hz
[ 38.428] *** 00:00:00.002 nexus_platform_os: virtual l2 disabled
[ 38.428] *** 00:00:00.002 nexus_platform_os: shared gpio disabled
[ 38.431] *** 00:00:00.005 BCHP: found chip family 7429B0, product 7429B0
[ 38.431] *** 00:00:00.005 BCHP_PWR:
[ 38.431] *** 00:00:00.005 BCHP_PWR: ****************************************
[ 38.431] *** 00:00:00.005 BCHP_PWR: ****************************************
[ 38.431] *** 00:00:00.005 BCHP_PWR: ** BCHP_PWR POWER MANAGEMENT DISABLED **
[ 38.431] *** 00:00:00.005 BCHP_PWR: ****************************************
[ 38.431] *** 00:00:00.005 BCHP_PWR: ****************************************
[ 38.431] *** 00:00:00.005 BCHP_PWR:
[ 38.432] *** 00:00:00.006 BCHP: BCHP_Open7429: Setting CEC_ADDRxx register fields to 0x15 (Unregistered) address
[ 38.434] *** 00:00:00.008 nexus_platform: bobcat B0 16.4, boxmode 0, product 7241 B0
[ 38.454] *** 00:00:00.028 BHSM: BSP Platform[2.0.0] BSECK[1.0.0] modes[0x1F]
[ 38.471] *** 00:00:00.045 bdsp_raaga_img: AC3 decoding is not supported
[ 39.068] !!!Error BERR_INVALID_PARAMETER(0x2) at magnum/basemodules/dsp/src/raaga/firmware/fp2011/bdsp_raaga_img.c:1426
[ 39.068] ### 00:00:00.642 bdsp_raaga_fw_algo: Error in Opening the Image Interface for FW_ID =15
[ 39.068] !!!Error BERR_INVALID_PARAMETER(0x2) at magnum/basemodules/dsp/src/raaga/bdsp_raaga_fw_algo.c:5861
[ 39.068] !!!Error BERR_INVALID_PARAMETER(0x2) at magnum/basemodules/dsp/src/raaga/firmware/fp2011/bdsp_raaga_img.c:1426
[ 39.068] ### 00:00:00.642 bdsp_raaga_fw_algo: Error in Opening the Image Interface for FW_ID =16
[ 39.068] !!!Error BERR_INVALID_PARAMETER(0x2) at magnum/basemodules/dsp/src/raaga/bdsp_raaga_fw_algo.c:5861
[ 39.068] !!!Error BERR_INVALID_PARAMETER(0x2) at magnum/basemodules/dsp/src/raaga/firmware/fp2011/bdsp_raaga_img.c:1426
[ 39.068] ### 00:00:00.642 bdsp_raaga_fw_algo: Error in Opening the Image Interface for FW_ID =17
[ 39.068] !!!Error BERR_INVALID_PARAMETER(0x2) at magnum/basemodules/dsp/src/raaga/bdsp_raaga_fw_algo.c:5861
[ 39.429] *** 00:00:01.003 BXVD: BXVD_Open() - Hardware revision: L, Firmware revision: 160511
[ 39.489] *** 00:00:01.063 nexus_platform: initialized
[ 39.490] *** 00:00:01.063 nexus_statistics_module: platform[High] nexus/base/src/nexus_base_scheduler.c:838 561571 usec
[ 39.490] *** 00:00:01.064 nexus_statistics_callback: Timer callback 0x11409e0:0x7661db6c from common/src/linuxuser/nexus_platform_os.c:702 561716 usec
[ 39.549] !!!Error (0x110001) at magnum/portinginterface/i2c/src/bi2c.c:934
[ 39.550] !!!Error (0x110001) at magnum/portinginterface/i2c/src/bi2c.c:934
[ 39.589] NetworkTime: server changed to 'http://time.brightsignnetwork.com'
[ 39.589] NetworkTime: Configuration changed.
[ 39.774] commandline read: brightsign
[ 39.776] ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.17 |~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 39.776] (c) 2001-2012 The world wide DirectFB Open Source Community
[ 39.776] (c) 2000-2004 Convergence (integrated media) GmbH
[ 39.776] ----------------------------------------------------------------
[ 39.776]
[ 39.818] (*) DirectFB/Core: Single Application Core. (2017-12-27 13:45) [ DEBUG ]
[ 39.899] *** 00:00:00.000 platform_init: Broadcom Corporation DirectFB Platform Layer Version 7.0
[ 39.899] *** 00:00:00.000 nexus_common_init: Display heap: handle=0x1142628 size 272376kB - free 255992kB - largest block 255992kB
[ 39.899] *** 00:00:00.000 nexus_common_init: Offscreen heap: handle=0x1142628 size 272376kB - free 255992kB - largest block 255992kB
[ 39.948] (*) DirectFB/Graphics: Broadcom Corporation Bcmnexus Packet Buffer GFX Driver 4.3 (Broadcom Corporation)
[ 40.033] (*) Direct/Thread: Started 'BRCM NotifyDisplay' (-1) [OUTPUT OTHER/OTHER 0/0] <1048576>...
[ 40.056] sys_close: 2017 callbacks suppressed
[ 40.056] NetworkTimeThre(575):close(25) returning EBADF
[ 40.104] (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
[ 40.211] SignalDispatcher received signal 18
[ 40.211] Setting clock since we're not a PTP slave and difference is greater than two seconds.
[ 40.212] Setting system clock to 1521662992.000000
[ 40.214] NetworkTime: clock set to 2018/03/21 20:09:52.002 UTC
[ 40.219] *** 00:00:00.562 BHDM_EDID: Not UHD - using colorimetry 1
[ 40.285] *** 00:00:00.628 BHDM_PACKET_AVI: Attached Rx <BenQ GL2450H> does not support selectable RGB Quantization
[ 40.386] *** 00:00:00.729 nexus_statistics_module: display[High] nexus/base/src/nexus_base_scheduler.c:949 118711 usec
[ 40.386] *** 00:00:00.730 nexus_statistics_callback: Event callback 0x117fc20:0x76744238 from modules/display/src/nexus_display.c:991 118838 usec
[ 40.386] *** 00:00:00.730 nexus_statistics_api: NEXUS_Display_AddOutput[display:High] 168854 usec
[ 40.387] *** 00:00:00.730 platform_nexus_display: HDMI hotplug event: connected
[ 40.387] *** 00:00:00.730 BHDM_EDID: Not UHD - using colorimetry 1
[ 40.433] *** 00:00:00.777 BCHP_AVS: AVS support enabled!
[ 40.587] *** 00:00:00.931 nexus_statistics_callback: TaskCallback callback 0x1171a60:0x76627978 from modules/hdmi_output/src/nexus_hdmi_output.c:456 200684 usec
[ 40.588] *** 00:00:00.931 nexus_statistics_module: hdmi_output[Low] nexus/core/syncthunk/nexus_hdmi_output_thunks.c:26 200435 usec
[ 40.588] *** 00:00:00.931 nexus_statistics_api: NEXUS_HdmiOutput_GetVendorSpecificInfoFrame[hdmi_output:Low] 200493 usec
[ 40.608] *** 00:00:00.952 BHDM_EDID: Not UHD - using colorimetry 1
[ 40.809] *** 00:00:01.152 nexus_statistics_callback: TaskCallback callback 0x1171a60:0x76627978 from modules/hdmi_output/src/nexus_hdmi_output.c:456 200657 usec
[ 40.809] *** 00:00:01.152 nexus_statistics_module: hdmi_output[Low] nexus/core/syncthunk/nexus_hdmi_output_thunks.c:26 200456 usec
[ 40.809] *** 00:00:01.152 nexus_statistics_api: NEXUS_HdmiOutput_GetVendorSpecificInfoFrame[hdmi_output:Low] 200515 usec
[ 43.613] *** 00:00:03.957 BHDM_EDID: Not UHD - using colorimetry 1
[ 43.814] *** 00:00:04.157 nexus_statistics_callback: TaskCallback callback 0x1171a60:0x76627978 from modules/hdmi_output/src/nexus_hdmi_output.c:456 200710 usec
[ 44.985] This plugin does not support createPlatformOpenGLContext!
[ 46.498] Loading 'SD:/autorun.brs' (927af36c9b13ff167c681e3d55511eaa6e4f0401)
[ 57.290] TIME: Probe = 0.114672
[ 57.290] BSPLAY: Container: MP4;Video: H264[1 (prog 0 PCR 0)]: 1920x1080 1.78; 8bpp 60.00 FPS;Audio: AAC[2 (prog 0, PCR 0)] 2 channels 48000Hz Duration: 37205ms; Ref PTS: 0; File: "/storage/sd/player01.mp4" O player 0x1259ab0
[ 57.290] Playing: /storage/sd/player01.mp4
[ 57.290] Overriding: Audio output was set to compressed, but codec 3 is PCM only.
[ 57.290] Overriding: Audio output was set to compressed, but codec 3 is PCM only.
[ 57.291] VideoDecoder::Open stream_tsm 0
[ 57.295] Overriding: Audio output was set to compressed, but codec 3 is PCM only.
[ 57.295] Overriding: Audio output was set to compressed, but codec 3 is PCM only.
[ 57.352] *** 00:00:17.695 nexus_hdmi_output_drm: Receiver does not support HDR data block, no DRMInfoFrame sent. Displaying all video as SDR. Content may not appear correctly.
[ 57.352] *** 00:00:17.695 BHDM_EDID: Not UHD - using colorimetry 1
[ 57.553] *** 00:00:17.896 nexus_statistics_callback: TaskCallback callback 0x1171a60:0x76627978 from modules/hdmi_output/src/nexus_hdmi_output.c:456 200688 usec
[ 57.553] *** 00:00:17.896 nexus_statistics_module: display[High] nexus/core/syncthunk/nexus_display_thunks.c:26 185242 usec
[ 57.553] *** 00:00:17.896 nexus_statistics_api: NEXUS_Display_GetVsyncTimestamp[display:High] 185309 usec
[ 57.553] *** 00:00:17.896 nexus_statistics_callback: IsrCallbacks callback 0x1181c60:0x701f35e0 from modules/display/src/nexus_display_graphics.c:569 185395 usec
[ 57.554] *** 00:00:17.897 nexus_statistics_module: display[High] nexus/core/syncthunk/nexus_display_thunks.c:26 201143 usec
[ 57.554] *** 00:00:17.897 nexus_statistics_api: NEXUS_VideoInput_GetVbiSettings[display:High] 201241 usec
[ 57.554] Setup: decoder_settings.ptsOffset 0
[ 57.591] Playing video to video layer
[ 57.591] FireEvent 27 MEDIAPREPARED (line 1114)
[ 57.592] TIME: PlayFile = 0.416834
[ 57.593] *** 00:00:17.937 bmp4_track: b_mp4_edit_stream_load: 0x12d58c0 not supported entry in the EDIT box media_time:1000:3345000
[ 57.594] *** 00:00:17.937 bmp4_track: b_mp4_edit_stream_load: 0x12da860 not supported entry in the EDIT box media_time:0:3345000
[ 57.606] NEXUS_Playback_Start returned 0
[ 58.202] FireEvent 3 PLAYING (line 1235)
[ 58.203] Overriding: Audio output was set to compressed, but codec 3 is PCM only.
[ 58.203] Overriding: Audio output was set to compressed, but codec 3 is PCM only.
[ 95.818] *** 00:00:56.161 BXDM_PPV2: Late - request decoder drops 4456 frames
[ 96.401] *** 00:00:56.744 BXDM_PPV2: Late - request decoder drops 4448 frames
[ 97.734] *** 00:00:58.078 BXDM_PPV2: Late - request decoder drops 4350 frames
[ 99.001] *** 00:00:59.344 BXDM_PPV2: Late - request decoder drops 4256 frames
[ 100.284] *** 00:01:00.628 BXDM_PPV2: Late - request decoder drops 4162 frames
[ 101.617] *** 00:01:01.961 BXDM_PPV2: Late - request decoder drops 4066 frames
[ 102.918] *** 00:01:03.261 BXDM_PPV2: Late - request decoder drops 3970 frames
[ 104.201] *** 00:01:04.544 BXDM_PPV2: Late - request decoder drops 3872 frames
[ 105.484] *** 00:01:05.828 BXDM_PPV2: Late - request decoder drops 3778 frames
[ 106.817] *** 00:01:07.161 BXDM_PPV2: Late - request decoder drops 3682 frames
[ 108.118] *** 00:01:08.461 BXDM_PPV2: Late - request decoder drops 3586 frames
[ 109.401] *** 00:01:09.744 BXDM_PPV2: Late - request decoder drops 3488 frames
[ 110.684] *** 00:01:11.028 BXDM_PPV2: Late - request decoder drops 3394 frames
[ 112.017] *** 00:01:12.361 BXDM_PPV2: Late - request decoder drops 3298 frames
[ 113.318] *** 00:01:13.661 BXDM_PPV2: Late - request decoder drops 3202 frames
[ 114.601] *** 00:01:14.944 BXDM_PPV2: Late - request decoder drops 3104 frames
[ 115.884] *** 00:01:16.228 BXDM_PPV2: Late - request decoder drops 3010 frames
[ 117.217] *** 00:01:17.561 BXDM_PPV2: Late - request decoder drops 2914 frames
[ 118.518] *** 00:01:18.861 BXDM_PPV2: Late - request decoder drops 2818 frames
[ 119.101] *** 00:01:19.444 BXDM_PPV2: Late - request decoder drops 7296 frames
[ 119.684] *** 00:01:20.028 BXDM_PPV2: Late - request decoder drops 7242 frames
[ 121.017] *** 00:01:21.361 BXDM_PPV2: Late - request decoder drops 7146 frames

The decoder drops get higher and higher...

 

Thanks

Timo

4 comments

  • 0
    Avatar
    Bright Scripters

    Probably best to simplify first, and gradually add complexity.

    Make suer that your video is encoded for the task.

    https://brightsign.zendesk.com/hc/en-us/articles/218066567-Seamless-video-playback

    Isolate the master from any network activity, and loop the video on the master, without any roSyncManager code.

    Also, is the video looping well when placed on a blank SD card?

     

    Once you get the video to loop well, you could then add the roSyncManager code, without any other player on the same network.

    When that works well, add a slave, and so on...

  • 0
    Avatar
    Timo

    The biggest problem was the video file.

    The first try I was using an online converter (mp4>mov) and it was still with errors (frame drops). The I downloaded some freeware converter and with this converted file it is now working perfectly.

  • 0
    Avatar
    Bright Scripters

    Glad to hear you were able to resolve. Encoding can be tricky at times...

    Which encoder have you ended up using?

    We tend to use ffmpeg which is very powerful, multi-platform and free. 

  • 0
    Avatar
    Timo

    Will try ffmpeg next time, but it has so many options...;-)

    I have used the free version of "Any Video Converter / AVC".

Please sign in to leave a comment.