[FFserver-user] streaming to web-embedded players
qwiglydee at gmail.com
Fri Feb 10 10:47:59 CET 2012
On 10 February 2012 15:40, Michal Tausk <mtausk at gmail.com> wrote:
>> On 9 February 2012 19:25, Michal Tausk<mtausk at gmail.com> wrote:
>>>> I'm missing the point - how to serve streams to web-embedded players
>>>> like flowplayer or flvplayer.
>>>> Can ffserver stera via RTMP?
>>>> Or is it enough to server flv-format via HTTP with some smart tweaking a
>>> Those embedded players don't need a streaming server. They are able to
>>> "stream" on their own. I think it's progressive download.
>> Progressive download does not allow to rewind the stream.
>> Also, player display completely wrong time.
>> I'm not sure enough, but i guess RTMP streaming support such things.
> The players allow rewinding the "stream" (let's call it pseudostreaming).
> This fully depends on the player. If it progressively downloads the file,
> there's no problem to move forth and back in the already downloaded part.
> See forums on the flowplayer or other ones.
Documentation on flowplayer pseudostreaming says:
FLV files and metadata
If you are streaming FLV files instead of H.264 files you must have
so-called FLV metadata on your file. This metadata contains the
keyframe information in XML format. If this metadata is missing your
video file will act like a normal HTTP progressive download. You can
inject the metadata with a small program called flvtool2.
H.264 files and metadata
In H.264-based video formats (mp4, m4v) the metadata is called a "moov
atom". The moov atom is a part of the file that holds the index
information for the whole file.
Many encoding software programs such as FFMPEG will insert this moov
atom information at the end of the video file. This is bad. The moov
atom needs to be located at the beginning of the file, or else the
entire file will have to be downloaded before it begins playing.
In my setup ffserver streams anther stream taken from rtsp, and thus i
cannot just fix the file.
Does ffserver has these required features with metadata?
And somewhow I failed to setup anything other then flv to be streamed
Probably, because of the metadata issue.
Does someone around here have a working example of restreaming rtsp
into http to flashplayer?
More information about the ffserver-user