ashtons / picam

Raspberry Pi Camera Module Python Library
Other
64 stars 14 forks source link

Stream Settings ? #6

Open osmankudu opened 7 years ago

osmankudu commented 7 years ago

First of all thank you very much for picam code.

I run the motiontest.py file. My camera worked the light.

But how can I watch this broadcast with my ip address ?

This stream followed by an ip address like this : 192.168.0.25/test.jpg or 192.168.0.25:5000

Can you help with this ?

Best Regards

digitaltrails commented 7 years ago

On Sat, 04 Feb 2017, osmankudu wrote:

First of all thank you very much for picam code.

I run the motiontest.py file. My camera worked the light.

But how can I watch this broadcast with my ip address ?

This stream followed by an ip address like this : 192.168.0.25/test.jpg or 192.168.0.25:5000

Can you help with this ?

Best Regards

I'm not sure I completely understand the issue, lets see if I can clarify a bit.

Pikam provides a stills camera. Pikam is not a video camera. Pikam does have a very slow live-view - it's slow due to the limited power of components and because it's written in python.

To use pikam you need two devices:

1) A client such as Windows PC, Linux PC, or Phone on which to run the Kivy application which will remotely connect to the raspberry pi.

2) A Raspberry pi.

Both devices need to be on the same network. You need to know the IP address of device 2. On device 2 you start piKamServer.py. Then on device 1 you start the Kivy main.py, then press F1 for settings and set the address of device 2 (the raspberry pi). This should result in the kivy client on device 1 showing the view from the camera on device 2 (the raspberry pi).

But I haven't used he code in several years, so I cannot guarantee that Kivy or the rasperry platform have changed in some incompatible way.

Cheers, Michael