2016-03-11 04:12:34 +01:00
|
|
|
# convmlv #
|
2016-03-11 04:10:39 +01:00
|
|
|
|
2016-05-17 03:32:02 +02:00
|
|
|
MLV/RAW/DNG to Image/Movie and Proxy
|
2016-03-11 04:12:34 +01:00
|
|
|
=======
|
2016-03-13 08:53:35 +01:00
|
|
|
See [http://www.magiclantern.fm/forum/index.php?topic=16799.0](http://www.magiclantern.fm/forum/index.php?topic=16799.0) for more info.
|
2016-03-11 04:12:34 +01:00
|
|
|
|
2016-03-28 23:30:26 +02:00
|
|
|
**Use the pdf found in the source, under docs->docs.pdf.**
|
|
|
|
|
2016-03-12 21:43:46 +01:00
|
|
|
Help page is below:
|
|
|
|
|
2016-03-13 08:32:14 +01:00
|
|
|
```text
|
2016-03-12 21:43:46 +01:00
|
|
|
|
|
|
|
Usage:
|
2016-05-18 23:36:28 +02:00
|
|
|
./convmlv.sh [FLAGS] [OPTIONS] files
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-03-12 21:43:46 +01:00
|
|
|
INFO:
|
2016-05-18 23:36:28 +02:00
|
|
|
A script allowing you to develop ML files into workable formats. Many useful options are exposed.
|
|
|
|
-->Image Defaults: Compressed 16-bit Linear EXR.
|
|
|
|
-->Acceptable Inputs: MLV, RAW, DNG Folder.
|
|
|
|
-->Option Input: From command line or config file.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
VERSION: 1.9.0
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
MANUAL DEPENDENCIES:
|
|
|
|
-mlv_dump: Required. http://www.magiclantern.fm/forum/index.php?topic=7122.0
|
2016-03-13 08:30:18 +01:00
|
|
|
-raw2dng: For DNG extraction from RAW. http://www.magiclantern.fm/forum/index.php?topic=5404.0
|
|
|
|
-mlv2badpixels.sh: For bad pixel removal. https://bitbucket.org/daniel_fort/ml-focus-pixels/src
|
2016-05-18 23:36:28 +02:00
|
|
|
-cr2hdr: For Dual ISO Development. Two links: http://www.magiclantern.fm/forum/index.php?topic=16799.0
|
|
|
|
-sRange.py: Required. See convmlv repository.
|
|
|
|
-balance.py: For Auto White Balance. See convmlv repository.
|
2016-03-12 21:43:46 +01:00
|
|
|
|
2016-03-14 03:26:44 +01:00
|
|
|
OPTIONS, BASIC:
|
2016-05-18 23:36:28 +02:00
|
|
|
-v, --version version - Print out version string.
|
|
|
|
-h, --help help - Print out this help page.
|
|
|
|
|
|
|
|
-C, --config CONFIG - Designates config file to use.
|
|
|
|
|
|
|
|
-o, --outdir <path> OUTDIR - The path in which files will be placed.
|
|
|
|
-P, --res-path <path> RES_PATH - The path in which all manual dependencies are looked for.
|
|
|
|
|
|
|
|
--mlv-dump <path> MLV_DUMP - The path to mlv_dump.
|
|
|
|
--raw-dump <path> RAW_DUMP - The path to raw2dng.
|
|
|
|
--badpixels <path> MLV_BP - The path to mlv2badpixels.sh (by dfort).
|
|
|
|
--cr-hdr <path> CR_HDR
|
|
|
|
--srange <path> SRANGE
|
|
|
|
--balance <path> BAL
|
|
|
|
--python <path> PYTHON - The path or command used to invoke Python.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-T, --threads [int] THREADS - Override amount of utilized process threads
|
2016-04-13 00:20:10 +02:00
|
|
|
|
|
|
|
|
2016-03-14 03:26:44 +01:00
|
|
|
OPTIONS, OUTPUT:
|
2016-05-18 23:36:28 +02:00
|
|
|
-i IMAGE - Will output image sequence.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-t [0:3] IMG_FMT - Specified image output format.
|
2016-04-13 00:20:10 +02:00
|
|
|
--> 0: EXR (default), 1: TIFF, 2: PNG, 3: Cineon (DPX)."
|
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-m MOVIE - Will output a Prores4444 file.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-p [0:3] PROXY - Create proxies alongside main output.
|
|
|
|
--> 0: No proxies (Default). 1: H.264 proxy. 2: JPG proxy sequence. 3: Both.
|
|
|
|
--> JPG proxy *won't* be developed w/o IMAGE. H.264 proxy *will* be developed no matter what, if specified.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-s [0%:100%] PROXY_SCALE - the size, in %, of the proxy output.
|
|
|
|
--> 50% is default.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-k KEEP_DNGS - Specify if you want to keep the DNG files.
|
|
|
|
--> Run convmlv on the top level folder of former output to reuse saved DNGs from that run!
|
2016-04-13 15:47:22 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-r <start>-<end> FRAME_RANGE - Specify to output this frame range only.
|
|
|
|
--> You may use s and e, such that s = start frame, e = end frame.
|
|
|
|
--> Indexed from 0 to (# of frames - 1).
|
|
|
|
--> A single number may be writted to develop that frame only.
|
|
|
|
|
|
|
|
|
|
|
|
--uncompress UNCOMP - Turns off lossless image compression. Otherwise:
|
|
|
|
--> TIFF: ZIP, EXR: PIZ, PNG: lvl 9 (zlib deflate), DPX: RLE.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
|
|
|
|
2016-03-14 03:26:44 +01:00
|
|
|
OPTIONS, RAW DEVELOPMENT:
|
2016-05-18 23:36:28 +02:00
|
|
|
-d [0:3] DEMO_MODE - Demosaicing algorithm. Higher modes are slower + better.
|
|
|
|
--> 0: Bilinear. 1: VNG (default). 2: PPG. 3: AHD.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-f FOUR_COLOR - Interpolate as RGBG. Can often fix weirdness with VNG/AHD.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-H [0:9] HIGHLIGHT_MODE - Highlight management options.
|
|
|
|
--> 0: White, clipped highlights. 1: Clipped, colored highlights. 2: Similar to 1, but adjusted to grey.
|
|
|
|
--> 3-9: Highlight reconstruction. Can cause flickering; 1 or 2 usually give better results.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-c [0:3] CHROMA_SMOOTH - Apply shadow/highlight chroma smoothing to the footage.
|
2016-04-13 00:20:10 +02:00
|
|
|
--> 0: None (default). 1: 2x2. 2: 3x3. 3: 5x5.
|
2016-05-18 23:36:28 +02:00
|
|
|
--> MLV Only.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-n [int] NOISE_REDUC - Apply wavelet denoising.
|
|
|
|
--> Default: None. Subtle: 50. Medium: 100. Strong: 200.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-g [0:4] SPACE - Output color transformation.
|
|
|
|
--> 0: Linear. 1: 2.2 (Adobe RGB). 2: 1.8 (ProPhoto RGB). 3: sRGB. 4: BT.709.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
--shallow SHALLOW - Output 8-bit files.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
|
|
|
|
2016-03-14 03:26:44 +01:00
|
|
|
OPTIONS, COLOR:
|
2016-05-18 23:36:28 +02:00
|
|
|
-w [0:2] WHITE - This is a modal white balance setting.
|
|
|
|
--> 0: Auto WB. 1: Camera WB (default). 2: No Change.
|
2016-05-17 03:32:02 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-l <path> LUT - Specify a LUT to apply.
|
|
|
|
--> Supports cube, 3dl, dat, m3d.
|
|
|
|
--> LUT cannot be applied to EXR sequences.
|
2016-05-17 03:32:02 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-S [int] SATPOINT - Specify the 14-bit saturation point of your camera.
|
2016-05-17 03:32:02 +02:00
|
|
|
--> Lower if -H1 yields purple highlights. Must be correct for highlight reconstruction.
|
|
|
|
--> Determine using the max value of 'dcraw -D -j -4 -T'
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
--white-speed [int] WHITE_SPD - Samples used to calculate AWB
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
--allow-white-clip WHITE_SCALE - Let White Balance multipliers clip.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONS, FEATURES:
|
2016-05-18 23:36:28 +02:00
|
|
|
-u DUAL_ISO - Process as dual ISO.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-b BADPIXELS - Fix focus pixels issue using dfort's script.
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-a <path> BADPIXEL_PATH - Use your own .badpixels file.
|
|
|
|
--> How to: http://www.dl-c.com/board/viewtopic.php?f=4&t=686
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-F <path> DARKFRAME - This is the path to a "dark frame MLV"; effective for noise reduction.
|
|
|
|
--> How to: Record 5 sec w/lens cap on & same settings as footage. Pass MLV in here.
|
2016-04-13 00:20:10 +02:00
|
|
|
--> If the file extension is '.darkframe', the file will be used as the preaveraged dark frame.
|
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
-R <path> dark_out - Specify to create a .darkframe file from passed in MLV.
|
|
|
|
--> Outputs <arg>.darkframe file to <path>.
|
|
|
|
|
2016-04-13 00:20:10 +02:00
|
|
|
|
|
|
|
OPTIONS, INFO:
|
2016-05-18 23:36:28 +02:00
|
|
|
-e Output MLV settings.
|
|
|
|
|
|
|
|
-K Debian Package Deps - Output package dependecies.
|
|
|
|
--> Install (Debian only): sudo apt-get install $ (./convmlv -K)
|
|
|
|
|
|
|
|
-Y Python Deps - Lists Python dependencies. Works directly with pip.
|
|
|
|
-->Install (Linux): sudo pip3 install $ (./convmlv -Y)
|
|
|
|
|
|
|
|
-N Manual Deps - Lists manual dependencies, which must be downloaded by hand.
|
|
|
|
--> There's no automatic way to install these. See http://www.magiclantern.fm/forum/index.php?topic=16799.0 .
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
CONFIG FILE:
|
|
|
|
Next to each option is an uppercased item, ex. OUTDIR. In a convmlv config file, you can specify this option
|
|
|
|
in the following format, line by line:
|
|
|
|
<VARNAME> <VALUE>
|
2016-04-13 00:20:10 +02:00
|
|
|
|
2016-05-18 23:36:28 +02:00
|
|
|
Some more notes regarding config files:
|
|
|
|
-The global config file, read every time, will be looked for in /home/sofus/convmlv.conf.
|
|
|
|
-Hashtags are considered comments, if and only if they are the first character in the line.
|
2016-03-13 08:32:14 +01:00
|
|
|
```
|