title: what is difference between mp4 and mpegts?
body: <p>Recently I had a task to convert the file format to mp4 and stream it. I have used ffmpeg as the transcoding tool. The MP4 file doesn't get streamed over the http protocol [have used php cgi wrapper], but then the output format is changed to mpegts the streaming occurs and works fine. A quick search on net <a href="http://wiki.videolan.org/MPEG" rel="noreferrer">http://wiki.videolan.org/MPEG</a>  relates and advises to use mpegts for streaming mp4 file.  I need more insight on these two formats, their advantages and differences.</p>
  
  <p>Thanks,
  Peter</p>