Preparing a Video File for Streaming

Red5 Pro supports the following media formats for streaming:

  • Streaming Video (FLV, F4V, MP4, 3GP)
  • Streaming Audio (MP3, F4A, M4A, AAC)

In order for Red5 Pro to be able to stream a recorded media to client, it needs to be in a format understood by Red5 Pro, supported by the protocol used (RTMP/RTSP) and also readable by the client side player.

A file format is like a container which holds audio and/or video data in a single file. Each file format in turn allows storing data encoded in specific codecs only. To keep things simple, we won't be venturing into the depth of codecs and encoding here. Let us, however, take a look at the basic video formats that are compatible with Red5 Pro and the codecs they support.

Commonly used video formats for VOD transmission:

If your file is not in one of these formats you might need to encode your video for compatibility with flash player using a tool such as Adobe media encoder or the open source ffmpeg encoder.

Useful Links