Collin Miller - Puppeteer + canvas + WebCodecs to replace ffmpeg

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 8

  • @anilsonix
    @anilsonix 2 ปีที่แล้ว +2

    ☺️ I am using ffmpeg wasm to encode frames into MP4 , but the ram usage is pretty high.
    Will try the webcodecs to see how it performs.

    • @tombyrer1808
      @tombyrer1808 2 ปีที่แล้ว

      How did it go?

    • @anilsonix
      @anilsonix 2 ปีที่แล้ว +1

      @@tombyrer1808 webcodecs don't offers to mux encoded frames into MP4. For that a separate lib is needed .
      Hopefully this will be a built-in feature in future. Right now continuing with ffmpeg wasm. A couple of lightweight wasm libs are also available but they don't mux audio.

    • @Sanftermann
      @Sanftermann 2 ปีที่แล้ว

      @@anilsonix I am struggling to give the encoded Chunks to ffmpeg. Never worked with it before. Can we maybe get in contact?

    • @siddeshsharma968
      @siddeshsharma968 2 ปีที่แล้ว

      Ffmpeg requires shared array buffer right!?
      Are you using thia for production!?

    • @anilsonix
      @anilsonix 2 ปีที่แล้ว

      @@siddeshsharma968 yes, cross site isolation is required for sharedarraybuffer.