HTTP plugin in pull mode with Apache web server
bilboed at gmail.com
Mon Apr 29 23:46:11 PDT 2013
You can't efficiently do trick-modes (assuming you are doing high-rate
seeks or reverse seeks, and therefore wanting to seek in the source
(http) at a high rate or in reverse order) with standard HTTP.
the http source is push-based because it can not do fast random access
(it takes the time to send a range-based request to the server, for the
server to aknowledge it, and finally for the source to start receiving
data from that offset).
If you want to handle trick modes with http you either:
* Are lucky that the server sends data fast enough and use queue2 to
buffer locally (the source pushes the data into queue2 and the demuxer
pulls data already downloaded). This will not work for reverse modes
though since you can't tell an HTTP server to send you data in reverse
GOP order (which it has no clue about).
* You have an out-of-band system to notify the remote server it should
send you a stream with trick mode applied to it (also known as
server-side trick mode) and you start playing it back at a normal pace
(note: this is what UPnP/DLNA does).
Summary : no, you can't efficiently do trick modes via HTTP without
some outside help.
On Tue, 2013-04-30 at 11:49 +0800, Suresh Kumar SHUKLA wrote:
> I am using Apache web server (2.4) for playback of media files. From
> server point of view, it’s as simple as progressive file data fetch.
> Playbin2 by default, uses souphttpsrc plugin, which works in push-mode
> and is showing up problems in trick-modes.
> Is there an alternative for use with Apache web server in pull-mode?
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel