Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi Server Essentials

You're reading from  Raspberry Pi Server Essentials

Product type Book
Published in Feb 2014
Publisher
ISBN-13 9781783284696
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Piotr J Kula Piotr J Kula
Profile icon Piotr J Kula

Watching a video


There are many different ways to transport the video, but there is one problem that many people have, which is the SPS/PPS information that only gets sent at the beginning of the stream. There is a solution that works with FFmpeg that is hosted at https://github.com/AndyA/psips. Follow the instructions on the site to compile the filter.

RTMP streams

We will use an open source media framework to stream the flash content directly in a browser that supports flash plugins. Download the framework and extract it in the HTML directory.

# cd /var/www/html
# Wget http://sourceforge.net/projects/smp.adobe/files/latest/
  download?source=files	
# unzip download?source=files	
# sudo mv for\ Flash\ Player\ 10.1 osmf

In the HTML directory, create an HTML file called flash.html and copy this basic markup into it:

<!DOCTYPE html>
<html>
  <head>
    <script src=osmf/lib/swfobject.js></script>
    <script src=osmf/lib/ParsedQueryString.js></script>...
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 $15.99/month. Cancel anytime}