Magic Lantern Forum

Using Magic Lantern => Raw Video => Raw Video Postprocessing => Topic started by: Jonit on July 13, 2017, 02:39:24 PM

Title: [Win-Script] Open 10&12bit files in MLRawViewer + Black Level FIX
Post by: Jonit on July 13, 2017, 02:39:24 PM
Hi there!

I love MLRawViewer so much, mainly for its C-Log profile and simplicity of use, but it bugged me that it won't open 10bit and 12bit .MLV files.
Also another thing was, that i could't fix black level issues so I had to fix those corrupted files in MLVProducer instead.

So I created this Windows batch script for mlv_dump to help me with all of this.

if not exist ".\MLV_Fixed_14bit_2048" mkdir .\MLV_Fixed_14bit_2048
for %%f in (*.MLV) do mlv_dump -o .\MLV_Fixed_14bit_2048\%%f.MLV -b 14 --black-fix=2048 %%f


It's super simple. You just copy this .bat file along with mlv_dump.exe to a folder with your .MLV files and run the .bat file.
It will look for the .MLV files and "convert" them into 14bit. It also fixes the black level to value to 2048.
-note: you can edit the script for a different value

(https://pichoster.net/images/2017/07/13/2198a9c9f443cf94bba884fb43449ab9.png)

Now you can open those "converted" files with MLRawViewer  :).

DOWNLOAD: https://www.dropbox.com/s/jiv91fboroqis5z/MLV%2014bit-2048%20Script.zip?dl=0 (https://www.dropbox.com/s/jiv91fboroqis5z/MLV%2014bit-2048%20Script.zip?dl=0)


Title: Re: [Win-Script] Open 10&12bit files in MLRawViewer + Black Level FIX
Post by: Danne on July 13, 2017, 02:49:20 PM
Cool. You can achieve the same here from within a menu selection.
https://bitbucket.org/Dannephoto/batch_mlv/overview
Title: Re: [Win-Script] Open 10&12bit files in MLRawViewer + Black Level FIX
Post by: Jonit on July 13, 2017, 03:01:11 PM
Awesome! Didn't know abou that. Thanks Danne. :)