Table of Contents

Streaming Client

W3M

To run a stream in a terminal of a Raspberry Pi one can use the W3M browser.
Just start the Raspberry Pi to the console and run W3M with your web address.


Installation

$ sudo apt-get update
$ sudo apt-get install w3m w3m-img

Run

$ w3m http://dernulleffekt.de

Shortcuts

 Back      Shift-B
 New URL   Shift-U
 Help      Shift-H
 Exit      Shift-Q

Autostart W3m

To run a w3n on your Raspberry Pi at startup is to modify the .bashrc file. With the .bashrc method, your python program will run on boot and also every time when a new terminal is opened, or when a new SSH connection is made. Put your command at the bottom of ‘/home/pi/.bashrc’. The program can be aborted with ‘ctrl-c’ while it is running!

 sudo nano /home/pi/.bashrc

Go to the last line of the script and add:

 /home/pi/runw3n.sh

Shell script:

 #!/bin/sh
 
 printf "runing w3m"
 sudo w3m http://entangledpixel.dernulleffekt.de/screenshot.html

VLC

 $ apt-get install vlc
 $ cvlc http://raspberrypi:8080/stream/video.h264 --demux h264

http://raspberrypi.tomasgreno.cz/streaming-with-vlc.html
https://www.linux-projects.org/uv4l/tutorials/streaming-server/

License

This manuals is made by Wolfgang Spahn 2018-20.
Except where otherwise noted, content on this wiki is licensed under the following license: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Creative Commons License