Code Monkey home page Code Monkey logo

example-ffmpeg-wasm's Introduction

ffmpeg.wasm React Example

wasm 기반 ffmpeg를 사용하는 인터페이스 패키지 ffmpeg.wasm react 사용 예제를 정리하기 위한 코드

https://ddochea.tistory.com/147 에 관련 패키지 소개 및 설명글을 작성했습니다.

2022.02.02 추가사항

과거에는 브라우저에서 조건없이 허용되었던 SharedArrayBuffer 사용에 대해 보안상 이유로 차단되었습니다. 아래 헤더정보가 있어야 사용가능하며, 웹 배포시 배포한 서비스에 아래 헤더정보를 추가해야합니다.

"Cross-Origin-Opener-Policy": "same-origin"
"Cross-Origin-Embedder-Policy": "require-corp"

유의사항

  • @ffmpeg/core 및 wasm 파일에 대한 라이선스는 MIT가 아닙니다.
  • 해당 예제는 오로지 예제로서의 역할이기 때문에 MIT 라이선스로 올렸을 뿐 ffmpeg 의 라이선스를 대응하지 않습니다.

example-ffmpeg-wasm's People

Contributors

ddochea0314 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

example-ffmpeg-wasm's Issues

createFFmpegCore is not defined 이슈

올려주신 코드를 그대로 다운로드 해서 실행해봤지만,
아무런 동작이 없어 개발자 도구로 확인해보면 아래와 같은 에러가 발생하고 있습니다.

Uncaught SyntaxError: Unexpected token '<' (at 4faf03e8-4ac0-4d9c-a436-a9e31ee27e71:1:1)
Uncaught ReferenceError: createFFmpegCore is not defined at HTMLScriptElement.eventHandler (getCreateFFmpegCore.js:43:1)

혹시 사용하실 때 이러한 에러가 없으셨나요?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.