Open neilkinnish opened 1 month ago
Would you mind sharing a full code example? I just rendered this snippet successfully with v1.0.0:
const composition = new core.Composition();
const source = await core.VideoSource.from('https://diffusion-studio-public.s3.eu-central-1.amazonaws.com/videos/big_buck_bunny_1080p_30fps.mp4');
const track = composition.createTrack('video').stacked();
const clip = await track.add(new core.VideoClip(source));
await track.add(clip.copy().subclip(0, 100));
I'll put together an example, it seems to be when you have a lot of clips.
I exported 4k video with 5 of 4k clips, and some 720p videos included with different alpha, different volume, etc. Its exported without problem blazing fast.
I'm getting an export issue:
error in worker EncodingError: Decoding error.
I have debug true, but the error information is quite basic.
Context:
If I run on the same setup with a simple
composition.add(clip);
(clip being a videoclip) it will successfully export.If I use stacked tracks like so...
Preview works correctly, but if fails with the export.
UPDATE: with a few clip added it works, but it seems to be an issue if you add a lot of clips.