PS3 eye ti syphon, multiple ps3 eye



  • After always having trouble with getting multiple ps3 cameras running and getting full frame rate out of these cameras I have made a simple solution (sorry mac only).

    It supports multiple cameras, and will automatically detect how many cameras you are running and expand based on how many you have. Each camera will have its own syphon output. At the moment framerates and sizes are universal so you only get on setting for the camera. Each camera however keeps its own settings. All settings can be changed any time via OSC.
    Tested with 2 cameras because I do not have any more.
    Instructions
    EDIT: Download now from github (app is in the bin folder)
    https://github.com/fred-dev/Ps3EYE_multicam_syphon_gui_osc
    press g to show the gui
    click on the settings bar to access settings.
    to go to the next camera press n
    to go to the previous camera press p
    The camera resolution framerate and the OSC input port are all set in the mySettings.xml file. You can edit these to valid settings in any text editor, then just save the file.
    To control the cameras remotely send osc on the chosen port (default 1234) with the following structure.
    /camera_number as int /setting
    so to change the brightness on camera 2 to 0.5 send the following message address
    /2/brighness with a float of 0.5
    settings parameters and types are:
    /camera_number/gain                        --float
    /camera_number/shutter                    --float
    /camera_number/brightness               --float
    /camera_number/contrast                  --float
    /camera_number/hue                         --float
    /camera_number/flicker                      --int
    /camera_number/white_balance        --int
    All settings are saved when you click the save button in the gui, cameras will start up with the saved settings, including the draw setting.
    Made with openframeworks using  paulobarcelos [addon](https://github.com/paulobarcelos/ofxMacamPs3Eye)
    Fred

  • Tech Staff

    Are you kidding me this sounds brilliant!



  • It is there, download it and try it out!


  • Tech Staff

    Brill; running with just one camera and on 10.7.5.

    One question; what do the Syphon streams show up as? i.e; what do I need to type into my Syphon Client?

    Thanks.



  • It should be the app name as the app name and then "Camera x Output" where x is the camera number (1 if you only have one). I could be wrong about spaces but I think this is right. Just check with the simple client from syphon to be sure.
    Also to save resources click the draw cams button to off so there is no preview once you have everything going.
    Fred


  • Tech Staff

    Thats great. Thanks.



  • Hi, Thanks.

    what is the actual frame rate we can have out of a ps3 camera?
    Thanks


  • Ok I tried these

    320

    240

    75

    640

    480

    75

    320

    240

    120

    640

    480

    50

    640

    480

    75

    The top right corner of my app will tell you the real PS3eye frame-rate. I will look into getting a real comprehensive list of frame-rates and sizes, however your actual performance will depend on your computer and what else you are doing with it. My app will always try to gram at the target frame-rate. Somethings however are out of my control. I think, but am not sure that syphon will try and update the texture as often as possible. As opposed to really drawing a frame where I can specify the real refresh rate, syphon seems to go as fast as it can all the time ( I only update frames as per the macam ps3eye rate). Again it needs a little exploration. Generally though 120fps is the max and achievable with a lower resolution and less cameras.

    Fred


  • Tech Staff

    This worked fine on Friday and now wont open today; just crashes on every icon click.

    I will look into it a bit more - might be my machine.



  • Check your mySettings.xml, a bad value will make it crash.

    Fred

  • Tech Staff

    All sorted now; my fault. I hadnt copied the bin folder and all its contents across properly.

    Syphon is also working great.

    Thanks Fred!



  • Here is a list fo supported rates and resolutions

    320×240 @ 15, 30, 60, 75, 100, 125 fps and 640×480 @ 15, 30, 40, 50, 60 fps
    Fred


  • Syphon is working perfectly, but how to use ps3 eye in skype and facetime on 10.8.2???



  • I'm currently trying to get this little app to work in Yosemite and all I get is a grey screen.  Has anyone gotten it to work?

    Any other ways of getting the Ps3eye into Isadora 2.0?
    Thanks,
    Craig


  • Hi, I just a quick look ( I only moved to 10.10 a few days ago). I think I can get it working again for 10.10 - I am only having trouble with the on screen controls. I can get you an OSC Control only version if that is enough.



  • That would be great @Fred



  • Ok here is a quick and dirty solution it has problems but I dont think I will have time to make a better solution for a few weeks- here goes.

    You will not see anything at first, my GUI tools a broken and I need to repair them, the initial values are all invalid, but the OSC values all work and can fix it, this means you will not see anything until you set some settings via OSC- you will need to do this for every camera (contrast is the one that will bring an image).
    The GUI stuff is there but not saving or reloading- I need to fix this for other projects so I will sort it out. In the meantime I hope this helps you out.
    Fred

    55c227-bin.zip


Log in to reply
 

Looks like your connection to TroikaTronix Community Forum was lost, please wait while we try to reconnect.