A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/027000.html below:

[Ffmpeg-devel] [PATCH/RFC] http seeking

[Ffmpeg-devel] [PATCH/RFC] http seekingRonald S. Bultje rbultje
Thu Jan 4 05:42:27 CET 2007
Hi,

attached is my new attempt at HTTP seeking. It's using AVSEEK_SIZE for
retrieving the filesize. It uses the Range request header as defined in
the HTTP 1.1 spec. Seek failures are handled by keeping the old
connection open until after the seek has succeeded. is_stream is set by
the Content-Range property in the server reply header.

I've tested this on a variety on audio/video formats (avi, quicktime,
mp3, mpeg/vob) and it works for all of them, although performance isn't
always optimal (e.g. quicktime seeks a lot, leading to considerable
demuxer slowdowns, mp3 caches a lot of data and so the first seek takes
a while to complete, large DVD-size vob movies don't play at full speed
b/c of network slowness here, etc.). I'm sure that can be worked on at
some point.

Comments welcome.

Cheers,
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d
Type: text/x-patch
Size: 7478 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070103/1857f159/attachment.bin>

More information about the ffmpeg-devel mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4