News for hackers. Stuff that matters.
Re:Mastershot – Web based video editor by navanchauhan on Sunday June 06, 2021 @03:52PM (#27415762)
It uses ffmpeg (compiled to WASM) and currently only Chromium browsers support SharedArrayBuffers.

SAFs were disabled on all major browsers after the Spectre exploit iirc. Slowly but steadily they’ll patch and bring the feature back, and it’ll automatically be compatible with those browsers then.

Edit: Apparently Firefox does have SharedArrayBuffer support[0], but needs special headers.

[0] https://caniuse.com/sharedarraybuffer

Re:Mastershot – Web based video editor by mogstripe on Sunday June 06, 2021 @06:41PM (#27417019)
I made a similar site and it works fine in firefox after the headers are added: https://editclips.online/
Re:Mastershot – Web based video editor by 2Gkashmiri on Monday June 07, 2021 @12:19AM (#27418959)
hey... is your product foss licensed or proprietary?
Re:Mastershot – Web based video editor by mogstripe on Monday June 07, 2021 @05:55PM (#27427602)
I haven't published the source yet but I plan to do it in the future.
Re:Mastershot – Web based video editor by 2Gkashmiri on Tuesday June 08, 2021 @12:36AM (#27430673)
cool. this idea came up when i saw your website. Peertube would be much better if it had on the fly editing tools like yours. They could build from scratch but that's not really efficient. If you do go GPL or something, please come to peertube github. the software needs something like this
Re:Mastershot – Web based video editor by tommica on Monday June 07, 2021 @07:41AM (#27421391)
Uuuh, can you add a feature to mirror videos - that would really be useful to create some choreo practive videos
Re:Mastershot – Web based video editor by lazyresearcher on Sunday June 06, 2021 @03:57PM (#27415796)
Firefox does support SharedArrayBuffers again https://caniuse.com/mdn-javascript_builtins_sharedarraybuffe...
Re:Mastershot – Web based video editor by navanchauhan on Sunday June 06, 2021 @04:10PM (#27415896)
Quick question, what’s the difference between the SharedArrayBuffers you linked and the ones I linked in my edit
Re:Mastershot – Web based video editor by jchw on Sunday June 06, 2021 @05:34PM (#27416539)
One of them was imported from MDN (and is more accurate, at least in this case.)

https://hacks.mozilla.org/2019/09/caniuse-and-mdn-compat-dat...

Re:Mastershot – Web based video editor by lights0123 on Sunday June 06, 2021 @05:46PM (#27416646)
Chrome needs the same headers too since Chrome 91, as it was violating CORS without requiring them.
Re:Mastershot – Web based video editor by arkadiyt on Sunday June 06, 2021 @06:30PM (#27416957)
It does not require CORS (cross origin resource sharing), it requires COEP/COOP.
Re:Mastershot – Web based video editor by lights0123 on Sunday June 06, 2021 @10:19PM (#27418311)
Yes, but because it did not require COEP/COOP, it allowed websites to break CORS policies through Spectre.