v002 / v002-Camera-Live

Live Syphon Camera
Other
1.17k stars 105 forks source link

Add support for Nikon cameras #51

Open sifus opened 5 years ago

sifus commented 5 years ago

Hi,

my DSLR Nikon d3200 is connected to my mac with USB but when i launch Camera Live, ma camera is find...

bangnoise commented 5 years ago

See README.md - Canon cameras only

mydudechris commented 4 years ago

Will you offer support for Nikon at any point in the future?

bangnoise commented 4 years ago

Which version are you using? The alpha version 13 has support for more cameras.

mydudechris commented 4 years ago

I'm using Alpha V.13. It recognizes my Nikon D750, connected over USB for a moment then the image freezes in place :(

mydudechris commented 4 years ago

Not sure if this is helpful: https://sdk.nikonimaging.com/apply/

bangnoise commented 4 years ago

I'm not about to add support for Nikon's own SDK (but of course pull requests are welcome). It's encouraging that you get a frame from the D750 - I'm aiming to improve support for non-Canon cameras once I have the rebuild using libgphoto2 stabilised.

mydudechris commented 4 years ago

I'm kind of new coming into this, alternatively, I could use something like the Blackmagic web presenter, right? I'd much rather use something like this!

bangnoise commented 4 years ago

@mydudechris It would be helpful if you could

  1. open Console (in /Applications/Utilities) and search for "Camera Live" (type "Camera Live" into the search box followed by a return
  2. Launch Camera Live with your Nikon connected and try to start it and wait for it to emit its single frame
  3. Copy and paste the Console messages you get here
bangnoise commented 4 years ago

I can't speak for the connectivity of Nikon cameras but it sounds like something like the Web Presenter should work if your camera has HDMI output - one thing to be aware of is that some cameras overlay their viewfinder UI over the HDMI output - I have no idea if that affects your camera or not.

mydudechris commented 4 years ago

Hmm, interesting, now it appears to work flawlessly. The one big change that I made was connecting my camera to a continuous power source, whereas before I had a fully charged battery. Very strange. Anyway, the app appears to be working although I see 2 instances of the camera in the camera live list (Nikon DSC D750).

Ok, sorry, no one can read that output. Here's a screenshot and one of the highlighted errors.

https://www.dropbox.com/s/55d3w3x09fp0onu/Screenshot%202020-03-27%2014.53.55.png?dl=0

error 14:49:24.102396-0400 tccd {ID: info.v002.Camera-Live, PID[883], auid: 501, euid: 501, binary path: '/private/var/folders/tx/bggh2yr163l_q6pp6bzsxckr0000gn/T/AppTranslocation/7937D6AE-5616-4AE3-A380-04F447DA1B2D/d/Camera Live.app/Contents/MacOS/Camera Live'} attempted to call TCCAccessRequest without the com.apple.private.tcc.manager.check-by-audit-token entitlement

mydudechris commented 4 years ago

Here are other errors that appeared in the list: error 14:49:21.478293-0400 tccd Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for ACC:{ID: info.v002.Camera-Live, PID[883], auid: 501, euid: 501, binary path: '/private/var/folders/tx/bggh2yr163l_q6pp6bzsxckr0000gn/T/AppTranslocation/7937D6AE-5616-4AE3-A380-04F447DA1B2D/d/Camera Live.app/Contents/MacOS/Camera Live'}, REQ:{ID: com.apple.appleeventsd, PID[356], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}

error 14:46:43.233048-0400 tccd {ID: info.v002.Camera-Live, PID[766], auid: 501, euid: 501, binary path: '/private/var/folders/tx/bggh2yr163l_q6pp6bzsxckr0000gn/T/AppTranslocation/D6574F3D-8513-4B05-9D13-553387FBA5BC/d/Camera Live.app/Contents/MacOS/Camera Live'} attempted to call TCCAccessRequest without the com.apple.private.tcc.manager.check-by-audit-token entitlement

bangnoise commented 4 years ago

Glad it's working. Nothing remarkable in those logs - was that from a "working" run or one where the image freezes?

mydudechris commented 4 years ago

@bangnoise please see the attached PDF. It's an export of all the activity from the app, startup to crash where the frame freezes.

Untitled spreadsheet - Sheet1.pdf

hajdebliem commented 4 years ago

Hey there, i just played around with the app to see if my D800 would show up via Syphon. It sure did! There is no camera settings control when live . So i had to unplug it, change the setting and the reconnect and relaunch the App. Sadly the Stream gets interrupted quite often…

I might have to check out a more commercial route for my distance learning setup, but i like the possibility to hook up a dslr to mad mapper!

syslog_CameraLive.txt

bangnoise commented 4 years ago

Sadly the Stream gets interrupted quite often…

@hajdebliem do you mean it stutters/pauses, or stops and doesn't recover?

hajdebliem commented 4 years ago

It stops and does not recover. Relaunching the app is the only way so far i discovered to get the stream back. One wired thing that i noticed is that when i wave my hand in front of the camera or move the camera it tends to freeze immediately. As if it does not like when too many pixels change… no obvious logic here.

bangnoise commented 4 years ago

@hajdebliem disconnect all other USB devices, do not use a hub but connect directly to the computer, use the shortest USB cable you have and make sure it isn't running beside power cables or other sources of interference. If you have an external power supply for your camera, use that.

trich19 commented 4 years ago

I got my new Nikon d780 to work, it has usb c, if that makes any difference. About every 5 mins the shutter clicks but it always recovers quite quickly. Only issue is that the resolution is fairly low, and even when camera is in full manual, it seems to do its own exposure

mbesemann commented 4 years ago

Working with a Nikon D5200 here! You're right about the consistent power source. While running on battery power, I had it working for a couple of minutes and then Camera Live was no longer detecting it (even though the camera was still powered on). Swapped to a fresh battery and it started working again. I'll have to invest in a power adapter for my camera if I want to have any longer sessions.

mlim18 commented 4 years ago

Any updates on this working with a D750 and what needs to be done to get it to work? I'm brand new to this.

joshspicer commented 4 years ago

Got my Nikon D3400 working with prerelease 13 alpha.

Note I needed to remove the signature (cc #102, with more detail here) in my testing for Zoom to pick up the camera.

ironc0in commented 4 years ago

I had the same issue, swapped the battery with a one that was full, and it immediately popped up! 🤦🏽‍♂️