22.1.7 Broadcasting Video over Internet
22.1.7.1 Framework to Transmit Video over Web
Here, we want to use the following framework to broadcast video over the Web.
22.1.7 Broadcasting Video over Internet
22.1.7.1 Framework to Transmit Video over Web
Here, we want to use the following framework to broadcast video over the Web.
22.1.6 Viewing Video on an External Computer
Here we talk about how to view video taken in Raspberry Pi on an external computer through a network.
There are a number of ways to view video over the network, but here we explain the way to use program.
22.1.6.1 Basic framework to Transmit/Receive Video Data
Here, we want to use the following framework for video transmission and reception.
22.1.5 Converting Video Format Using Program
Video taken by Raspberry Pi camera use “H.264” format, which is a format that is not widely used by ordinary users. You can use program to convert it to a popular video format.
● Installing program
To use program, you need to install it as follows:
22.1.4 Playing Video Contents
Here, we’ll look at the tools that can be used to play videos on the Raspberry Pi system.
22.1.4.1 Playing Video Using Program
OMXPlayer is a program installed in Raspberry Pi system by default. It can play not only video files recorded with Raspberry Pi camera but also general videos in Raspberry Pi system.
22.1.3 Taking Picture and Video Using Pi Camera
22.1.3.1 Overview of Shooting Command for Pi Camera
With Raspberry Pi’s dedicated camera, you can run the following commands. They have functions that can shoot a still image or take a movie according to a command.
■ “raspistill” command
. This command captures still images. The captured image is saved as “jpg” file.
22.1.2 Processing API for Raspberry Pi Camera
In the Raspberry Pi system, MMAL method and V4L2 method can be used as processing API for the Raspberry Pi camera function.
22.1.2.1 MMAL (Multi-Media Abstraction Layer)
The Raspberry Pi A+/B+ system uses a BCM2835 system board made by the Broadcom, where the graphics processing GPU is VideoCore Ⅳ.
22.1 Using Raspberry Pi camera
22.1.1 Basics of Camera
22.1.1.1 Installing Raspberry Pi Dedicated Camera
The Raspberry Pi dedicated camera is installed by connecting the ribbon cable to the CSI port on the main body. Please refer to the description of [3.9.3 Raspberry Pi Dedicated Camera] for information about type of camera and how to install it.
Chapter 22 Utilizing Multimedia
Chapter’s Main Topics
First, this chapter describes the basic knowledge for using the Raspberry Pi camera. Next, it explains how to take pictures and video using Raspberry Pi camera, and it alos provides the way to view the contents of the picture and video that has been taken.
It also describes how to watch these videos from an external computer or broadcast them over the Internet. It also provides a way to detect, record, and notify the motion on the recorded video in real time.
It includes descriptions on the following topics:
■ Basics of Raspberry Pi camera
■ Processing API for Raspberry Pi camera
■ Taking photos and videos using Raspberry Pi camera
■ Viewing videos contents
■ Viewing videos on an external computer
■ Broadcasting video over the Internet
■ Constructing Motion detection web camera
■ Using E-Mail
21.5.2 Iceweasel browser
This browser is based on Firefox. Because it provides HTML as simple as possible, it is faster than Chromium.
To install the program, execute the following.
21.5 Web Browser Alternatives
In Raspberry Pi, browser is basically provided as a basic browser. This browser has a dramatic improvement in speed compared to the previous version of , so you can work at high speeds in the Internet environment, and there is no inconvenience to use it as a whole. However, you may need to use a different browser depending on your personal preference or work environment. In this case your can install and use a desired browser additionally.