[FFmpeg-user] Fwd: Stream mp4

Reindl Harald h.reindl at thelounge.net
Tue Mar 3 19:46:04 CET 2015

Am 03.03.2015 um 19:41 schrieb aradeonas:
> Oh Reuben Thank you,
> Finally an answer!
> So for streaming static mp4 files no need high CPU using?
> Can you give me any example?
> What you mean about chopping up into fragments.
> I know my questions like easy to use ones but I'm new in this files and
> I'm researching for days but still cant stream an mp4 file.

"but still cant stream an mp4 file" makes no sense

with "-movflags faststart" any ordianry HTML5 or flash-player just 
starts to play the video before it is comletly downloaded

thats called "pseudo-streaming" and enough for 99% of use-cases

> On Tue, Mar 3, 2015, at 07:56 AM, Reuben Martin wrote:
>> On Tuesday, March 03, 2015 06:15:02 AM aradeonas wrote:
>>> Days I trying to stream mp4 file with ffserver.
>>> I read many questions like these:
>> [...]
>>> Finally I cant understand is mp4 stream able or not?
>>> Is it a way to do this with ffserver?
>>> Is there any sample?I read help but they most about live stream but I
>>> just want to stream a simple mp4 file.
>> You don’t need a dedicated streaming server unless you are streaming live
>> content feeds.
>> MP4 is can be streamed as long as it has the index packet moved to the
>> front
>> of the file. (-movflags faststart)
>> If the file is really large / long, you would probably want to chop it up
>> into
>> fragments. (there are several movflags related to this)
>> Nginx with the mp4 module built in should be sufficient to stream the
>> video

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150303/e8ddc14b/attachment.asc>

More information about the ffmpeg-user mailing list