boylesg
Posts: 39
Joined: Fri Jan 15, 2016 3:23 pm

Streaming the PiCamera

Thu Jun 30, 2016 3:46 pm

I have seen raspivid examples where you stream the picamera to an external website such as youtube.

But my situation and goals is this.

I have created a record on FreeDNS and ADLS modem port forwarding entry such that I can access a web page hosted on my RPi via boylesg.privatedns.org:81

In that web page I have embedded a VLC player thing via
<object classid"............>
<embed type="application"..........
</embed>
</object>

How would I stream the Picamera to this embedded player on demand when a user views that web page?

The above HTML tags require a src for the video.

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Streaming the PiCamera

Fri Jul 01, 2016 6:33 pm

There are several thread on similar topics on this forum:
viewtopic.php?f=43&t=74949

I think embedding a VLC player is somewhat unnecessary in the age of HTML5 and websockets.

RpiName
Posts: 717
Joined: Sat Jul 06, 2013 3:14 am

Re: Streaming the PiCamera

Fri Jul 01, 2016 10:24 pm

boylesg wrote:How would I stream the Picamera to this embedded player on demand when a user views that web page
See UV4L for various easy solutions:

http://linux-projects.org

boylesg
Posts: 39
Joined: Fri Jan 15, 2016 3:23 pm

Re: Streaming the PiCamera

Sat Jul 02, 2016 3:05 pm

Thank you VERY MUCH folks.

I ended up landing on this page and successfully installed it all.

http://elinux.org/RPi-Cam-Web-Interface

It is EXACTLY what I wanted and all without having to build it all from scratch.

It is always much more convenient to gain an understanding of things like this by reverse engineering it rather than having to start from a position of little or no knowledge.

Return to “Advanced users”