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.
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>...