Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export issue. #27

Open
neilkinnish opened this issue Oct 23, 2024 · 3 comments
Open

Export issue. #27

neilkinnish opened this issue Oct 23, 2024 · 3 comments
Assignees
Labels
bug Something isn't working high prio

Comments

@neilkinnish
Copy link

neilkinnish commented Oct 23, 2024

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...

const track = composition.createTrack("video");
track.stacked();

const copy = clip.copy();
copy.subclip(0, 100);
await track.add(copy);

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.

@k9p5
Copy link
Contributor

k9p5 commented Oct 23, 2024

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));

@neilkinnish
Copy link
Author

I'll put together an example, it seems to be when you have a lot of clips.

@k9p5 k9p5 added this to Core dev Oct 23, 2024
@k9p5 k9p5 self-assigned this Oct 23, 2024
@k9p5 k9p5 added bug Something isn't working high prio labels Oct 23, 2024
@girayk
Copy link
Contributor

girayk commented Oct 23, 2024

Screenshot 2024-10-24 at 01 29 38

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high prio
Projects
Status: No status
Development

No branches or pull requests

3 participants