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:
- FLV : (VIDEO: Sorenson / VP6 + AUDIO: Mp3 / Nellymoser / Speex)
- MP4 : (VIDEO: H264 + AUDIO: AAC).
- F4V : (VIDEO: H264 + AUDIO: AAC/ MP3).
- http://www.avanti.arrozcru.org/ (Windows GUI for ffmpeg executable)