Version 2 (modified by 15 years ago) (diff) | ,
---|
H264 Streaming With Lighttpd
mod_h264_streaming is based on an already existing lighttpd module (mod_flv_streaming). The basics are very similar and this module allows you to seek in MP4 files.
The module expects a URL which matches h264-streaming.extensions and that can handle a '?start=" part of the request.
The information to pass into the ‘start’ parameter is extracted by the flash-player from the meta-data of the mp4-files. Note that you pass it the 'time' field and not the 'offset' field.
You have to make sure that this meta-data is present in the video stream. See Encoding for more information on how to encode videos.
server.modules = ( ..., "mod_h264_streaming", ... ) h264-streaming.extensions = ( ".mp4" )