Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8324773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:11:49+00:00 2026-06-09T00:11:49+00:00

Recently I had a task to convert the file format to mp4 and stream

  • 0

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 http://wiki.videolan.org/MPEG relates and advises to use mpegts for streaming mp4 file. I need more insight on these two formats, their advantages and differences.

Thanks,
Peter

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:11:51+00:00Added an answer on June 9, 2026 at 12:11 am

    MPEG-TS is designed for live streaming of events over DVB, UDP multicast, but also
    over HTTP.
    It divides the stream in elementary streams, which are segmented in small chunks.
    System information is sent at regular intervals, so the receiver can
    start playing the stream any time.

    MPEG-TS isn’t good for streaming files, because it doesn’t provide info about the
    duration of the movie or song, as well as the points you can seek to.

    There are some new protocols that can use MPEG-TS for streaming over HTTP,
    that put additional metadata in files and fix the disadvantage I talked before.
    These are HTTP Live Streaming and DASH (Dynamic adaptive streaming over HTTP).

    On the other hand MP4 has that info in part of the stream, called moov atom.
    The point is that the moov must be placed before the media content and downloaded
    from the server first.This way the video player knows the duration and can seek to any point without downloading the whole file (this is called HTTP pseudostreaming).

    Sadly ffmpeg places the moov at the end of the file. You can fix that with software
    like Xmoov-PHP.

    Here you can find more info about pseudostreaming.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently had the task of adding a barcode onto a SSRS report without
I recently had to work around the different default sizes used for enumerations in
This task has already been asked/answered, but I recently had a job interview that
When I suspect a Task 's Action had failed I used to just sit
I recently had help getting the correct Date format on my jQuery / tablesorter
I recently had some problems with the hibernate.cfg.xml file as I hadn't had the
I have recently been given a task to add the ability to interact with
Recently I had a task to make a binary files parser, however it was
We recently had an issue where a ColdFusion scheduled task didn't resume after a
I hope this is not to off-topic for this site. Recently I have had

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.