dmnsgn / canvas-record

Record a video in the browser or directly on the File System from a canvas (2D/WebGL/WebGPU) as MP4, WebM, MKV, GIF, PNG/JPG Sequence using WebCodecs and Wasm when available.

Home Page:https://dmnsgn.github.io/canvas-record/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timestamps must be monotonically increasing (went from 333333 to 291666)

TiagoSilvaPereira opened this issue · comments

Sometimes I have the following error when using canvas-record:

Error: Timestamps must be monotonically increasing (went from 333333 to 291666).
    at _D.vC (https://localhost/js/canvas-recorder.js:4:99)
    at _D.og (https://localhost/js/canvas-recorder.js:1:16534)
    at _D.addVideoChunkRaw (https://localhost/js/canvas-recorder.js:1:13711)
    at _D.addVideoChunk (https://localhost/js/canvas-recorder.js:1:13522)
    at output (https://localhost/js/canvas-recorder.js:8:6093)

I'm not sure yet what may cause this error, but I'll investigate, and if I find more details, I'll send them here.

Seems this is related to mp4-muxer