Game Development Reference
In-Depth Information
Start VLC on your other computer and under Media , click on Open Network
Stream... and type in udp://@1234 ; then, click on Play . You need to make sure that
the Pi is streaming when you click on Play . There is a lag while using this method as
FFmpeg buffers into VLC. It decides on its own how much to buffer, and the delay
could be from 1.5 seconds for a low bitrate up to 10 seconds for high bitrates.
Other streams
Using the examples provided, you can experiment with the parameters and use
different protocols to achieve the effect that you are after.
You can experiment with nginx-rtmp and HLS for native iPhone support.
The quality is really good, but it has a greater lag as the protocol saves chunks
of files to the disk before it can stream them.
Summary
At the time of writing, it still seems very difficult to stream video. In this chapter,
we learned how to stream video in various formats to various platforms, installing
and using GStreamer, compiling and using FFmpeg, compiling a custom version of
nginx-rtmp , and streaming using RTMP FLV and MPEGTS UDP.
 
Search WWH ::




Custom Search