-
-
Notifications
You must be signed in to change notification settings - Fork 787
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
FFmpeg is not defined #529
Comments
window.FFmpegWASM.FFmpeg |
The core you use in v0.12.2 is single-thread, that's why it is slower. You can use More details: https://ffmpegwasm.netlify.app/docs/getting-started/usage#transcoding-video-multi-thread |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
FFmpeg is not defined
I used to use version 0.11.x, recently released 0.12.x, I need to make changes to the code.
![image](https://private-user-images.githubusercontent.com/77874665/258022394-c7bcd975-972e-4d9d-a5c6-2f4ce587701d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5MTY5MDIsIm5iZiI6MTcyMTkxNjYwMiwicGF0aCI6Ii83Nzg3NDY2NS8yNTgwMjIzOTQtYzdiY2Q5NzUtOTcyZS00ZDlkLWE1YzYtMmY0Y2U1ODc3MDFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI1VDE0MTAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlYTAyOGFlMDJhMGQ3YzRkYTIwNjA3NGExMDA4MTRkMzFkYmExMTY0NTcxYjAwZGJmMTBhMTI0YmIyOWJiMWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Di28RjyyiFV5Tioyx0x-sYjVWnrj85CPRb-He5DVAjE)
<script type="text/javascript" src="https://www.xxx.com/source/reference/project/ffmpeg.wasm/ffmpeg/dist/umd/ffmpeg.js"></script> <script type="text/javascript" src="https://www.xxx.com/source/reference/project/ffmpeg.wasm/util/dist/umd/index.js"></script>I downloaded the required files into a local directory and referenced them.
But when I started using it, an error occurred, what should I do.
const ffmpeg = new FFmpeg();
Try it on the official page, such as Playground, the result is the same.
Desktop:
The text was updated successfully, but these errors were encountered: