multiple video synchronous
  • Frasch
    junior Member
    Posts: 1
    Joined: Tue Feb 19, 2019 5:21 pm

    multiple video synchronous

    by Frasch » Tue Feb 19, 2019 5:39 pm

    I'm really new with Madmapper, hopefully someone can help.
    I use Madmapper for two different projectors with different aspect ratio at the same time as a side by side projection. Each projector need to show his own video-file: Projector 1 shows video-file 1; Projektor 2 shown video-file 2. Video-files needs to auto repeat after reaching the end.
    Both video-files got the same codec and the same duration.
    I use the new MacBook Pro. The geometry setup is already done and fine.
    Here is my question: How can I start both video-files at the same time running Madmapper. I hope there is a possibility to do this. I don´t want to use third party solutions.
    Looking forward for any help, thanks!
  • mad-matt
    garageCube team
    Posts: 790
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: multiple video synchronous

    by mad-matt » Wed Feb 20, 2019 3:11 pm

    There are different options but the simplest one is: create a single movie file with all your movies in it (ie 3x1920 x 1080) and assign this video to all quads select the desired input rectangle in the input preview.
  • Teunkneus
    member
    Posts: 45
    Joined: Thu Feb 01, 2018 5:15 pm

    Re: multiple video synchronous

    by Teunkneus » Thu Feb 28, 2019 2:21 pm

    I'm really new with Madmapper, hopefully someone can help.
    I use Madmapper for two different projectors with different aspect ratio at the same time as a side by side projection. Each projector need to show his own video-file: Projector 1 shows video-file 1; Projektor 2 shown video-file 2. Video-files needs to auto repeat after reaching the end.
    Both video-files got the same codec and the same duration.
    I use the new MacBook Pro. The geometry setup is already done and fine.
    Here is my question: How can I start both video-files at the same time running Madmapper. I hope there is a possibility to do this. I don´t want to use third party solutions.
    Looking forward for any help, thanks!
    You could create a scene with all 3 quads (every quad is a projector) in the scene. Just make a OSC,DMX or keyboard command to start the scene.
    You could make a bigger video but this depends on codec if its allowed with te resolution. So I like to go for safe. Also you can easily add transitions and playlist and all videos will always start at the same time.
  • edwardli
    junior Member
    Posts: 4
    Joined: Mon Sep 24, 2018 11:28 am

    Re: multiple video synchronous

    by edwardli » Sat Mar 09, 2019 12:37 pm

    I'm having the same problem, but with three 4k videos auto repeat.

    I've set a keyboard shortcut with Scene, all 3 videos start playing simultaneously. However after a full day playing, the videos start to be out of sync...

    So I guess I've solved the first part (starting in sync), but how to keep them in sync forever?

    Thanks a lot!
  • mad-matt
    garageCube team
    Posts: 790
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: multiple video synchronous

    by mad-matt » Sat Mar 09, 2019 10:00 pm

    If MadMapper uses FFMPEG Player, we handle frames manually, and your movies should keep in sync.
    On macOS, if you activated "Use hardware acceleration", we use Apple AVFoundation player, and this Apple component handles timing and decompression. I can't guarantee it won't drift.
    What's your situation when movies are drifting ? Which OS & which player is MadMapper using ?
  • edwardli
    junior Member
    Posts: 4
    Joined: Mon Sep 24, 2018 11:28 am

    Re: multiple video synchronous

    by edwardli » Sun Mar 10, 2019 10:01 am

    Thanks for the reply, actually I have 2 different setup facing the same problem.

    Setup 1:
    Mac Pro 2013, Six 1920*1080 or 1920*1200 output with Active HDMI Adaptor
    6 individual mp4 H.264, with hardware acceleration enabled -> outsync after long time playback

    Setup 2:
    Mac Pro 2013, Six 1512*1176 output with Active HDMI Adaptor
    - 3 individual 3024px*1176px H.264 without hardware acceleration -> system freeze + MadMapper crash after long time playback, can SSH inside, Screen Sharing shows full white screen, TeamViewer shows full black screen, can move the cursor around, Cmd+T not responding

    - 3 individual 3024px*1176px HAPQ with hardware acceleration -> crash after long time playback (from crashlog it is related to graphics, as I saw ATI kext related stuff)

    - 3 individual 3024px*1176px HAPQ without hardware acceleration -> no crashing anymore finally, but outsync after long time playback
  • edwardli
    junior Member
    Posts: 4
    Joined: Mon Sep 24, 2018 11:28 am

    Re: multiple video synchronous

    by edwardli » Sun Mar 10, 2019 6:14 pm

    Image

    Oops, actually using Hap Q without hardware acceleration causes the same freezing...

    SSH in and found that MadMapper is still running, but even if I kill it, the Screen Sharing is still just full white, TeamViewer shows full black, so all GUI stuff is dead

    tried

    Code: Select all

    killall SystemUIServer

    Code: Select all

    killall -KILL Dock
    won't work, must restart the macOS to bring it back to life

    here is the related crash log:
    Anonymous UUID: 4E63CD77-0D06-C856-0C13-7CB90AF5D99F

    Mon Mar 11 00:12:18 2019

    *** Panic Report ***
    panic(cpu 2 caller 0xffffff7f9064664b): "displayModeDidChange failed: set_display_mode_and_vram failed!
    "@/BuildRoot/Library/Caches/com.apple.xbs/Sources/GPUDriversAMD/GPUDriversAMD-1.68.20/Common/GLKernel/ATI/Accel/AMDAccelDisplayMachine.cpp:321
    Backtrace (CPU 2), Frame : Return Address
    0xffffffa786dbb460 : 0xffffff800d86c1c6
    0xffffffa786dbb4b0 : 0xffffff800d995274
    0xffffffa786dbb4f0 : 0xffffff800d987544
    0xffffffa786dbb560 : 0xffffff800d81e1e0
    0xffffffa786dbb580 : 0xffffff800d86bc3c
    0xffffffa786dbb6b0 : 0xffffff800d86b9fc
    0xffffffa786dbb710 : 0xffffff7f9064664b
    0xffffffa786dbb840 : 0xffffff7f905a1568
    0xffffffa786dbb870 : 0xffffff7f905ce4a1
    0xffffffa786dbb8b0 : 0xffffff7f8e98ea76
    0xffffffa786dbb960 : 0xffffff7f8e97b9bc
    0xffffffa786dbb9a0 : 0xffffff7f8e985f09
    0xffffffa786dbb9c0 : 0xffffff7f8e980a7c
    0xffffffa786dbba30 : 0xffffff7f8e98c613
    0xffffffa786dbba50 : 0xffffff7f8e98cf0e
    0xffffffa786dbba90 : 0xffffff7f8e98cd00
    0xffffffa786dbbad0 : 0xffffff800dec1978
    0xffffffa786dbbb20 : 0xffffff7f8e992f63
    0xffffffa786dbbb70 : 0xffffff800deca567
    0xffffffa786dbbcb0 : 0xffffff800d942bf4
    0xffffffa786dbbdc0 : 0xffffff800d8716e0
    0xffffffa786dbbe10 : 0xffffff800d84ea3d
    0xffffffa786dbbe60 : 0xffffff800d86154b
    0xffffffa786dbbef0 : 0xffffff800d97171d
    0xffffffa786dbbfa0 : 0xffffff800d81e9e6
    Kernel Extensions in backtrace:
    com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8e972000->0xffffff7f8e9bafff
    dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f8e094000
    com.apple.iokit.IOAcceleratorFamily2(378.26)[AE312652-F3AF-3BFD-AEFF-FE4CCCC33BA9]@0xffffff7f90596000->0xffffff7f9062efff
    dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[4FAE8181-B0B4-3A30-B0F3-77F48D2486E5]@0xffffff7f8e937000
    dependency: com.apple.iokit.IOSurface(211.15)[37BCC686-AF99-3381-AC4F-E54A347E0F40]@0xffffff7f9057b000
    dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f8e094000
    dependency: com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8e972000
    com.apple.kext.AMDRadeonX4000(1.6.8)[3A5B2002-9BF9-36B4-BBC4-15B37FCEAD7B]@0xffffff7f9063f000->0xffffff7f90af8fff
    dependency: com.apple.iokit.IOSurface(211.15)[37BCC686-AF99-3381-AC4F-E54A347E0F40]@0xffffff7f9057b000
    dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f8e094000
    dependency: com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8e972000
    dependency: com.apple.iokit.IOAcceleratorFamily2(378.26)[AE312652-F3AF-3BFD-AEFF-FE4CCCC33BA9]@0xffffff7f90596000

    BSD process name corresponding to current thread: WindowServer

    Mac OS version:
    17G65

    Kernel version:
    Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
    Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F
    Kernel slide: 0x000000000d600000
    Kernel text base: 0xffffff800d800000
    __HIB text base: 0xffffff800d700000
    System model name: MacPro6,1 (Mac-F60DEB81FF30ACF6)

    System uptime in nanoseconds: 177189040746260
    last loaded kext at 9367230809283: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f91b1d000, size 32768)
    last unloaded kext at 9539770491267: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f91b1d000, size 32768)
    loaded kexts:
    at.obdev.nke.LittleSnitch 5094
    com.apple.filesystems.autofs 3.0
    com.apple.driver.AudioAUUC 1.70
    com.apple.driver.AGPM 110.23.37
    com.apple.driver.ApplePlatformEnabler 2.7.0d0
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.driver.AppleUpstreamUserClient 3.6.5
    com.apple.driver.AppleMCCSControl 1.5.5
    com.apple.kext.AMDFramebuffer 1.6.8
    com.apple.kext.AMDRadeonX4000 1.6.8
    com.apple.driver.AppleGraphicsDevicePolicy 3.20.13
    com.apple.driver.AppleHDA 281.52
    com.apple.AGDCPluginDisplayMetrics 3.20.13
    com.apple.driver.AppleHV 1
    com.apple.iokit.IOUserEthernet 1.0.1
    com.apple.iokit.IOBluetoothSerialManager 6.0.7f10
    com.apple.driver.pmtelemetry 1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.eficheck 1
    com.apple.driver.AppleOSXWatchdog 1
    com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
    com.apple.driver.AppleLPC 3.1
    com.apple.driver.AppleMGPUPowerControl 3.20.13
    com.apple.driver.AppleIntelMCEReporter 107
    com.apple.kext.AMD7000Controller 1.6.8
    com.apple.driver.AppleThunderboltIP 3.1.1
    com.apple.filesystems.hfs.kext 407.50.6
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.BootCache 40
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
    com.apple.AppleSystemPolicy 1.0
    com.apple.filesystems.apfs 748.51.0
    com.apple.iokit.AppleBCM5701Ethernet 10.3.1
    com.apple.driver.AirPort.BrcmNIC 1241.31.1a9
    com.apple.driver.AppleAHCIPort 329.50.2
    com.apple.driver.AppleACPIEC 6.1
    com.apple.driver.AppleACPIButtons 6.1
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 220.50.1
    com.apple.nke.applicationfirewall 183
    com.apple.security.TMSafetyNet 8
    com.apple.security.quarantine 3
    com.apple.driver.AppleIntelCPUPowerManagement 220.50.1
    com.apple.kext.triggers 1.0
    com.apple.driver.AppleSMBusController 1.0.18d1
    com.apple.kext.AMDRadeonX4030HWLibs 1.0
    com.apple.iokit.IOAcceleratorFamily2 378.26
    com.apple.kext.AMDRadeonX4000HWServices 1.6.8
    com.apple.driver.DspFuncLib 281.52
    com.apple.kext.OSvKernDSPLib 526
    com.apple.iokit.IOAVBFamily 680.2
    com.apple.plugin.IOgPTPPlugin 680.15
    com.apple.driver.AppleSSE 1.0
    com.apple.iokit.IOSurface 211.15
    com.apple.iokit.IOSerialFamily 11
    com.apple.AppleGPUWrangler 3.20.13
    com.apple.driver.AppleHDAController 281.52
    com.apple.iokit.IOHDAFamily 281.52
    com.apple.iokit.IOAudioFamily 206.5
    com.apple.vecLib.kext 1.2.0
    com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
    com.apple.driver.AppleGraphicsControl 3.20.13
    com.apple.driver.AppleBacklightExpert 1.1.0
    com.apple.iokit.IONDRVSupport 519.20
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.IOPlatformPluginFamily 6.0.0d8
    com.apple.kext.AMDSupport 1.6.8
    com.apple.AppleGraphicsDeviceControl 3.20.13
    com.apple.iokit.IOGraphicsFamily 519.20
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 6.0.7f10
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 6.0.7f10
    com.apple.iokit.IOBluetoothHostControllerTransport 6.0.7f10
    com.apple.iokit.IOBluetoothFamily 6.0.7f10
    com.apple.driver.usb.IOUSBHostHIDDevice 1.2
    com.apple.driver.usb.networking 5.0.0
    com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
    com.apple.driver.usb.AppleUSBHub 1.2
    com.apple.filesystems.hfs.encodings.kext 1
    com.apple.driver.AppleThunderboltDPInAdapter 5.5.5
    com.apple.driver.AppleThunderboltDPAdapterFamily 5.5.5
    com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.3
    com.apple.iokit.IOAHCIBlockStorage 301.40.2
    com.apple.driver.AppleThunderboltNHI 4.7.2
    com.apple.iokit.IOThunderboltFamily 6.7.8
    com.apple.driver.usb.AppleUSBXHCIPCI 1.2
    com.apple.driver.usb.AppleUSBXHCI 1.2
    com.apple.iokit.IOEthernetAVBController 1.1.0
    com.apple.iokit.IO80211Family 1200.12.2
    com.apple.driver.mDNSOffloadUserClient 1.0.1b8
    com.apple.driver.corecapture 1.0.4
    com.apple.iokit.IOAHCIFamily 288
    com.apple.driver.usb.AppleUSBEHCIPCI 1.2
    com.apple.driver.usb.AppleUSBEHCI 1.2
    com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
    com.apple.iokit.IOUSBFamily 900.4.1
    com.apple.driver.AppleUSBHostMergeProperties 1.2
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.driver.AppleEFINVRAM 2.1
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.driver.AppleEFIRuntime 2.1
    com.apple.security.sandbox 300.0
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.DiskImages 480.60.1
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleEffaceableStorage 1.0
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.AppleUSBTDM 439.70.3
    com.apple.driver.AppleMobileFileIntegrity 1.0.5
    com.apple.iokit.IOUSBMassStorageDriver 140.70.2
    com.apple.iokit.IOSCSIBlockCommandsDevice 404.30.2
    com.apple.iokit.IOSCSIArchitectureModelFamily 404.30.2
    com.apple.iokit.IOStorageFamily 2.1
    com.apple.driver.AppleCredentialManager 1.0
    com.apple.driver.KernelRelayHost 1
    com.apple.iokit.IOUSBHostFamily 1.2
    com.apple.driver.usb.AppleUSBCommon 1.0
    com.apple.driver.AppleBusPowerController 1.0
    com.apple.driver.AppleSEPManager 1.0.1
    com.apple.driver.IOSlaveProcessor 1
    com.apple.iokit.IOReportFamily 31
    com.apple.iokit.IOTimeSyncFamily 680.15
    com.apple.iokit.IONetworkingFamily 3.4
    com.apple.driver.AppleACPIPlatform 6.1
    com.apple.driver.AppleSMC 3.1.9
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.pthread 1
    com.apple.kec.Libm 1
    com.apple.kec.corecrypto 1.0

    EOF
    Model: MacPro6,1, BootROM MP61.0124.B00, 4 processors, Quad-Core Intel Xeon E5, 3.7 GHz, 64 GB, SMC 2.20f18
    Graphics: AMD FirePro D300, AMD FirePro D300, PCIe
    Graphics: AMD FirePro D300, AMD FirePro D300, PCIe
    Memory Module: DIMM1, 16 GB, DDR3 ECC, 1866 MHz, 0x80AD, 0x484D54343247523741465234432D52442020
    Memory Module: DIMM2, 16 GB, DDR3 ECC, 1866 MHz, 0x80AD, 0x484D54343247523741465234432D52442020
    Memory Module: DIMM3, 16 GB, DDR3 ECC, 1866 MHz, 0x802C, 0x33364A534632473732505A2D314739453120
    Memory Module: DIMM4, 16 GB, DDR3 ECC, 1866 MHz, 0x802C, 0x33364A534632473732505A2D314739453120
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x135), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
    Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en2
    Network Service: Ethernet 1, Ethernet, en0
    PCI Card: AMD FirePro D300, Display Controller, Slot-2
    PCI Card: AMD FirePro D300, Display Controller, Slot-1
    Serial ATA Device: APPLE SSD SM0256G, 251 GB
    USB Device: USB 2.0 Bus
    USB Device: Hub
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: USB 3.0 Bus
    USB Device: USB Receiver
    Thunderbolt Bus: Mac Pro, Apple Inc., 19.2
    Thunderbolt Bus: Mac Pro, Apple Inc., 19.2
    Thunderbolt Bus: Mac Pro, Apple Inc., 19.2
  • edwardli
    junior Member
    Posts: 4
    Joined: Mon Sep 24, 2018 11:28 am

    Re: multiple video synchronous

    by edwardli » Tue Mar 12, 2019 5:40 pm

    After a long time disappointment, I've:
    - Upgrade the macOS to latest Mojave (see if Apple did any bug fixes to the graphic driver)
    - Switched to use Hap instead of HapQ (hope to reduce the CPU usage)
    - Stitched all 3 videos into a single one (so no more out sync problem can occur, w/ or w/o Hardware Acceleration)

    So far no more crashes and no more system freezing

    Just can't believe there isn't any reliable built in mechanism for playing certain video in sync :(
  • Teunkneus
    member
    Posts: 45
    Joined: Thu Feb 01, 2018 5:15 pm

    Re: multiple video synchronous

    by Teunkneus » Mon Mar 25, 2019 2:17 pm

    It should be possible to do a OSC signal after every loop and start the other movies on this command?
    So If it ends it gives a play to the other movies?

    But My choice is more often to make 1 big video out of the bunch, it has the best sync available...but it is not always possible.

Who is online

Users browsing this forum: No registered users and 3 guests