[theora] Live Stream Encoding
mailinglist at xyphur.de
Sun Jun 20 06:05:53 PDT 2010
> So this is a streaming application that you are writing? Is it
> streaming out as HTTP? Are the pictures from files or live?
I have written a simple HTTP server which streams a "virtual" file. The
file doesn't exist in real, my pictures grabbed directly from the frame
buffer (OpenGL), encoded via Theora and sent with the windows socket
functions to the client (Firefox 3.6.3). For response i am using this header
HTTP/1.1 206 Partial Content
and attached the output from Theora directly after this header.
> To show the duration in VLC, I think the streaming application needs
> to support byte-range requests, which allow seeking over HTTP. You
> will also of course need to output a Content-Length HTTP response
Additionally for debugging i can write the Theora output to a file. This
file can be played correctly in VLC but without the correct duration. In
Firefox it doesn't play the first two seconds.
> For Firefox, byte-range requests are also useful, as are a
> Content-Duration HTTP response header or an OggIndex in the generated
The stream is "infinite". What do you mean with "OggIndex"?
More information about the theora