Book Image

Raspberry Pi Server Essentials

By : Piotr J Kula
Book Image

Raspberry Pi Server Essentials

By: Piotr J Kula

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Server Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Raspivid


It is best to use the latest version of Raspivid. Let's download and compile the latest version that is supported by the userland repository. This normally takes about 20 minutes to compile and install everything we need.

# sudo apt-get install git-core gcc build-essential cmake

# cd /tmp
# sudo mkdir code
# cd code
# git clone git://github.com/raspberrypi/userland.git

# cd userland
# sudo sed -i 's/if (DEFINED CMAKE_TOOLCHAIN_FILE)/if (NOT DEFINED #
  CMAKE_TOOLCHAIN_FILE)/g' makefiles/cmake/arm-linux.cmake

# sudo mkdir build
# cd build
# sudo cmake -DCMAKE_BUILD_TYPE=Release ..
# sudo make

# sudo make install

After you install all the newest userland binaries, including raspivid and raspistill, on the Pi, Raspivid should now support the usage of –t 0 and possibly some other features.