MP3 to Video App using FFMPEG / React

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 35

  • @gizmo_stuff
    @gizmo_stuff 2 года назад

    Man fell in love with your content

    • @CooperCodes
      @CooperCodes  2 года назад

      Bro thanks so much for your comments! I am trying to build software content that is approachable and shows people how to build whatever they need!

  • @iremkutluca1419
    @iremkutluca1419 Год назад

    It was a really usefull content for me. Thanks a lot.

  • @obentabiayuk4780
    @obentabiayuk4780 2 года назад +1

    Thank you very much. Please what if I want to use an audio from an online source ?

  • @b.wallet5295
    @b.wallet5295 2 года назад +5

    I get this error : "SharedArrayBuffer is not defined"

    • @adriancvzs
      @adriancvzs 2 года назад

      same here..

    • @weeb3277
      @weeb3277 Год назад

      someone posted a solution in the comments

  • @flopasen
    @flopasen 2 года назад +4

    For anyone experiencing the SharedArrayBuffer error or something related to it, a recent security issue changed the way things work, so a solution is to copy ffmpeg-core.js, ffpmeg-core.wasm etc to your working folder and have createFFmpeg() as:
    const ffmpeg = createFFmpeg({
    log: true,
    corePath: 'yourpath/yourpath/ffmpeg-core.js'
    });
    for me it's 'http:localhost:3000/ffmpeg-core.js' (public folder in React project)
    Thank you so much, this has helped me navigate around react for the first time while also trying to handle wasm modules and bugs lol

    • @ankit-v2.1
      @ankit-v2.1 2 года назад +1

      Uncaught ReferenceError: createFFmpegCore is not defined

    • @flopasen
      @flopasen 2 года назад

      @@ankit-v2.1 i have ffmpeg-core.js, ffmpeg-core.wasm, ffmpeg-core.worker.js all in my public folder and it's working for me but I used a slightly different tutorial than this one (almost the exact same)

    • @ankit-v2.1
      @ankit-v2.1 2 года назад

      @@flopasen you are using which version of ffmpeg and core?

    • @flopasen
      @flopasen 2 года назад

      @@ankit-v2.1 i npm install recently but got ffmpeg 0.9.3 and core 0.10.0

  • @sanketkhandunangare4735
    @sanketkhandunangare4735 2 года назад +1

    I'm getting "SharedArrayBuffer is not defined" error. Please help me.

    • @b.wallet5295
      @b.wallet5295 2 года назад

      ME TOO!!!!, Did you found a solutaion ??

    • @CooperCodes
      @CooperCodes  2 года назад

      Are you on the latest version of Google Chrome? This is unfortunately a common issue with this library, kinda sucks is the nice way of putting it.

    • @CooperCodes
      @CooperCodes  2 года назад +1

      github.com/ffmpegwasm/ffmpeg.wasm I'm unsure why I didn't run into this issue myself to be honest, but it looks like here you need to first be on a browser that has SharedArrayBuffer supported (shown in the documentation I linked), and you may also need to add some headers as the documentation notes.
      github.com/ffmpegwasm/react-app I would try to clone this repo, and then try to run it locally. Then you can see if it's an issue with your code or if it's an issue with your browser / local setup.

    • @felixmilome
      @felixmilome 2 года назад

      Did yall find a solution? I gave up

    • @sanketkhandunangare4735
      @sanketkhandunangare4735 2 года назад

      @@felixmilome use CORS, it helped me.

  • @kmcg101
    @kmcg101 2 года назад

    outstanding. thanks so much. I will be making my 'remove audio channel from video file' button soon.

    • @CooperCodes
      @CooperCodes  2 года назад

      That’s sounds like a great project! Best of luck

  • @leouchiha205
    @leouchiha205 3 года назад

    I'm getting "SharedArrayBuffer is not defined" error. How'd you fix this?
    Can you share the source code please? That'd be a huge help

    • @kaashifshehzad
      @kaashifshehzad 2 года назад

      hi, are you find sharedarraybuffer error solution?

    • @leouchiha205
      @leouchiha205 2 года назад +1

      @@kaashifshehzad I just ended up switching from reactjs to nextjs. And it worked

    • @weeb3277
      @weeb3277 Год назад

      someone posted a solution in the comments

  • @FabiDev9
    @FabiDev9 Год назад

    Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
    at 0929d65d-349a-4e29-8c25-0c099561e4b4:22:175
    at Object.load (createFFmpeg.js:64:20)
    at async initializeFFmpeg (Combinar.jsx:13:5)
    This error :(

  • @gizmo_stuff
    @gizmo_stuff 2 года назад

    btw use vite, its much faster and easier to work with

  • @NaveenKumar-ft2gn
    @NaveenKumar-ft2gn 9 месяцев назад

    This was completely updated with latest version of 12
    Can we have the same

  • @uhazir
    @uhazir 2 года назад

    This is a very good idea and a project. I applied it step by step. But in the end I have no error and no response for Google Chrome. It loads everything but does not generate video.

    • @richardmugwa4206
      @richardmugwa4206 2 года назад

      I have same situation, no errors but generate button doesn't generate the video

  • @kumarutsav23
    @kumarutsav23 2 месяца назад

    This video is depricated now