daem-on / fwf

HTML video editor with FFmpeg
MIT License
250 stars 44 forks source link

FFMPEG.js ? #5

Open nvandamme opened 4 years ago

nvandamme commented 4 years ago

Use FFMPEG.js to enable full clientside processing ? https://github.com/Kagami/ffmpeg.js/ https://github.com/bilashcse/Online-Video-Editor

daem-on commented 4 years ago

Hi there! Thanks for the suggestion, I'll try to respond as best as I can with what I know about these projects:

So the first repo (ffmpeg.js) is something I've looked into already, and I think what you mean under "full clientside processing" is a PWA that has all the functionality of my repo, fully in the browser, without Electron. That sounds great, and I'm really optimistic about the future of PWAs, but right now this project isn't really fit to be converted into one. Specifically it has three issues:

This is the way I currently understand the situation, but if these are incorrect, please do respond and tell me.

The second repo (Online-Video-Editor) is functionally very similar to my repo, it only offers node.js-side editing (the Online part is a misnomer), it also uses fluent-ffmpeg and doesn't have any new information.

nvandamme commented 4 years ago

Hi,

Thanks for the quick reply ! These are very good points, it was a wild guess on my side. Of course, refactoring to match this very different processing architecture will be complex.

Some hints, though.

For the stream and webworker part :

For the native filesystem access :

(sorry for the second repo, bad editing on my side!)

Anyway, thanks for this great project !

daem-on commented 4 years ago

To be honest, I don't know much about streams, so I didn't know this was possible, but that project seems to be exactly what I need in this use case.

I also didn't know about this API proposal, but it specifically mentions video editors among others as a possible use case, so I hope it will be implemented soon.

As I've said, I'm very optimistic about PWAs in the future, but for the time being I don't think it would be a good idea for this project.

Thanks for the resources, I'll keep an eye on that proposal as well. 😃