Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry:streaming_client [2019/01/02 22:13]
admin [Links]
raspberry:streaming_client [2020/12/14 14:35] (current)
admin [Links]
Line 1: Line 1:
 ===== Streaming Client ===== ===== Streaming Client =====
  
-Ton run a stream on a Raspberry Pi in the terminal one can use the [[http://w3m.sourceforge.net/|W3M]] browser.\\ +==== W3M ==== 
-Start the Raspberry Pi to the console and run W3M with your web address.\\+To run a stream in a terminal of a Raspberry Pi one can use the [[http://w3m.sourceforge.net/|W3M]] browser.\\ 
 +Just start the Raspberry Pi to the console and run W3M with your web address.\\
  
 ---- ----
-==== Installation ====+=== Installation ===
  
   $ sudo apt-get update   $ sudo apt-get update
Line 11: Line 12:
  
 ---- ----
-==== Run ====+=== Run ===
   $ w3m http://dernulleffekt.de   $ w3m http://dernulleffekt.de
  
 ---- ----
-==== Shortcuts ====+=== Shortcuts ===
    Back      Shift-B    Back      Shift-B
    New URL   Shift-U    New URL   Shift-U
Line 22: Line 23:
  
 ---- ----
 +=== 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/]]\\
 +
 ==== Links ==== ==== Links ====
 [[http://w3m.sourceforge.net|W3M web side]]\\ [[http://w3m.sourceforge.net|W3M web side]]\\
 [[http://w3m.sourceforge.net/MANUAL|W3M Manual]]\\ [[http://w3m.sourceforge.net/MANUAL|W3M Manual]]\\
  
 +[[https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/|5 ways to autostart]]\\
  
 [[https://www.howtogeek.com/103574/how-to-browse-from-the-linux-terminal-with-w3m/]]\\ [[https://www.howtogeek.com/103574/how-to-browse-from-the-linux-terminal-with-w3m/]]\\
  
 ---- ----
 +==== License ====
 +
 +This manuals is made by **Wolfgang Spahn** 2018-20.\\
 +Except where otherwise noted, content on this wiki is licensed under the following license: [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]].\\
 +
 +<html>
 +<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a> 
 +</html>
 +
 +----
 +
 +