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

Stuck at stream mapping #578

Open
ruipneves opened this issue Sep 8, 2023 · 1 comment
Open

Stuck at stream mapping #578

ruipneves opened this issue Sep 8, 2023 · 1 comment

Comments

@ruipneves
Copy link

ruipneves commented Sep 8, 2023

Describe the bug
When trying to convert a .mp4 to .gif it gets stuck at stream mapping.

I am using version 0.12.6

Tried with:


const file: File = new File([blob], 'videoToBeConverted', { type: blob.type });

const nameIn = file.name;
const nameOut = 'output.gif';

const arrayBuffer = await file.arrayBuffer();

await ffmpeg.exec([
    '-i',
    nameIn,
    '-vf',
    'fps=10,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse',
    nameOut,
]);

and

const file: File = new File([blob], 'videoToBeConverted', { type: blob.type });

const nameIn = file.name;
const nameOut = 'output.gif';

const arrayBuffer = await file.arrayBuffer();

 await ffmpeg.exec([
    '-i',
    nameIn,
    '-t',
    '2.5',
    '-ss',
    '2.0',
    '-f',
    'gif',
    nameOut,
]);

Even tried just converting the .mp4 to .mov and still got stuck.

To Reproduce
Cannot provide a reproducible project.

Expected behavior
Conversion should start and be logged.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version 116

Additional context
N/A

@ruipneves
Copy link
Author

Alright, just saw now that I was using the multi thread version which gets stuck. The single thread works fine.
Any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant