I can see that Sony made an application named Remote Camera Control that controls a Sony camera over USB. Is there somewhere where I can find maybe the API or SDK to communicate with this camera like the Remote Camera Control does?
There is a lot of ressources on Developer Sony website
Unfortunately, Remote control over USB is not possible using public API. This might be modified in a soon futur by Sony but for the moment you have to give a look to unofficial library like this Github projet which try to provide such control (but is 6 years old and has not been updated since).
This post on stackoverflow refer to "the PTP protocol for libgphoto" which seems an option ... I don't know much about that.
What about Sony Remote camera control which might provide some API ... worst case you can have some code to simulate a click (like a robot) but thats a terrible option :D
Related
I want to know do unity networking supports mobile hotspot for lan connection.
It is possible. However, you should try to search by yourself first, I needed 1 minute to find the source:
https://docs.unity3d.com/Manual/MobileNetworking.html
apologies if the question is quite basic, I am inexperienced in USB programming and I might be missing some conceptual detail here.
For our industrial solution we are supposed to provide communication between our PC wpf application and windows embedded HH 8.1 application. Ideally we would like this to be over USB.
I see a lot of sample code to connect directly to USB devices from host role.
However in our case the Windows Embedded HH device (Panasonic FZ-E1) will have the device role listening. I could not find any way to register to raw data sent from our PC application via USB events. I examined UMDF (user mode driver framework) which has examples about writing drivers for usb devices, yet it seems like it is for device manufacturers and us not being the manufacturer for Panasonic HH we should not/cannot use our own driver and we have to use the WinUSB driver it already has in place.
Windows Embedded 8.1 HH has some USB apis unlike windows phone, yet all the functionality provided in the API seems like connecting to external USB devices with the host role. When we use USBlyzer I see that there is some USB traffic towards the device from the PC so it looks it should be possible for the HH to have the listening device role. What am I missing here, any ideas?
Any help/direction is greatly appreciated.
P.S: I also tried windows connectivity api examining the source code of windows phone power tools yet it seems like the the dlls for addon packages here to handle transfer via agents is not there for newer versions of windows phone anymore.
I would please like to know if it is possible to retrieve images from a Sony Camera when it is connected to a Wifi Access Point on our local network? I want to retrieve the images from the camera with C# code.
Can anyone point me to where I can find resources regarding this?
Depends on what Sony Camera you are using. See the Camera Remote API SDK page for more details on the API. Inside the SDK you will find a PDF with a list of which APIs are supported for which cameras.
https://developer.sony.com/develop/cameras/
Also, the Camera itself must act as the WiFi access point and you connect to it with the host device that you want to use to control it.
It is possible but there are no public resources regarding it. See my answer to a related question here.
Quoting myself (there's more detail at the link) - this is based on the Sony A7:
The camera has 2 Wifi-connection modes:
(a) AP-mode ("Connect to smartphone"), where the camera acts as an AP you can connect to. Only gives access to JPGs, not raws. API is proprietary but public (https://developer.sony.com/develop/cameras/)
(b) Infrastructure mode ("Connect to computer"), where the camera connects to an AP and pushes any files to a computer on the local network. Uses some MTP-flavour (based on PTP/IP).
So for (b) you would have to use or implement some kind of MTP- or PTP/IP-stack. You would also have to know the MAC-address of the computer the camera has been "paired" with previously.
My requirement is to capture whatever (audio)is playing on client machine and send it to server as live streaming. On windows 7 i am banging my head on WASAPI Loopback for this purpose. But that is not supported in windows XP. Do anyone has idea how it can be done in Windows Xp?
You can use DirectX.
Take look at this:
capturing sound and more with Managed DirectX (MDX) 1.1
Windows XP does not provide built-in support for loopback capture. Your can only do it if your soundcard has a "what you hear" option that can be selected for recording. If not, then you would need to use a specially created sound card driver that allows you to intercept the audio being sent to it, and passes it on to your real soundcard. There are a few commercial products that do this (such as Virtual Audio Cable)
I want to write an application that can capture from a TCP/IP camera. I haven't bought the camera yet. I have the following questions:
What should I look for in the camera?
Do all cameras have SDKs or APIs for that?
thanks
Most cameras produce a JPEG or MPEG4 stream, or both, that you can capture. My cameras do not let you download images, unlike Earwicker claims. They can, however, send images by email, ftp, or write them to an SD card.
I use the software on my Synology Rackstation to record streams on the NAS. I have not really looked at the software that they use, but I am almost certain that, behind the scenes, it is some Linux software that is freely available. You could look into that.
Get a camera that has an HTTP server, allowing you to download images from it like any web server. This is standard on most IP cameras.