keithmason
Posts: 1
Joined: Fri Aug 18, 2017 10:48 am

Read remote JPG and stream as MJPEG from the pi

Fri Aug 18, 2017 11:03 am

Hi,
I am a new pi user, and am doing a lot of reading and trying to learn. It's going to take a while, I know.

For now, I am trying to work out how to do the following, and if anyone could give any guidance, it would be greatly appreciated, as I'm running around in various different directions at the moment.

I have my pi running as a web server, and that all good. What I'd like to do is be able to run something like this ;

http://localhost/mjpegstream.__?width=640&height=480... etc.

And what I would want this mjpegstream.__ page/script to do is;

Read a static JPEG from a remote camera, e.g. http://mycamIP/Streaming/channels/1/picture
Then depending on the height and width params, output an MJPEG stream at that Rez
and keep looping until I break the connection.
The cam pic will be different each time I pull from the remote URL. and so display a 'live stream' of the cam at the given Rez.

I hope that makes some sense.
Any advice and direction would be a great help.

Thanks so much,
Keith.

John Public
Posts: 90
Joined: Thu Jan 16, 2014 2:16 pm

Re: Read remote JPG and stream as MJPEG from the pi

Thu Aug 24, 2017 5:18 am

Have you checked the "Camera board"? There's a lot of info on your subject, for example: viewtopic.php?f=43&t=63276

Return to “General programming discussion”