[HN Gopher] Show HN: Browser-based audio extractor tool
       ___________________________________________________________________
        
       Show HN: Browser-based audio extractor tool
        
       Author : jackbeck
       Score  : 30 points
       Date   : 2021-05-02 11:02 UTC (12 hours ago)
        
 (HTM) web link (mastershot.app)
 (TXT) w3m dump (mastershot.app)
        
       | wakest wrote:
       | The warning that it loads only on Chromium based browsers loads
       | off the screen on an iPhone so it looks like a blank page until
       | you scroll down. Would be a quick fix.
        
         | jackbeck wrote:
         | Thanks for that, I'm on it.
        
       | kmgb wrote:
       | Does this use the tabCapture API? Last I tried that it limited
       | the audio quality quite a bit.
        
       | progfix wrote:
       | Why does it only work on chromium?
        
         | jackbeck wrote:
         | It theoretically should also work with Firefox, but for some
         | reason that I haven't yet discovered it's not working. It
         | requires SharedArrayBuffer to be enabled on the browser and
         | that's currently only Chrome/FF.
        
       | jackbeck wrote:
       | Hey HN, This is the first of many media oriented tools I plan on
       | creating that are focused on user privacy. With this tool, you
       | can extract audio from any video. Currently it only supports
       | Chrome or Chromium based browser seeing as the underlying tech
       | uses SharedArrayBuffer.
        
         | lights0123 wrote:
         | > Currently it only supports Chrome or Chromium based browser
         | seeing as the underlying tech uses SharedArrayBuffer
         | 
         | ...which Firefox supports. You already properly cross-origin
         | isolate your website, so it is already available on it.
        
           | lioeters wrote:
           | Funny to see this mentioned. Just this morning I was
           | struggling to get ffmpeg-wasm working on Firefox. It should
           | theoretically be possible with HTTPS and configured headers:
           | Cross-Origin-Opener-Policy: same-origin       Cross-Origin-
           | Embedder-Policy: require-corp
           | 
           | Related links:
           | 
           | Does not work in Firefox 79+ because SharedArrayBuffer is
           | undefined -
           | https://github.com/ffmpegwasm/ffmpeg.wasm/issues/106
           | 
           | SharedArrayBuffer: Planned changes to shared memory -
           | https://developer.mozilla.org/en-
           | US/docs/Web/JavaScript/Refe...
        
             | jackbeck wrote:
             | Yeah, I get an error saying something like f.asm is
             | undefined and the maintainer is MIA. I'm taking a look at
             | creating a form of the project and seeing what can be done
             | at some point.
        
           | jackbeck wrote:
           | There seems to be an issue with compiling FFmpeg to wasm
           | which prevents it from working on Firefox
        
         | taf2 wrote:
         | I was super disappointed when Apple removed support for
         | SharedWorkers.... Seems SharedArrayBuffer could have easily
         | been part of Safari.
        
           | jackbeck wrote:
           | I'm working on a solution for this, I hope to have this
           | working cross browser within a week.
        
       ___________________________________________________________________
       (page generated 2021-05-02 23:02 UTC)