Hacker News new | past | comments | ask | show | jobs | submit login
Medo: A modern UHD 4K open source Media editor for Haiku OS in less than 1.44 Mb (haiku-os.org)
169 points by smallstepforman on Dec 23, 2020 | hide | past | favorite | 29 comments



Medo is an open source (MIT licensed) video editor for Haiku, which uses OpenGL and GLSL for video effects. The fascinating feature about Medo is that the installer package fits on a floppy disk (its less than 1.44Mb). Medo is a C++17 application, and uses the Actor programming model for many-core CPU utilisation.

Github page: https://github.com/smallstepforman/Medo


Funny enough, a “1.44 MB floppy” is actually 1.47 MB—1474560 bytes, or 1.41 MiB if you are missing eight fingers.


Yes, it's 1440 KiB, from 2880 512 byte sectors.


Why do you measure floppy capacity in megabarns?


Can Haiku be installed on bare metal? I remember thinking about installing it many years ago but it seemed so complicated as to keep me from attempting.. I would imagine a lot has changed over 6-8 years?


I have Haiku running on my personal AMD 3700X, Navi 5600, nvme, 3840x2160 screen, working sound and wired network. My work PC has AMD 2700X, Vega 56, also working audio and wired network. My work laptop is MacBook Pro from 2014 (11.3), nvidia gt750m, working audio and wired ethernet. I also have an embedded APU 1605b, working audio and wired ethernet. None of these have hardware accelerated GPU drivers (framebuffer only) or WiFi firmware. So my success rate is 4 out of 4 on actual bare metal systems. But I choose my systems carefully ...


You're just bragging about your hardware :))

But seriously, it's great it works fine on bare metal in so many configurations.


It really is too bad that GPU drivers are closed and hard to re-implement in HaikuOS, the performance and resource management seems awesome compared to the current "bloated" operating systems.


Yes, but you need to carefully pick the hardware at the moment. I, for example, have it running on an old Netbook (MSi Wind U100, 2GiB RAM, spinning disk) and everything apart from audio and webcam seems to work very well, including the WiFi. If you look at the supported hardware, you should be able to build something that works, though, YMMV.


I installed it a couple of months ago on an unused laptop. There is a live environment with a graphical installer, and it worked well. I had a bit of trouble getting the bootloader to work, but once I figured out what was going on there were no more issues. All hardware worked out-of-the box, and there is a software repository. You can tell there are a few bugs here and there, but all in all it's a nice environment to try and play with.


This looks pretty neat. Wonder what format support is like given the whole thing fits in under 2mb.


It links with the system media kit libraries for input, which are backed by ffmpeg. For export it links directly to ffmpeg since the ffmpeg API exposes a lot more options and codec variations compared to BeAPI (ie. you can access the very strict/strict/normal/experimental/unofficial codec combinations).


Ffmpeg is a command line media editor. So is this just some graphical frontend?


ffmpeg is C libraries, the "ffmpeg" program just calls I to them but for instance they're used in chrome and many other software for video playback


Yes, but video playback and conversion is hardly the only thing they do


It targets Haiku, so it probably just uses the system's media libraries (Haiku does this really well)


This is an awesome demonstration of the capabilities of Haiku OS (just like the old BeOS) doing multimedia work. You can still see the old demo videos of BeOS doing very impressive multitasking back in the day of Pentium II processors.


In this context, what does modern mean?


C++17 Actor programming model to utilise modern many CPU-core systems (eg. thumbnail generation by one actor, video decoding/encoding by other actors, rendering in another thread, sound generation in its own thread, each window is in its own thread so can message processing is in parallel. Its also a modular add-on based design. All this in 1.27Mb.


It's great to see a lean app without hundreds of dependencies.


Interesting I interpreted its small size to mean it would have to link to external dependencies for the majority of what it does.


the external dependencies are part of the OS. Just like making a small Win32 graphical app can be a few dozen kilobytes for the actual executable, but behind the scene you've got 200 DLLs being loaded by the OS


That sounds like the core principals of BeOS from the late nineties; hardly modern, no?


Very cool.


everytime an article about haiku comes up, I want to set up a haiku workstation, one of these days..!


I've never been curious enough about Haiku to actually run it - until now!


MB or Mb?


[removed]


I would love one. How much?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: