Feature Request: Batch Convert MLV files to DNG

Started by djfremen, December 26, 2013, 01:08:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


semenyuk.yura

Quote from: Danne on December 29, 2013, 08:59:58 PM
Dubzeebas. Tried simplyfying your script to following. Think It,s ok? It,s pretty much doubleclicking the commandscript til it works :)

Just baked in everything in the same command script to simplify batchconverting .mlv with audio on mac osx
Thanks to dubzeebass, g3gg0, jerrykil, daisermac

download following https://drive.google.com/file/d/0B4tCJMlOYfirU1FncGxENHhFeE0/edit?usp=sharing

1 – Extract recursive0.3.command and mlv_dump.osx  in the same folder
2 – doubleclick recursive0.3.command (type password. If permission needed go to your folder in terminal and write chmod +rxw recursive.command0.3 this will give all permissions needed)
3 - doubleclick recursive0.3.command again and type in password if needed. This should place your mlv_dump.osx  according to the script(mlv_dump will disappear)
4 – place your .mlv files in same folder as recursive.command.03 and doubleclick which should start converting the files to folders

I,m not a coder so feel free to critizise

Hi,

after step 2 terminal says:"Permission denied"



Any ideas what i'm doing wrong?

g3gg0

Only enter the chmod command. Nothing in front of that.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

semenyuk.yura

Quote from: g3gg0 on January 08, 2014, 01:06:47 PM
Only enter the chmod command. Nothing in front of that.

As you've understood i'm not good at programming,

so i tried 2 variants of how i understand your advice, but none of them ended successfully.



I'm running osx 10.9.1, if that matters.

g3gg0

Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

semenyuk.yura


shinokubo

Hello friends,

is there a way for me to set a specific destination folder, by altering or adding a line to the script?

By now I am copying .mlv files from the CF Card to a certain folder and then run the script in there. As the folder is on an external hdd, the time for the copying process and mlv_dump to process the files could be greatly reduced by having different input and output drives.

Any help is deeply appreciated, the same way all your work already is.

Thank you very much in advance,

Ben

djfremen


Quote from: shinokubo on January 13, 2014, 09:06:24 PM
mlv_dump to process the files could be greatly reduced by having different input and output drives.

Explain how this would be faster please. I understand the concept of reading from one drive and writing to another but I don't think it would be a huge difference. I just processed 500 GB of MLV and it took under 2 hours on my i7 4770.

Danne

You can also double click the recursive script several times and have lke four processes working simultaneously.
Would fasten it even further.

shinokubo

I am using a macbook pro with an external USB 3.0 drive that is buspowered. It is a 5400 rpm drive that levels out at around 50Mb/s maximum read+write at the same time. It can write at around 95Mb/s though. As the input and output is on the same drive, I am stuck with that speed.

I would not have to copy the files at ~95Mb/s from CF -> HDD and then convert them at 50Mb/s, but could place mlv_dump and the script on the cf card, read from there and have the output written at (I'm guessing) around 90-95MB/s on the HDD

The limiting factor is drive speed, not the cpu so far.

It should take roughly 1/3 of the time if I am not mistaken here.

cheers, Ben

edit: typo and clarification

arturochu

Chu

alexpolsky

Hello!I do not dump mlv file in raw or in dng with mlv_dump & MlRawViewer (OSX)
In MlRawViewer playing stoping on 46 frames and app hangs(Other video good play and converting on dng.
In mlv_dump this log
Mac-Pro-MacMan:Movie macman$ ./mlv_dump -f30 M07-2323.mlv out.raw

MLV Dumper v1.0
-----------------

Mode of operation:
   - Input MLV file: 'M07-2323.mlv'
   - Verify file structure
File M07-2323.mlv opened
File M07-2323.m00 opened
File M07-2323.m01 not existing.
File M07-2323.IDX opened (XREF)
XREF table contains 323 entries
Processing...
Reached end of all files after 323 blocks
Processed 299 video frames
Done
I don't have M07-2323.m01 on SD or CF card.

Is it possible dump to from a particular frame. Because if you miss the 46 frame video on playing in MlRawViewer.
Sorry my english. I am from Ukraine.  Please help!
Modify message

ShootMeAlready

mlv_dump command line examples for Windows??? Cant find any???

I am trying to process a 10bit raw video to dng

Here is what I enter (with mlv_dump in directory)
G:\DCIM\100CANON>mlv_dump -o test02 -b 10 --dng m20-1339.mlv


PROBLEM: The output states its defaulting to 14bpp ??? not 10??? when I try with default it still reports 14 bpp
The picture is too small as file properties reports 128x94 96dpi, this is wrong it should be 1824x776

It seems the command-line is wrong ???

Blow is Windows 10 output:

MLV Dumper v1.0
-----------------

Mode of operation:
   - Input MLV file: 'm20-1339.mlv'
   - Enforcing 14bpp for DNG output
   - Convert to DNG frames
   - Output into 'test02'
File m20-1339.mlv opened
File m20-1339.m00 not existing.
File m20-1339.IDX opened (XREF)
XREF table contains 328 entries
Processing...
Cold pixels : 0
Reached end of all files after 328 blocks
Processed 304 video frames
Done

T3i+ML & 70D.112+ML, Tokina 11-16 2.8, Sigma 18-35 1.8, 50-150 II 2.8, 50 1.4, Canon 28 1.8, 35 2, 85 1.8 "Shoot Wide and Prosper"