-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 13/12/13 03:24 AM, Ulrich Aumann wrote:
> Is there a plan to add MP4-Streaming support via Byte-Range
> requests in upcoming versions of Firefox?
It sounds like you're asking about seeking over http Range requests,
since progressive playback during download works. I think we plan to
implement that eventually, but it may be a while. In the meantime I
recommend using a more stream-oriented video format like WebM or Theora.
> Because I read that MP4-Support depends on underlying OS support
> for H.264 decoding: Will this feature depend on the actual
> OS/device, Firefox is running on?
That's true right now because we forward to the whole mp4 stream to
the platform-specific decoder. We're currently rewriting mp4 support
to do the demuxing in native firefox code, and rely on
platform-specific modules only for decode of compressed audio and
video frame data. That will let us support seeking in the same way on
all platforms, but we have to finish the rewrite first.
What will work sooner is the MediaSource extension, which allows a web
page to feed compressed data to the playback pipeline. This allows
direct control over download and buffering. You could use this to
implement your own byte-range seeking in javascript until Firefox
supports is natively, or use one of the libraries for DASH for HTTP
Live Streaming.
We'll be supporting fragmented mp4 playback for the MediaSource
extensions (currently works, behind a pref, in Firefox Aurora or
Nightly on Windows only), then non-fragmented mp4 for normal <video>
playback, and finally seeking, in that order of priority.
That's the current plan, anyway. Hope it helps with your planning.
-r
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQEcBAEBAgAGBQJSq1f3AAoJEEcAD3uxRB3vbkkH/RNEVVllQKh4qXdFtEus/X9k
YSHDPnr15TndzzeVpGoVE3SZgH2kzcrqesAm4OF078sb58Vuwd84XR/4DGYLQtGO
8lniYQbHCK7AQs4lf163uMWuAZOxF/fGo8D8/bTZO7MdL1jGSU+0/mDD/vpV8X+S
XjmGVWESGh8x3tpt3QheEKWp6k+x8IJ+EKbHrpld8vLOEMuFxlqY4ZXLWWmMC8wA
6XshxbiNFS3Aqlfi8i+4eicAoHFQ3dGYjk2VbsO5SYuO1/mRD/j7VNBD+kC4GTB1
/3RVeA92yMIiuklI+KKmWWNmzPsnjsL5moKg0zKpPMrL0wmPuH6ae74mPHDsfKk=
=Z2OB
-----END PGP SIGNATURE-----