ilia3101 / MLV-App

All in one MLV processing app.
https://mlv.app/
GNU General Public License v3.0
274 stars 30 forks source link

Add mcraw input file format #281

Open tlenke opened 3 months ago

tlenke commented 3 months ago

This PR adds support for the mcraw file format.

The mcraw file format is created by MotionCam Pro (https://www.motioncamapp.com/), an app that runs on Android devices and allows them to capture RAW video. If you wish to try out the software, there is a free demo version available.

Only the structs required by the MLV format are used when loading an MCRAW file.

Support for this new format can potentially make MLV App available to a much larger audience.

masc4ii commented 3 months ago

Hej! Nice work! Is MCRAW so close to MLV? Unfortunately I can't test it, as I don't have any device supporting MotionCam around. I more thought supporting MCRAW in raw2mlv, which is the input of non-MLV RAW footage into MLVApp.

tlenke commented 3 months ago

Hi, if you want to try, here is a sample file: https://storage.googleapis.com/motioncamapp.com/samples/007-VIDEO_24mm-240328_141729.0.mcraw

In terms of metadata the two formats differ a lot, but of cause the basic RAW/bayer data is the same. Surprisingly it worked very well to "fake" the mlv and fill just enough oft the mlv structs to get it working.

I'm not familiar with your suggested raw2mlv; would this enable seamless integration such as drag-and-drop and straight open?

masc4ii commented 3 months ago

Great! Thank you. I hope I'll find some time soon! The integration should be better the way you realized it. raw2mlv converts all (supported by libraw) type of RAW to MLV and then you can open it in MLVApp. https://github.com/ilia3101/LibMLV/tree/master/old/programs/raw2mlv

ilia3101 commented 1 month ago

So exciting! Sounds great!