x42 / xjadeo

X JAck viDEo mOnitor: a tool that displays a video clip in sync with an external time source (jack-transport, LTC and MTC). Applications include: soundtrack composition/editing, video monitoring and -installations.
http://xjadeo.sf.net/
GNU General Public License v2.0
41 stars 7 forks source link

Multiple instances playing different videos using MMC/MTC #29

Open mrlimbic opened 6 years ago

mrlimbic commented 6 years ago

I need to run two instances of xjadeo showing different versions of a video and receiving different timecodes relevant to each version (because the same portion of video maybe in a different place in each).

How can I change the port or channel each instance of xjadeo is listening to?

mrlimbic commented 6 years ago

I've tried opening two instances from command line using -m 1 and -m 2

But both instances start responding to channel 1 then when MTC starts from channel 2 the videos stop playing (I assume the conflict is confusing it).

How do I determine what numbers to use after -m to separate them? (Mac OS)

x42 commented 6 years ago

Is JACK MIDI an option? Every jack-client has a different port and it is easy to connect them to different sources.

I never really tested port-midi support beyond the basics. Also on OSX/MacOS the application is generally limited to a single instance when started from the finder. I'm sorry but you're likely on your own there.

mrlimbic commented 6 years ago

Needs to be system midi ideally. I would be starting two instance from the command line. The manual doesn't make it very clear what should go after -m. It seems like it should be possible in theory.

x42 commented 6 years ago

Usually a numeric ID, perhaps try --midi-driver portmidi -v -m -1 to list ports.

There is also an application to configure portmidi: https://sourceforge.net/p/portmedia/wiki/PmDefaults/ but I don't have any 1st hand experience with it either. I'm sorry.

mrlimbic commented 6 years ago

Ah yes... Thanks.. that looks like it.. I should have used 0 & 1, not 1 & 2.

0: CoreMIDI, IAC Driver IAC Bus 1 (input) (*) 1: CoreMIDI, IAC Driver IAC Bus 2 (input) 2: CoreMIDI, IAC Driver IAC Bus 1 (output) 3: CoreMIDI, IAC Driver IAC Bus 2 (output)

mrlimbic commented 6 years ago

Yes. Done it. It works!!! Thanks.

mrlimbic commented 5 years ago

I've just noticed one quirk when opening Jadeo from the commmandline.

It ignores the video file it is given. Yet it doesn't ignore any the other parameters. They seem to work fine.