Home > Streaming > Streaming MP4 via HTTP

Streaming MP4 via HTTP

Microsoft introduced “Smooth Streaming”  that provides seamless bit rate switching of video by dynamically detecting the network conditions. In order to deliver the media, they have used MP4 container. Normally, a MP4 file format contains a header and media data where the header contains the metadata information. In order to use it for streaming the header information should be placed in the beginning. But, the traditional MP4 file has the header information at the last. The diagram below shows the traditional file MP4 file format.

MP4_trad

To move the header file in the beginning we have used qt-faststart that can be found in : /ffmpeg/tools/qt-faststart

qt-faststart input.mp4 output.mp4

The format of output.mp4 will be as following:

MP4



  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.