
Firefogg
video encoding and uploading for Firefox
Firefogg Render API
the Firefogg object has these functions and properties for rendering video/audio into an ogg stream:
| initRender(options, name) | init rendering, options below, name is name of file |
| addFrame(elementId) | add video frame, elementId is elemnt on page that will be rendered |
| addAudioUrl(url, start, duration) | add remote ogg url to audio, start defines offset from start, use 0 to not chop at beginning, if duration is -1 file will be used untill end, otherwise only duration(in seconds, float) |
| addSilence(duration) | add duration(float) seconds of silance |
| render() | render audio and video into ogg file, if saveVideoAs was called before, result will be saved at given location |
| string renderstatus() | return information about current render status |