Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

337
Visualizações
Encode WAV [or raw PCM data] to WebM in JavaScript?

BH

I'm trying to make a basic audio editor / cutter and exporter with native JavaScript, so far I have been able to read the raw PCM data of input audio files using AudioContext.deocdeAudio, as well as export as a WAV, but I want to compress it, since a two minute video is around 10mb...

I've been trying to cexport to mp3 using lamejs, but th emscripten version is very slow, and plus there are many copyright issues with mp3, so I want to export it as a webm audio, and / or add it to a webm video. [If a webm video is written with only audio, it plays as audio in the browser anyways, so I can deal with that].

Problem is, is that outside of the MediaRecorder [which is unreliable with exact timing] I haven't been able to find any JavaScript solutions that write a WebM audio file directly [although I was able to find some WebM video writers in pure JavaScript]

I have found vorbis which seems to be able to encode audio with a WebM container, but I haven't found any native JavaScript versions of it

I would use webm-muxer.js but its not supported on my chromebook, and want to use a way thats more widely supported

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda