https://github.com/xdcobra/dji_osmo_batch_convert_lut
Convert your DJI Osmo Pocket 3 D-Log-M footage to Rec709 in Batch
https://github.com/xdcobra/dji_osmo_batch_convert_lut
batch d-log-m dji lut osmo pocket rec709
Last synced: about 2 months ago
JSON representation
Convert your DJI Osmo Pocket 3 D-Log-M footage to Rec709 in Batch
- Host: GitHub
- URL: https://github.com/xdcobra/dji_osmo_batch_convert_lut
- Owner: XDcobra
- Created: 2025-07-17T07:40:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-21T06:03:42.000Z (3 months ago)
- Last Synced: 2025-07-21T08:09:58.578Z (3 months ago)
- Topics: batch, d-log-m, dji, lut, osmo, pocket, rec709
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DJI & General Video LUT Converter (including batch conversion)
A Python-based command-line tool for converting single or batch video files (DJI D-Log-M or general formats) to Rec.709 or other color spaces using 3D LUTs (`.cube`).
## Features
- **Interactive CLI menu**
- **Converts DJI Osmo Pocket 3 D-Log-M footage to Rec.709**
- **Supports custom LUTs for general videos**
- **Batch and single-file conversion**
- **LUT is only downloaded once and reused**
- **Preserves original FPS (uses `ffprobe` to detect FPS)**
- **Skips files that have already been converted**
- **Supports `.mp4`, `.mov`, `.mkv`, `.avi`, `.mxf`, `.webm`**
- **Flexible output options:**
- Save with `converted_` prefix in original folder
- Save to a `converted/` subfolder
- Specify a custom output folder## Requirements
- Python 3.7+
- FFmpeg (must be accessible via system PATH)
- FFprobe (must be accessible via system PATH)## Installation
1. Clone this repository:
```
git clone https://github.com/XDcobra/dji_osmo_batch_convert_LUT.git
cd dji_osmo_batch_convert_LUT
```2. Install dependencies (optional – standard library is enough):
```
pip install -r requirements.txt
```3. Ensure FFmpeg & FFprobe is installed and added to your PATH:
```
ffmpeg -version
ffprobe -version
```## Usage
Simply run the main script:
```
python main.py
```You will be prompted with an interactive menu:
```
1) Convert DJI Osmo Pocket 3 D-Log-M to Rec.709
2) Batch Convert DJI Osmo Pocket 3 D-Log-M to Rec.709
3) Convert General Video (with custom LUT)
4) Batch Convert General Videos (with custom LUT)
0) Exit
```Follow the prompts to select input files/folders, LUTs, and output options.
## Example: Convert DJI D-Log-M video
- Choose option `1`
- The DJI LUT will be downloaded automatically if missing
- Select a video file
- Choose output location
- Done – FFmpeg will convert your file to Rec.709## To-Do's for the future
- [ ] Drag & drop support
- [ ] GUI version (e.g. with PyQt)
- [ ] Support for `.mov` to `.mp4` conversion
- [ ] Option to adjust FFmpeg parameters (e.g. CRF, codec)## License
MIT License
## Credits
- DJI Osmo Pocket 3 LUT: [DJI Official Download](https://www.dji.com)
- Powered by [FFmpeg](https://ffmpeg.org)