Live data from Hacker News

Show HN: I created an After Effects alternative

pikimov.com

221–230 of 285 posts

Re: Show HN: I created an After Effects alternative

#221

Earlier quoted context omitted.

What about workers? Isn’t it basically the same as offloading computation heavy work to separate thread? Also, we have WebAssembly. Afaik, js threads can now share memory using SharedArrayBuffers. So I don’t think we have this single thread limitation anymore :)

Idk about this specific app, but the main problem with workers is that any data their working on needs to be copied in or side-loaded into them once they spin up. I imagine for huge video files, having each worker load up a separate copy could be a bottleneck.

> the main problem with workers is that any data their working on needs to be copied in or side-loaded into them once they spin up

Isn't this no longer an issue thanks to SharedArrayBuffer?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

I believe the ONNX Runtime uses this for multithreading on the web, see https://github.com/nagadomi/nunif/issues/34

Re: Show HN: I created an After Effects alternative

#223

Can you please clarify, which exactly key features are missing from Firefox that make this app say 'use Chrome or Edge'?

Why the entitled tone demanding "to clarify which exactly key features"? It is the right of developers to say "I don't want to support your browser" and you should respect that decision even if you disagree with it. As a reality check, see this ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=390936 It took Firefox 17 years of back and forth with developers to add parity with an Internet Explorer feature that Chr…

I don't think they were demanding it work with Firefox.

I think they genuinely were interested to learn more about the deficiencies of Firefox.

Re: Show HN: I created an After Effects alternative

#224
post #202

Earlier quoted context omitted.

Probably the dev needs to use a different method to save (effectively download), much as Adobe Photoshop does when it exports files on Firefox. Not hard to do at all. Likely the same for reading files, if this tool needs that. OPFS provides high-speed read and write for temporary files and non-exported files; again this is what Photoshop uses. There is a 10GB limit per domain currently. I'm not sure this particular a…

Aren't you replying to the dev? ;)

padenot already has

Re: Show HN: I created an After Effects alternative

#226
post #208

As a developer it's rare to see something which leaves me feeling "how would you even build something like that..." but this is one of those. Huge cudos for even attempting and following through with something like this!

yeah i'm gonna need a TLDR of the major moving parts. how do you even do video editing in the browser? is there a "ffmpeg in the browser"? is that the basic building block?

> is there a "ffmpeg in the browser"?

I don't know if this project uses it, but there's ffmpeg.wasm [1].

1: https://github.com/ffmpegwasm/ffmpeg.wasm

Re: Show HN: I created an After Effects alternative

#227

Earlier quoted context omitted.

Idk about this specific app, but the main problem with workers is that any data their working on needs to be copied in or side-loaded into them once they spin up. I imagine for huge video files, having each worker load up a separate copy could be a bottleneck.

> the main problem with workers is that any data their working on needs to be copied in or side-loaded into them once they spin up Isn't this no longer an issue thanks to SharedArrayBuffer? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... I believe the ONNX Runtime uses this for multithreading on the web, see https://github.com/nagadomi/nunif/issues/34

Ooh. Interesting. I wrote my last worker-based app a couple years ago for chunking and crunching some large datasets. I'll have to give this a go one weekend.

Re: Show HN: I created an After Effects alternative

#228

Can you please clarify, which exactly key features are missing from Firefox that make this app say 'use Chrome or Edge'?

I (Firefox developer working on anything media related) got in contact with the dev on Twitter, and he told me that Web Codecs was missing (and we're shipping this in a month or so, it's been in Nightly for some time), and something to save project file to disk ( https://developer.mozilla.org/en-US/docs/Web/API/Window/show... ). So I spoofed the user-agent in a nightly build here on my Linux desktop workstation, then…

I would really like to be able to give webpages access to a real local file/folder. It's one of the main barriers to using web apps as production apps and is IMO one of the drivers pushing everything into (generally proprietary, locked in) cloud storage.

Obviously the permissioning model needs to be thought out here. It could perhaps only be available to "PWA"s that have been "installed", only on https sites, and only once explicit permission has been given, etc.

But it's so cumbersome to have upload/download be the only way to sync files into a web app.

Post reply on HN