problem with syphon/simple client in a video mixer (VIDEO EXPLAINING)

shaker08's picture

Hi im nacho from spain, im working in my own vj app based on quartz , i custom a jersmi composition fader A-B to be controlled by my akai mpd24 and load videos from a folder. So the problem appears ,as i explain in the video, when i change the index to change the video... i root a output to a syphon input image but it lost the signal when i turn my rotatory knob to select a new video... i solved it creating multiple outputs from a select folder video macropatch.... but this way make slow down the flow of the video output. any ideas to fix it or solved it ?? THANKSSS!!!

http://www.youtube.com/watch?v=A9XixFV7kQA&feature=youtu.be

PD: sorry for my horrible english remenber im a spanish!!! ^^

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

jersmi's picture
Re: problem with syphon/simple client in a video mixer ...

hmm, not sure what's up with that. what is your midi controller sending? i think it should work without the multiplexer. maybe post a qtz?

vade's picture
Re: problem with syphon/simple client in a video mixer ...

Can you post your QC Comp? Its unclear from your video quite what is happening. I get the general gist of it, but I am not quite ready to speculate on any reasons why things are slow.

First thing I would suggest using an "Image Multiplexer" rather than a "Virtual Multiplexer" (you can change the type in settings).

Simple Client changes its preview and list of servers based on when new servers come online. Are you sure you are not changing anything for the Syphon Servers to make them rebuild the list?

Do you have anything in the QC log?

Also, for speed, its highly suggested to use Asynchronous mode for your Movie Player patches.

shaker08's picture
Re: problem with syphon/simple client in a video mixer ...

Hi and thanks !!

  • multyplexer is necesary to adapt de midi imput values ( 0/0.1/0.2(0.3............1 ) to a (0/1/2/3.......10) to select 10 videos from the folder

  • vade im triying the configuration that you told me but the video getting worse, coming to stop...i dont known why...sorry..

im busy working now but im triying to make a simple abbreviation of the composition to show you it to you tonight or tomorrow as to late..

many thanks..this is one of the last step to finish my project !!!

jersmi's picture
Re: problem with syphon/simple client in a video mixer ...

The multiplexer should not be the problem, but you still don't need it to convert midi message to index. you can use a math patch, for example.

shaker08's picture
Re: problem with syphon/simple client in a video mixer ...

Hi again !!! I reduce the composition to see better the problem with syphon server. here is the instructions

1 open the composition

2 open simple client

3 go into the "load video macro patch" inside th composition and drag a video folder directory of your local disk inside directory scanner patch

4 up in the composition and click in the fade B" to change the video..

Now if you focus in the video source of the simple client you will see how it lost the signal when you change a video, in my video mixer composition its means that when it lost the signal automatically found a new source... that's not good for a preview system ...

PreviewAttachmentSize
PROBLEM 1.qtz4.74 KB

shaker08's picture
Re: problem with syphon/simple client in a video mixer ...

here again with the problem 2 .... i try to fix the problem 1 multiply the structure member and movie importer (one for each video ) and conecting each output to a multiplexer, now you can change the video with the multiplexer index and syphon dosnt lost the signal, its work...but with a extremely low FPS .. i need optimize it because it will be multiply for 6 ( 3 video chanels with 2 video selectors ). i hope we can will solve it . many THANKS !!!

PreviewAttachmentSize
PROBLEM 2.qtz11.07 KB

shaker08's picture
Re: problem with syphon/simple client in a video mixer ...

i cant remenber if the problem 1 composition is enable or not..... click in the editor outside a patch and go to the inspector menu an click over enable..thanks!

vade's picture
Re: problem with syphon/simple client in a video mixer ...

Why are you using Simple Client as a "preview system" Its not meant to do that. Its a developer tool, and super simple / basic implementation of Syphon to show how it works. Thats it.

Problem 1:

The reason the Syphon Server stops sending is because for a frame or more, there is no image feeding the input (it actually sends 'nil') , which means that the Syphon Server deactivates. When the server deactivates the server 'retires', going away. When you then start sending the image, the server comes back on line. So it effectively 'blinks'. The solution is to use a "Validate Image" patch before you send to the Billboard and to Syphon.

PreviewAttachmentSize
PROBLEM 1.qtz8.54 KB

vade's picture
Re: problem with syphon/simple client in a video mixer ...

Actually, to be clear, you really need to understand how QC works. It uses a pull mechanism, not a push. This comes as a surprise or a lack of interest to some, but it has repercussions like the above.

Whenever a Consumer (blue patch) runs, it requests the upstream patches connected to it to run. If those patches do not output anything, the Consumer does not render and deactivates*

If the upstream patch has something upstream of it, the same thing happens, and requests filter up through the entire chain to the top, and execution filters back down finally hitting the blue consumer.

This is partly why QC is so fast, it does this (known as Lazy Evaluation) and its super important to understand and to grasp.

shaker08's picture
Re: problem with syphon/simple client in a video mixer ...

to be clear i think so... :D but my learning curve is instinctive... and its so dificult to my understand all they say in the patch info.. but well, you bring me the solution that i was looking for THANKS!!!

anyway if you known any info in spanish about how quartz composer works i will be sooooo glad !!! jejejeje cheers