How to use MLV Dump?

Started by hollywoodlover2000, April 10, 2017, 10:35:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hollywoodlover2000

How to use MLV Dump?
How do I Insall it?
and
How do I run It?

for 10/12bit version of ML

It seems rocket since (very complicated)
and there are no tutorials to be found ...
(I need Visual explaination either in screenshots or youtube videos)


Walter Schulz

OP is running Windows ...
OP isn't aware this information is essential.

dfort

Quote from: hollywoodlover2000 on April 10, 2017, 10:35:34 AM
It seems rocket since (very complicated)

Yes, only rocket scientists use it.

Quote from: hollywoodlover2000 on April 10, 2017, 10:35:34 AM
(I need Visual explaination either in screenshots or youtube videos)

Make a folder and put mlv_dump.exe and your MLV files in that folder. Open up a command line (cmd in Windows), navigate to that folder and --



Make sure you type in the actual filename of your MLV.

Ok--that was about the most unexciting screenshot ever. If you just type mlv_dump you'll get a list of all the options. Try some of them.

(Click on the screenshot for a more detailed view.)


If you want to learn more read the first post in this topic:

http://www.magiclantern.fm/forum/index.php?topic=7122.0


hollywoodlover2000

I got a little further....
but only a little....
This is what i get what should i choose?
and what does "-rscd" mean and what should i enter into that box?
I couldn't get an output yet...........................


Usage: mlv_dump [-o output_file] [-rscd] [-l compression_level(0-9)] <inputfile>

Parameters:
-o output_file      set the filename to write into
-v                  verbose output
--batch             output message suitable for batch processing

-- DNG output --
--dng               output frames into separate .dng files. set prefix with -o
--no-cs             no chroma smoothing (default)
--cs2x2             2x2 chroma smoothing
--cs3x3             3x3 chroma smoothing
--cs5x5             5x5 chroma smoothing
--no-fixcp          do not fix cold pixels
--fixcp2            fix non-static (moving) cold pixels (slow)
--no-stripes        do not fix vertical stripes in highlights

-- RAW output --
-r                  output into a legacy raw file for e.g. raw2dng

-- MLV output --
-b bits             convert image data to given bit depth per channel (1-16)
-z bits             zero the lowest bits, so we have only specified number of b
its containing data (1-16) (improves compression rate)
-f frames           frames to save. e.g. '12' saves frames 0 to 12, '12-40' sav
es frames 12 to 40.
-A fpsx1000         Alter the video file's FPS metadata
-x                  build xref file (indexing)
-m                  write only metadata, no audio or video frames
-n                  write no metadata, only audio and video frames

-- Image manipulation --
-a                  average all frames in <inputfile> and output a single-frame
MLV from it
--avg-vertical      [DARKFRAME ONLY] average the resulting frame in vertical di
rection, so we will extract vertical banding
--avg-horizontal    [DARKFRAME ONLY] average the resulting frame in horizontal
direction, so we will extract horizontal banding
-s mlv_file         subtract the reference frame in given file from every singl
e frame during processing
-t mlv_file         use the reference frame in given file as flat field (gain c
orrection)

-- Processing --
-e                  delta-encode frames to improve compression, but lose random
access capabilities
-X type             extract only block type
-I mlv_file         inject data from given MLV file right after MLVI header
-c                  (re-)compress video and audio frames using LZMA (set bpp to
16 to improve compression rate)
-d                  decompress compressed video and audio frames using LZMA
-l level            set compression level from 0=fastest to 9=best compression

-- bugfixes --
--black-fix=value   set black level to <value> (fix green/magenta cast). if no
value given, it will be set to 2048.
--white-fix=value   set white level to <value>. if no value given, it will be s
et to 15000.
--fix-bug=id        fix some special bugs. *only* to be used if given instructi
on by developers.

Danne

mlv_dump --dng drag/your/MLV/file/here
Press enter

hollywoodlover2000

