[FFmpeg-user] Fwd: Stream mp4

aradeonas aradeonas at operamail.com
Tue Mar 3 20:20:56 CET 2015


Probably Im asking badly.

I have a mp4 file file and I want stream it from server just like
Youtube and every one can watch it. Sure I add HTML5 video-tag but video
continue playing until it ends and all of client see one screen and
there is no control for user,Im sure Im wrong somehow abut I dont how to
do it right. Take a look at here:
http://stackoverflow.com/questions/28435564/begin-stream-simple-mp4-with-ffserver

Regards, Ara

On Tue, Mar 3, 2015, at 11:14 AM, Reindl Harald wrote:
>
> Am 03.03.2015 um 20:04 schrieb aradeonas:
> > Yes it makes scene when you are a newbie ;) .
>
> no
>
> > I really need an example or source. Last thing I can done until now
> > is stream mp4 file but it is live,I mean it play from first to end
> > an player have no control on it,like a TV not YouTube.
>
> no idea what is your *real* application
>
> you need a HTML5 video-tag or a flash-player it starts to play and you
> ca navigate
>
> "stream mp4" alone makes no sense - period
>
> > On Tue, Mar 3, 2015, at 10:46 AM, Reindl Harald wrote:
> >>
> >>
> >> 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
>
> _______________________________________________
> ffmpeg-user mailing list ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user Email had 1 attachment:
> + signature.asc 1k (application/pgp-signature)


-- 
http://www.fastmail.com - IMAP accessible web-mail



More information about the ffmpeg-user mailing list