Skip to main content
Share Your Experience: Take the 2024 Developer Survey
7 votes

How to stream low-latency video from the RPi to a web browser in realtime

You can send raw 264 frames to a browser through websocket and decode in in javascript. Latency < 0.1s :p I wrote an opensource project in this manner, checkout https://github.com/131/h264-live-...
131's user avatar
  • 171
2 votes

HTML5 Video options

I just wanted to note that I've been researching this topic as well and found some 'hacky' solutions. I've tested several methods to enable smooth playback in the browser using HTML5. Attempted ...
SaundersB's user avatar
  • 183
2 votes
Accepted

raspberry pi running python website on linux

If the button is a website element, and the website using python, can i control linux functions thru website on raspberry? Yes, basically you can do this with these python functions : os.system("...
Technico.top's user avatar
  • 1,406
2 votes

Newcomer to RPi from web developing (HTML/CSS/Javascript). Do I have any advantages?

Yes you can talk to some sensors entirely JavaScript, e.g. npm install raspi-sensors npm install node-dht-sensor That first library was last updated three years ago, so as is typical with the Pi (...
jdonald's user avatar
  • 2,924
1 vote

Can you control raspberry pi GPIO pins from a html website

Yes, this is possible with a website. I have built something similar here. It's about controlling a LED strip over the internet. I think you can take the sourcecode from it. I wrote Python scripts to ...
JJandke's user avatar
  • 71
1 vote
Accepted

Using a Raspberry Pi as an access point redirects to an HTML website stored on a hard drive connected via USB

Setting up a raspberry pi as a Access point is very easy these days I recommend the snap wifi-ap application. I've always setup access points using hostapd, dnsmasqd by hand and this application makes ...
Simon Banks's user avatar
1 vote

Link to HTML-File on Raspberry Pi running openHAB

You can easily do it by a simple package named apache. It's a powerful web server, however, you can accomplish what you said by it. 1. Install Apache: sudo apt-get install apache2 2. Start ...
M. Rostami's user avatar
  • 4,333
1 vote
Accepted

How to control python code though web page

Maybe you could use a framework like Flask. With that you can create a webserver with only a few lines of code. And because it is written in python, you can use the classes you created already :)
fshero's user avatar
  • 66
1 vote
Accepted

Raspberri Pi (Raspian) running Apache 2, PhP(7) HTML CSS not running PHP

I think the browser is getting thrown by the DOCTYPE's in the header and footer. It should not need to see them because it knows index.html is an HTML document. I would remove <!DOCTYPE html> ...
Mike Poole's user avatar
1 vote

Rpi camera as webcam has low quality

I increased a bit the quality playing with v4l2-ctl utils: v4l2-ctl -c video_bitrate=25000000,video_bitrate_mode=0,compression_quality=100 Anyway quality is still lower than raspivid/raspistill at ...
Alessandro Dionisi's user avatar
1 vote
Accepted

Google Calendar looks broken in Chromium and Firefox

Its not the best way, but use the url from a desktop PC and type into your chromium browser (yours is showing the mobile version) and bookmark it, until theres a better answer.
ShaadShaad's user avatar
1 vote

WPE - WebPlatform For Embedded built directly on Raspbian Stretch (HW Support)

I've had some success building an image for the Raspberry Pi using Buildroot. WPE WebKit runs very smooth on my Pi3+. Building WPE WebKit with Buildroot goes like this: apt-get update apt-get ...
Sam's user avatar
  • 121
1 vote

PHP script is not returning to main page after calling Python script

This seems to behave properly. I think your expectation of what happens on the click is probably wrong. What seems to happen (correctly) is that you click the button, and the browser attempts to ...
Brick's user avatar
  • 1,367
1 vote

raspberry pi running python website on linux

The great thing about programming is that you can do pretty much whatever you want to do if you have the right level of knowledge. What you're talking about has two primary components. A webpage. ...
Jacobm001's user avatar
  • 11.9k
1 vote

Video on sites are Jerky

MPEG2 playback speed on the RPi can be increased by buying a license for the hardware codec. You will need to write down the serial number of your board from /proc/cpuinfo, which will be required at ...
Dmitry Grigoryev's user avatar
1 vote
Accepted

PHP can't execute sudo script (www-data is allowed to sudo commands)

I see no reason for your configuration not to work, so I expect there's a silly problem sitting somewhere. I suggest you add the following lines to the <body> of your index.php: <?php ...
Dmitry Grigoryev's user avatar
1 vote

Printing state of wiringpi pin onto webpage

If one googles this phrase "raspberry pi gpio web interface" and switches to images mode, we can see that there appear to be quite a number of pre-existing solutions and samples. For example: http://...
Kolban's user avatar
  • 1,784
1 vote

What Operating System/Web Browser supports HTML5 video with hardware acceleration on the Raspberry Pi?

As of 2017 , Chromium has been modified to use hardware decoding for video on Raspberry Pis. 3D acceleration has to be enabled seperately via raspi-config ("Experimental 3D driver").
flakeshake's user avatar
  • 6,213
1 vote
Accepted

What Operating System/Web Browser supports HTML5 video with hardware acceleration on the Raspberry Pi?

Epiphany can do it according to the Raspberry Pi foundation's blog: https://www.raspberrypi.org/blog/web-browser-released/ They didn't mention any specific OS, so I'd go for Raspbian. Installation ...
Aloha's user avatar
  • 7,156
1 vote

Why is my simple HTML Canvas rendering only 11fps in Chromium a Pi3?

Enable the experimental 3D driver via raspi-config , it will improve performance. Note that this driver does not support video acceleration yet (which was added to Chromium for Raspbian in 2017).
flakeshake's user avatar
  • 6,213
1 vote

How to stream low-latency video from the RPi to a web browser in realtime

The best and easiest way to stream to a browser is UV4L with WebRTC (much better than mjpeg). It works "out-of-the-box" with the embedded streaming server. No command sauces are required. It ...
strumpet's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible