Hot answers tagged

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-...
user avatar
  • 171
4 votes
Accepted

Epiphany Browser is unable to display HTML5 Video

Your simplest solution would be to upload your video to youtube, maybe run your webpage in a window with a live link to the youtube address then follow my previously suggested workaround for ...
user avatar
  • 197
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("...
user avatar
  • 1,400
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 ...
user avatar
  • 183
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 (...
user avatar
  • 2,834
1 vote

Epiphany Browser is unable to display HTML5 Video

It could be that the gpu doesn't have enough memory to work with. In the terminal, try: "sudo raspi-config" -> "Advanced Options" -> "Memory Split" and set an appropriate value (like 128).
user avatar
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 ...
user avatar
  • 31
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 ...
user avatar
  • 4,215
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 :)
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> ...
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 ...
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.
user avatar
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 ...
user avatar
  • 1,357
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. ...
user avatar
  • 11.8k
1 vote

HTML5 Video options

The best video playing browser for the Pi, in my experience, is KWEB3. It is based on the epiphany browser but appears to handle video much better and is has better support for HTML5 features.
user avatar
1 vote

HTML5 Video options

After hours of seeking solutions to play YOUTUBE videos, I have found the solution in the Epiphany Browser. Installs with the following 3 commands: sudo apt-get update sudo apt-get dist-upgrade sudo ...
user avatar
  • 197
1 vote

HTML5 Video options

We manage an amount of Pi's as Digital Signage clients. We have plain picture and HTML based versions. For HTML we use Chromium. While we don't have a direct need for HTML5 video at this very ...
user avatar
  • 1,661
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 ...
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 ...
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://...
user avatar
  • 1,754
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").
user avatar
  • 6,065
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 ...
user avatar
  • 7,038
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).
user avatar
  • 6,065
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 ...
user avatar

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