A FUSE-based virtual filesystem that mounts all .mcraw files in the current directory, exposing each frame as a DNG and the audio as audio.wav.
- Dependencies:
- macFUSE (macOS)
- macOS: Download and install from macFUSE
- macFUSE (macOS)
- A C++17-capable compiler (e.g.
g++,clang++) - CMake ≥ 3.10
- Dependencies:
- macFUSE (macOS)
- macOS: Download and install from macFUSE
- nlohmann/json
- tinydngwriter
- audiofile (for WAV output)
- macFUSE (macOS)
- Clone the repo:
git clone https://github.com/baso53/mcraw-mounter cd mcraw-mounter - Create and enter a build directory:
mkdir build && cd build
- Configure and build:
This produces one binary:
cmake .. make
mcraw-mounter-fuse
Mounts a directory mcraws in your working folder. After mounting you’ll see:
mcraws/
├── 007-VIDEO_24mm-240328_141729.0/
│ ├── frame_000000.dng
│ ├── frame_000001.dng
│ └── audio.wav
└── another-recording/ …
- On startup,
mcraw-mounter-fusescans the folder where the application is run from for all.mcrawfiles. - For each file it creates an in-memory context:
- Loads container metadata (black/white levels, CFA pattern, matrices, orientation)
- Builds a list of frame timestamps
- Decodes & caches the frames for reading by the kernel
- Extracts and converts all audio chunks into an in-memory WAV buffer
ls mcraws/<basename>/listsframe_*.dngandaudio.wav.- Opening a frame-file decodes (or retrieves from cache) the RAW frame as a valid DNG.
- Reading
audio.wavserves the constructed WAV data.
./mcraw-mounter-fuse
# DEBUG: [007-VIDEO_...0.mcraw] found N frames
# Mounts at ./mcrawsor
- Copy the
mcraw-mounterinto the folder with your.mcrawfiles and run it from there.
When done:
umount ./mcrawsor
- unmount from Finder.
Don't open the mounter folders in Finder if you don't have to, since MacOS will start thumbnail generation process, which will take a lot of RAM.
Download a sample .mcraw:
https://storage.googleapis.com/motioncamapp.com/samples/007-VIDEO_24mm-240328_141729.0.mcraw
MotionCam Pro is an Android app for capturing RAW video.
Get it on the Play Store.
