Noobie☺N
Deno3y ago
4 replies
Noobie☺

how convert file to another format?

I’m playing with openai in deno using openai_deno and I’d like to know to convert an ogg file to whisper’s supported formats.
First of all, the ogg files are from remote links and I use the native fetch api to get their contents then I use ‘new Blob([data.buffer])’ to transform the fetch file into blob. I even added {type: ‘audio/wav}’ but whisper still rejected the format
Was this page helpful?