Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using ffmpeg to encode large avi (or other) files to mp4, which are then saved to disk, then streamed in the browser using apache mod_h264.

The problem with this is that we have to wait until ffmpeg finishes encoding the mp4, which can take a long time. Ideally, we would be able to stream the video, while the encoding is being processed.

Is there a way to do this with ffmpeg/mod_h264 or is there a better solution to achieve this?


share|improve this question

migrated from Nov 24 '12 at 19:29

This question came from our site for professional and enthusiast programmers.

With mp4 files, no. You have to wait for it to finish.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.