Lurker News
Hey everyone, for the past like six months I've been working on a portfolio project. I got tired of doing easy projects, so I decided to tackle something bigger and more challenging. That's when I came up with the idea of a video editor. This piece of work is intended to showcase my skills and land me a job, but I like to think when working on projects that my idea is so cool that people will like to use it, and I treat every project like a startup idea. Also I havent seen many open source video editors especially on web so that was one of the points why I decided to make that and not something else, but in the end its learning experience and im not expecting much if at all.

A bit about the video editor itself:
-website: https://omniclip.app/
-its free
-its open source (MIT Licensed)
-its using Webcodecs API for quick rendering
-works fully inside browser, client side, no private data is kept
-I made some readme with more details, im not expecting contributions but I added bit about it: https://github.com/aegir-assembly/omni-clip
Features:
-Trimming
-Splitting
-Supports - Text, Audio, Video (mp4) and Images
-Clip editing on preview - rotating, resizing, text styling and more
-Undo/Redo
-Render in different resolutions, up to 4k.
Things to know before using this editor:
-it is simple editor, but its my main project im working on and improving it.
-right now it only works with videos 25 fps and more but not less
-only 4 tracks -- its something I could improve quickly but forgot
-bug here and there (eg. filmstrip not rendering until timeline scroll moved)
-its not working on phones yet (drag and drop API problems)
I'd love to hear your thoughts and feedback on it.

Comments (90) 40 threads

Show all comments

Showing thread 4 of 40

thatandyrose1 reply#
Hey this is awesome! I'd love to hear more about some big issues you had, and how you solved them. For example, you mentioned using the webcodecs API for quick rendering. What do you mean by that? What was the slower alternative? Also when did you choose ffmpeg Vs webcodecs API and what were the differences? A lot questions, sorry just really impressed!
zenkyu1 reply#
So basically webcodecs API is the best thing to happen in video processing, decoding and encoding are the most demanding parts of rendering, honestly there werent any good alternatives at all and If it wasnt for webcodecs api I wouldnt even bother trying to do it fully clientside, it would be slow and all, here is a bit about the alternatives: https://github.com/w3c/webcodecs/blob/main/explainer.md none of those alternatvies were specifically just for decoding and encoding, usually you had to work around it and get average results at best which I really wasnt satisfied with. When it comes to ffmpeg vs webcodecs API, honestly ffmpeg is slow as decoder and encoder I really dont recommend using it when theres webcodecs api, obviously depends what you are trying to do, but my god I dont remember exacly how fast it was but ive got like 10 fps when decoding or something like that, you would be better off just playing the video and drawing it in real time
matsemann#
Thanks for the input! Some time ago I wanted to make some simple canvas animation into a video (output of some sensor data), but the animation should take about 5++ minutes to play, real time to the sensor values.

I found no way of really exporting it in browser without either rendering it real time (so having to wait forever) or through some asm ports (still slow). So this is better now?