You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Error: Timestamps must be monotonically increasing (DTS went from 440000 to 400000).
Code:
import*ascorefrom"@diffusionstudio/core";import{DotFilter}from"pixi-filters";importvideoFilefrom"/1.mp4?url";constd1=Date.now();constsource=awaitcore.VideoSource.from(videoFile);constvideo=newcore.VideoClip(source,{filters: [newDotFilter()]}).subclip(0,160);consttext=newcore.TextClip({text: "Very own text",position: "center",stop: 80,stroke: {color: "#000000"},});constcomposition=newcore.Composition({backend: "webgl"});awaitcomposition.add(video);awaitcomposition.add(text);constencoder=newcore.Encoder(composition,{fps: 25});encoder.on("render",({ detail })=>console.log(`[RENDERING:progress] Processed frame #${detail.progress} out of ${detail.total}`));encoder.on("error",({ detail })=>console.error(detail));awaitencoder.render();constd2=Date.now();console.log(`[RENDERING:done] Served video in ${d2-d1}ms`);
Error:
Code:
Environment: Ubuntu 22.04, Playwright, Firefox 132.0
Related:
Vanilagy/mp4-muxer#25
Corrupted output:
1732977471482.mp4
The text was updated successfully, but these errors were encountered: