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

Streaming with FFmpeg


Arch Linux uses the latest branch of FFmpeg, but on Raspbian, we have to compile FFmpeg manually. This can take up to 6 hours, but it has the best compatibility for streaming directly from the camera module.

When you type in the last line, it will configure, compile, and install FFmpeg in one go. Let it run and do not close the terminal window; however, just come back from time to time to make sure there were no errors. If something goes wrong, you can rerun the command, and it will go much faster as it tries to pick up from where it stopped.

# cd /usr/src
# git clone git://source.ffmpeg.org/ffmpeg.git
# cd ffmpeg
# ./configure && make && make install