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?



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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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