I don't understand.....

In CMD is no draging only typing commands so what do you mean?

Danne

Write the path to your mlv file and the name of the mlv. Or if you're located within the same folder as your mlv it's enough if you write the full name of you're mlv file.
If this doesn't help you should record your workflow of what you are doing and post it on youtube. Copy the link from youtube and post it here.

dmilligan

Quote from: hollywoodlover2000 on April 14, 2017, 11:41:26 AM
In CMD is no draging only typing commands so what do you mean?
In most OSes, you can actually drag a file from the GUI file explorer and drop it on the terminal window. This will cause the full name of the dropped file to be typed out at the current cursor position.

miket

Here's a general Windows tip - When you hold shift and right click on a file or folder you can click on the menu option "Copy as path".  Then the complete path to the file or folder, surrounded by quotes, is copied to the clipboard.  In notepad or the CMD window, just Rh click and paste the path, saving a lot of typing.

hollywoodlover2000

o.k now i understand what you mean with drag and drop
the only thing is that the comand line will finally be:
       
                        mlv_dump [-o output_file] [-rscd] [-l compression_level(0-9)] <inputfile>


1.) what do i have to type into [-rscd]
2.) what compression level would be good cause if possible i want none since raw is uncompressed
3.)  [-o output_file] is not clear since it wont create a file, i would have one thats already there but what format?
4.) the only thing which is clear is the <inputfile>


Danne

mlv_dump has a lot of powerful functions built in. However. For most uses spitting out dng files as already suggested would be sufficient. If you want any of the other settings added you can experiment and see what happens. I also suggest searching around among the forum threads.
Example adding chroma smoothing.
mlv_dump --dng --cs2x2 Input.MLV

Example using the output option.
mlv_dump --dng -o Output.dng Input.MLV

dfort

Quote from: hollywoodlover2000 on April 14, 2017, 08:37:47 PM
                        mlv_dump [-o output_file] [-rscd] [-l compression_level(0-9)] <inputfile>

If you are just getting started you probably aren't going to do that. Those options are for converting MLV files to legacy raw files, compressing them, etc. I can't see a situation where you would combine those options.

I usually use just the plain old --dng option to create a DNG image sequence. No need to specify the output file because the DNG files will be automatically named like the MLV file except with the .dng filename extension. See my first screenshot in Reply #3 -- I was being a bit sarcastic when I posted that but it can really be that simple.

Keep trying--you'll figure it out.

hollywoodlover2000

I did figure it out !


i'll do some tests and might get back later if needed


Thanks all you guys....:)

JADURCA

Great!!! I was looking for this!!! So, regarding vertical stripes in highlights, it's corrected by default, no need to call for that command unless want it off.

szafran

Hello,

i'm on 600D with 10Bit RAW nightbuild,

I love using Magic Lantern to video, it's incredible.

How do i get audio with MLV_DUMP?
WHAT I NEED is a WAV extraction from MLV.
I can extract wav with mlv2cdng, but it doesn't fix the black level and gives me green clips.


I wrote a BAT command to write DMG files from MLV, maybe it will be helpful to someone:)

MLV.CMD:
@echo off
for %%a in ( %* ) do ( md "D:\VLOG\KLIPY\ROBOTA\%date%-%%~na" 2>nul )&( D:\VLOG\mlv_dump.exe --black-fix=2048 --white-fix=15000 --dng -o D:\VLOG\KLIPY\ROBOTA\%date%-%%~na\%%~na__ --dng %%~na.MLV )
pause

put it it:
C:\Users\Karolina\AppData\Roaming\Microsoft\Windows\SendTo
it can make a nice folders just by right clicking MLV from your SD CARD.

Can you please tell me how to have audio with MLV_DUMP, that would be so nice of you :)


Dmytro_ua

R8 | Canon 16-35 4.0L | Canon 50 1.4 | Canon 100mm 2.8 macro
Ronin-S | Feelworld F6 PLUS