Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mcraw input file format #281

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Add mcraw input file format #281

wants to merge 7 commits into from

Conversation

tlenke
Copy link

@tlenke tlenke commented Apr 17, 2024

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
Copy link
Collaborator

masc4ii commented Apr 21, 2024

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
Copy link
Author

tlenke commented Apr 22, 2024

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
Copy link
Collaborator

masc4ii commented Apr 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants