I have a server with lot of media files. Actually, I have an apache2 installed on the server, and I use it to do some streaming of video and audio files.
Install Apache Modules
We will be using apxs2, the APache eXtenSion tool, to build and install the module for the Apache server. Make sure you have apxs2 installed: sudo apt-get install apache2-threaded-dev.
This is working fine, with status-code 206 Content-Partial.But I have an issue, with video or audio, with HTML5 or browser-plugin, which I think is issued from Status-Code 206 content and how it is working.
Lot of times I want to directly play my movie at one hour, or just listen to 5 min at 30 min of a big audio file. The problem is always the same, I have to wait that everything until that moment is download.
What I want is to do some 'smooth streaming' for all medias files, using HTML5 or browser plugins. By 'smooth streaming', I hear that I could play any part of my media, without having to download everything before.
I have read a lot about streaming with apache2, but I have not find some general solution for the same problem.
Can I do this with only apache2 ?Should I need to use another software, or writing some scripts myself ?
Install H264 Streaming Module Apache Ubuntu
1 Answer
Install H264 Streaming Module Apache Windows
Im guessing these are mp4 files. The files must have the moov box at the start of the file (I won't go into more detail here because it has been covered a lot over at stack overflow. Just search for it) . This can be done with a tool like qt-faststart from ffmpeg.
Comments are closed.