Add support for screen cap in Simple Server?

Home Forums Syphon Syphon Development – Developer Add support for screen cap in Simple Server?

Tagged: 

Viewing 10 posts - 21 through 30 (of 30 total)
  • Author
    Posts
  • #5079
    sandroid
    Participant

    now with the build-release option – running from within xcode (when I open the client, the options in the menu only shows the desktop, finder and client windows):

    [Session started at 2011-02-17 08:09:27 -0200.]
    GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC 2010)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type “show copying” to see the conditions.
    There is absolutely no warranty for GDB. Type “show warranty” for details.
    This GDB was configured as “x86_64-apple-darwin”.tty /dev/ttys002
    Loading program into debugger…
    Program loaded.
    run
    [Switching to process 11864]
    Running…
    2011-02-17 08:10:08.263 Syphon Screen Capture[11864:a0f] *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], /SourceCache/AppKit/AppKit-1038.35/Menus.subproj/NSMenuItem.m:270
    2011-02-17 08:10:08.281 Syphon Screen Capture[11864:a0f] Invalid parameter not satisfying: aString != nil
    2011-02-17 08:10:08.360 Syphon Screen Capture[11864:a0f] *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], /SourceCache/AppKit/AppKit-1038.35/Menus.subproj/NSMenuItem.m:270
    2011-02-17 08:10:08.363 Syphon Screen Capture[11864:a0f] Invalid parameter not satisfying: aString != nil

    Debugger stopped.
    Program exited with status value:0.

    #5080
    bangnoise
    Keymaster

    This is mostly vade’s code so I’m making stabs in the dark – but I’ve just made some changes. Try doing an svn update and then build everything again and report back…

    #5081
    sandroid
    Participant

    ok… We are almost there!!

    the app seems to work properly now, except by the strange behaviour when trying to scan a window at a second display: The whole 1st screen (from my macbook pro) gets black. But it is still possible to see the app icon in the menu bar. when choosing one window from the menu, this windows gets visible but the rest keeps dark. When choosing “desktop”everything is fine again.
    PS: there’s no way to scan a window in the 2nd display?
    could we have something like drag the mouse over an area to set this as a window? or type the coordinates of the window?

    thanks for your support!

    sandroid

    #5082
    vade
    Keymaster

    Oh sure blame me!

    Ha.

    Sandro, do you have more than 1 GPU in your system; is it two displays on two GPUs, or two displays on two GPUS?

    Also, I probably need to handle the second monitor case, as I may be assuming some things regarding capture and fullscreen contexts.

    Thanks for your patience. This is why its in SVN eh? 🙂

    #5083
    sandroid
    Participant

    hi Vade,

    trying to build this app has been a great opportunity to learn things for me. I make a lot of trial and error before posting here, and little by little things start making some sense.

    about the display: I am working in a macbook pro (June 2010) with the discrete and integrated GPUs (one at a time, of course).

    I will be hackintoshing a PC next month with a GTX295, then I will be able to try two GPUs at once (GTX295 = 2x GTX260).
    but for now I will stick to my macbook.

    s.

    #5084
    sandroid
    Participant

    playing a bit more, I found out that the client in Jitter and the client in QC behaves differently when receaving the scanned image from the screencap app: the client in jitter only shows the selected window. However, the QC client shows anything that show up inside the area of the selected window.

    #5085
    vade
    Keymaster

    What? No. Try again. The screen capture for all clients takes whats on screen in the area on the window directly above it. If you occlude the window you will get the occluding surface. It does not have x-ray vision so to speak (for speed reasons).

    #5086
    sandroid
    Participant

    sorry. you are right. What actually happened is when I changed the source in the screencap app the image in the jitter client window got frozen. I misunderstood that as being still receiving the scan from the screencap app but it wasn’t.
    So that’s what happens: the client in Jitter is not able to update the server, even when stoping and restarting the metro.

    QC client is OK.

    s.

    #5088
    technomorph
    Participant

    Is there a way for the screen capture to “Confine to Application WIndow” like Camtwist can?
    This is something that I didn’t like about the v002 screen capture plug-in too.

    Screen realestate is always a problem and being able to capture a window that’s happening in the background is awesome.

    With the current setup and the v002 screen capture plugin if you dragged any other window
    into the space that you had selected from the “Selected Capture Application” that window now appears into the captured stream…even though it’s not part of that application.

    thanks

    love Syphon and excited to see it grow!!!

    If you can get any kind of Network streaming…it would be the bomb.
    For VJs to be able to share their software outputs to other computers would
    be so helpful!

    Kerry

    #5089
    bangnoise
    Keymaster

    Is there a way for the screen capture to “Confine to Application WIndow” like Camtwist can?
    This is something that I didn’t like about the v002 screen capture plug-in too.

    Thanks for the feature request. Noted.

    Screen capture should generally be a last resort – perhaps what you’re doing can be done in an app which can use Syphon natively?

    For VJs to be able to share their software outputs to other computers would
    be so helpful!

    There are various ways to do this already. See the FAQ.

    Cheers – Tom

Viewing 10 posts - 21 through 30 (of 30 total)
  • You must be logged in to reply to this topic.