Closed mmunderlinegithub closed 2 years ago
Please explain why would you want to use a Macbook in your installation? I would solve the task like this:
Edit:
You could of course trigger a startall command over OSC with an OSCtimeline software of your choice where you trigger the PocketVJ's and your Audio player.
Theaters mostly use OSC (with QLAB). e.g. from command line it would be:
oscsend 2.0.0.100 9876 /startmaster
Event people do it often via TCP/UDP commands, e.g with curl you would:
curl -s http://2.0.0.100/backend.php/?action=startmaster
However, I will explain how the sync works:
The master/sender player distributes a timecode over the network, it looks something like this
9.65 16
you can achieve this by manually starting the player in verbose mode, e.g.:
/usr/bin/omxplayer-sync -muv /media/internal/video/01_Testfile_HD.mp4
Since in the first few seconds the player outputs unreliable numbers, we wait for 5-10s until the whole syncing process starts. The slaves/receivers then validate what timecode they get and where they are, if they are ahead, they go into pause, if they are behind they make a fast forward. We do this with dbus commands. The players sometimes are flickering a bit within a very small timerange, for this we created the SYNC_TOLERANCE entry, which is by default on .05
I'd like to use a macbook because I need ableton playing quadrophonic audio. Could also imagine to use a file playing all four channels from the same file. Is this possible via your solution with a 4th PI playing the four channels? I assume no because the jack out is stereo. So maybe I have to go with MacBook and some kind of OSC. As far as I understand - it works with QLAB right?
(still thinking about it, coming back to post my solution)
shout out: any inputs from other users having a similar setup !!?
check this too: https://github.com/magdesign/PocketVJ-CP-v3/issues/69 https://github.com/magdesign/PocketVJ-CP-v3/issues/5#issuecomment-453174457
btw. since Ableton only supports midi, you could trigger via midi :)
any news on this?
still on it! gonna send my solution soon.
I would do as @magdesign suggests, if you don't mind rendering videos with audio. Then use osc/midi if you need to start from your computer. If you need live audio from your computer, send the same osc/midi start signal, but use computer output for audio. I am curious if you could send sync from desktop somehow. I'm a bit rusty, but could ofxVideoSync addon work @magdesign?
@BjarneJensen
ofxVideoSync addon does not work with omxplayer-sync, its quite a long time ago since we wrote the sync script, but I guess you could bind to the socket and send upcounting numbers in milliseconds... but this must be fluent since omxplayer is not able to use any transport protocol and only checks if the time in master and slave are the same...
Hey everyone. I did it just in the simplest way.
I changed my workflow and bounced the four audio channels to two stereo files and added them each to a PI. Thats it. Surely, there are situation this solution dosent works. E.g. if you have live audio or more channels than PIs and so on...
But thanks indeed for the help!
Greetings, MM
Hi everyone!
I am looking for a solution to sync audio and video and am not coming up with any solution. Do you know a solution for the red arrow (attachment). It could be some kind of sync signal (OSC, MIDI, any other protocol) I just don't know exactly what the Pocket VJ accepts or if it does at all.
I'm sure I'm not the only one with this question? (hopefully)
Thanks everyone for helping! MM