Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi 2 Server Essentials

You're reading from   Raspberry Pi 2 Server Essentials Transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial!

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781783985692
Length 174 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Piotr J Kula Piotr J Kula
Author Profile Icon Piotr J Kula
Piotr J Kula
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with the Raspberry Pi 2. Preparing a Network FREE CHAPTER 3. Configuring Extra Features 4. Using Fast Web Servers and Databases 5. Setting Up the Raspberry Pi as a File Server 6. Setting Up Game Servers 7. Streaming Live HD Video 8. Setting Up the Pi as a Media Center Server 9. Running Your Pi from a Battery's Power Source 10. Windows IoT Core 11. Running Your ownCloud 12. The Internet of Things – Sensors in the Cloud Index

Real time HTTP streaming


To configure the HTTP stream, you can click on the Camera Control Panel link on the UV4L web page and set the format and other options you would like.

Alternatively, if you don't want to access the webpage, you can just configure the raspicam configuration file as you need it, and then you can use the corresponding URL in VLC or a third-party app to capture the stream:

  • HTTP/MJPEG: http://raspberrypi:8080/stream/video.mjpeg

  • HTTP/Raw H264: http://raspberrypi:8080/stream/video.h264

  • HTTP/JPEG: http://raspberrypi:8080/stream/video.jpeg

To receive a H264 stream using VLC, I have found that tweaking some of the plugin settings worked best for me:

  1. Click on Tools | Preferences.

  2. Click on All in the Show settings panel in the bottom-left corner.

  3. Click on Input / Codecs | Demuxers.

  4. Change the demux module from the Automatic to H264 video demuxer.

  5. Click on Demuxers | H264.

  6. You will notice that it is set to 25 frames per second. Unfortunately, changing this value does not work as expected...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime