Re: [Cortado] How to support seeking in on-the-fly generated Theora stream?

"Benjamin M. Schwartz" <[email protected]> Mon, 23 May 2011 11:25:03 -0400
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============1870053698==
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig20F8E53BC556FCAD09EF3617"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig20F8E53BC556FCAD09EF3617
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 05/23/2011 11:07 AM, Gregory Maxwell wrote:
> Last I tested client side seeking worked
> absolutely fine in it.

I don't recall Cortado having any support for seeking if the server
doesn't support byte-range requests, as in this case.

I think the proposed use case is essentially to permit client-side-only,
backwards-only seeking when accessing servers that do not support
byte-range requests.  It seems to me that implementing such a feature
might be possible, and David is on a somewhat reasonable track, although
oggz_chop[1] would be much easier.  Oggz_chop controls will also be
necessary anyway for forward seeking, so implementing the caching first
seems like premature optimization.

To make local-cache seeking work, I would recommend following the seek
event model used in gstreamer [2], as Cortado is essentially a clone of
gstreamer.

[1] https://github.com/kfish/liboggz/blob/master/apache/oggz-chop.conf.in=

[2]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section=
-events-definitions.html#section-events-seek


--------------enig20F8E53BC556FCAD09EF3617
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3afE8ACgkQUJT6e6HFtqSU/ACbBEXE76Wz7rU2GXhBXcFEswWI
3UEAniD4kMiP0o8G6WsHOjJjj1tpOfT7
=F1eC
-----END PGP SIGNATURE-----

--------------enig20F8E53BC556FCAD09EF3617--

--===============1870053698==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
theora-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora-dev

--===============1870053698==--