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-fuse
scans the folder where the application is run from for all.mcraw
files. - 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_*.dng
andaudio.wav
.- Opening a frame-file decodes (or retrieves from cache) the RAW frame as a valid DNG.
- Reading
audio.wav
serves the constructed WAV data.
./mcraw-mounter-fuse
# DEBUG: [007-VIDEO_...0.mcraw] found N frames
# Mounts at ./mcraws
or
- Copy the
mcraw-mounter
into the folder with your.mcraw
files and run it from there.
When done:
umount ./mcraws
or
- 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
:
MotionCam Pro is an Android app for capturing RAW video.
Get it on the Play Store.