Legend:

FFmpeg can stream a single stream using the RTP protocol. In order to avoid buffering problems on the other hand, the streaming should be done through the -re option, which means that the stream will be streamed in real-time.

65

FFmpeg can stream a single stream using the RTP protocol. In order to avoid buffering problems on the other hand, the streaming should be done through the -re option, which means that the stream will be streamed in real-time (i.e. it slows it down to simulate a live streaming [http://ffmpeg.org/ffmpeg.html source].

66

66

67

67

For example the following command will generate a signal, and will stream it to the port 1234 on localhost:

The most popular streaming codec is probably libx264, though if you're streaming to a device which requires a "crippled" baseline h264 implementation, some have argued that the mp4 video codec is [http://forums.macrumors.com/showthread.php?t=398016 better]. You can also use mpeg2video, or really any other video codec you want, typically, as long as your receiver can decode it, and it suits your needs.

80

81

== Outputting files ==

82

83

Ffmpeg supports splitting files (using "-f segment" for the output) into time based chunks, useful for "http live streaming" style file output.