News for hackers. Stuff that matters.
Re:Show HN: Browser-based audio extractor tool by wakest on Sunday May 02, 2021 @12:20PM (#27016461)
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.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Sunday May 02, 2021 @01:24PM (#27016996)
Thanks for that, I’m on it.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Sunday May 02, 2021 @07:06AM (#27014105)
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.
Re:Show HN: Browser-based audio extractor tool by lights0123 on Sunday May 02, 2021 @01:19PM (#27016961)
> 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.

Re:Show HN: Browser-based audio extractor tool by lioeters on Sunday May 02, 2021 @02:47PM (#27017752)
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...

Re:Show HN: Browser-based audio extractor tool by jackbeck on Sunday May 02, 2021 @02:51PM (#27017782)
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.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Sunday May 02, 2021 @01:24PM (#27017002)
There seems to be an issue with compiling FFmpeg to wasm which prevents it from working on Firefox
Re:Show HN: Browser-based audio extractor tool by taf2 on Sunday May 02, 2021 @12:51PM (#27016711)
I was super disappointed when Apple removed support for SharedWorkers…. Seems SharedArrayBuffer could have easily been part of Safari.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Sunday May 02, 2021 @01:25PM (#27017010)
I’m working on a solution for this, I hope to have this working cross browser within a week.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Monday May 03, 2021 @07:08AM (#27023624)
I have a version up that in theory should support Safari (both desktop and mobile). The only limitation at the moment is that there's no progress indicator.

Edit: limitation is gone, it should work 100% now

Re:Show HN: Browser-based audio extractor tool by funcDropShadow on Monday May 03, 2021 @08:02AM (#27023982)
> ... that are focused on user privacy. ... Currently it only supports Chrome or Chromium

To me, that is an obvious contradiction.

Re:Show HN: Browser-based audio extractor tool by jackbeck on Monday May 03, 2021 @08:52AM (#27024394)
Believe me, I feel the same way. I launched the first version of this tool to gauge interest. As we speak a new version has gone up with complete cross-browser support. Although it isn’t easy that the browser with the most privacy issues has the most features...
Re:Show HN: Browser-based audio extractor tool by fragileone on Tuesday May 04, 2021 @11:00PM (#27045704)
That's a feature of Google's web dominance - they can churn out tons of features which means their competitors have to expend most of their productive output just to keep parity.
Re:Show HN: Browser-based audio extractor tool by djfdat on Monday May 03, 2021 @09:23PM (#27033054)
When you download the audio file, its just called download.mp3

It should instead keep the name of the video file, and just have the mp3 extension. It looks like you already have this filename in the preview audio player widget.

Also, there doesn't seem to be any caching of the files. Might be good to look in to something for that as well.

Re:Show HN: Browser-based audio extractor tool by jackbeck on Tuesday May 04, 2021 @03:18PM (#27041707)
Yeah, that seems pretty easy to accomplish.

What do you mean by file caching?

Re:Show HN: Browser-based audio extractor tool by kmgb on Sunday May 02, 2021 @01:53PM (#27017267)
Does this use the tabCapture API? Last I tried that it limited the audio quality quite a bit.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Monday May 03, 2021 @04:20PM (#27030148)
This does not use tabCapture for any audio processing. As far as I know tabCapture is only available in extension context.
Re:Show HN: Browser-based audio extractor tool by SeriousM on Monday May 03, 2021 @04:23PM (#27030186)
Why? ffmpeg can do that, no need for a limited web app.
Re:Show HN: Browser-based audio extractor tool by jackbeck on Monday May 03, 2021 @05:14PM (#27030733)
That's 100% true. For some people. People who have ffmpeg installed would know doubt find it easier to enter the command for this, but the majority of people don't have it downloaded. More than that, most people don't find CLIs to be the most intuitive interfaces out there so I figured creating a GUI interface would be helpful.

Technically speaking, ffmpeg could accomplish 99% of what I'm building at https://mastershot.app/, but GUI > CLI for most people.

Re:Show HN: Browser-based audio extractor tool by progfix on Sunday May 02, 2021 @01:12PM (#27016892)
Why does it only work on chromium?
Re:Show HN: Browser-based audio extractor tool by jackbeck on Sunday May 02, 2021 @03:00PM (#27017878)
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.