Magic Lantern Forum

Using Magic Lantern => Raw Video => Raw Video Postprocessing => Topic started by: gnarr on August 20, 2013, 09:42:28 PM

Title: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: gnarr on August 20, 2013, 09:42:28 PM
Since I don't want to hijack g3gg0's thread, I decided it was time to move this to a seperate topic.

Here is my mlv2dng converter. It is still work in progress, so there are features missing and it might be unstable.

What doesn't work / todo:
converting non 14 bit mlv to dng.
converting LZMA compressed files to dng.
converting dual iso mlv to dng.
more detailed error logging.
extracting audio.
exact frame time.

Usage is the same as with raw2dng for the moment:
mlv2dng.exe file.mlv [prefix]
=> will create prefix000000.dng, prefix000001.dng and so on.

Windows version:
https://dl.dropboxusercontent.com/u/3181048/mlv2dng.zip (https://dl.dropboxusercontent.com/u/3181048/mlv2dng.zip)

Mac version:
https://dl.dropboxusercontent.com/u/3181048/mlv2dng_osx.zip (https://dl.dropboxusercontent.com/u/3181048/mlv2dng_osx.zip)

Linux version:
https://dl.dropboxusercontent.com/u/3181048/mlv2dng_linux.zip (https://dl.dropboxusercontent.com/u/3181048/mlv2dng_linux.zip)

Please report any errors here.


Source:
https://www.bitbucket.org/gnarr/mlv2dng (https://www.bitbucket.org/gnarr/mlv2dng)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: guentergunter on August 20, 2013, 10:31:05 PM
Great! And many thanks!

Can't wait to switch completely to the new format.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on August 20, 2013, 10:42:04 PM
Nicely done. Works with older files as well. Saw your post in the other thread. Would be nice to have each rawfileconversion collected to separate folders rather than straight out next to the converter. You probably on it already. Good progress Gnarr
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Canon eos m on August 21, 2013, 01:59:42 AM
Nice work. Will try out tonight.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: RenatoPhoto on August 22, 2013, 11:04:57 PM
Great contribution gnarr! 

Used it today without problems on:
1920x1080 at 29.97 fps
cropped video 1920x1080  29.97 fps
1600x560 at 60 fps
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on August 24, 2013, 02:51:58 AM
osx is here.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: AnotherDave on August 24, 2013, 05:00:42 AM
Yay!  Can't wait!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on August 24, 2013, 07:38:23 AM
Awesome :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on August 24, 2013, 10:14:01 PM
So, how is mlv2dng working for everyone so far?
No bugs or crashes with current version? Is there something missing from the program that you need?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on August 25, 2013, 01:24:09 AM
How do I use the macversion? Drag and drop would be sweet :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Toffifee on August 26, 2013, 02:40:44 PM
Awesome!
Can't wait to try it out when I get home  :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: crwn_schlr on August 26, 2013, 10:31:25 PM
Anyone ever received this error message?

XXXX-iMac:~ username$ /Applications/mlv2dng /Users/username/Desktop/M26-0003.MLV
Illegal instruction: 4

Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on August 27, 2013, 01:27:14 AM
Anyone ever received this error message?

XXXX-iMac:~ username$ /Applications/mlv2dng /Users/username/Desktop/M26-0003.MLV
Illegal instruction: 4

I will look into it. Can you try converting to legacy raw with mlv_dump and see if that works?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: crwn_schlr on August 27, 2013, 02:29:43 AM
I will look into it. Can you try converting to legacy raw with mlv_dump and see if that works?

I'm on a mac, i tried mlv_dump through a VM but didn't have any success there either.

I think it's because I'm using OSX 10.7.5.

'Illegal instruction: 4' seems to be a terminal error where whatever tool your attempting to use isn't understood by the terminal, or something like that.

I could partition my drive and run osx 10.8 from it (with out having to pay) but I only wanna do that if it's a last resort.

Thanks for looking into it.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: dubzeebass on August 27, 2013, 04:53:18 AM
I just renamed a segmented (SD-card) file from .M00 to .MLV and when I try to render with both MLV2DNG I get Segmentation Fault: 11.

Ignore that - I just saw that it rendered .MLV and .M00 at the same time.

GREAT WORK!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Sky_cleaner on August 27, 2013, 03:23:38 PM
What  about mlv2dng WITH conversion to Apple Prores? It is possible?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jsoucy on August 27, 2013, 06:15:19 PM
i got this error too on a mac: "Illegal instruction: 4". and can we get a drag n drop application it will be simple :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Toffifee on August 27, 2013, 08:45:59 PM
@Sky

Do you mean like a proxy?
Why would you want to make a ProRes proxy?

And if you're thinking of it as a main conversion, doesn't that kind of defeat the purpose of shooting RAW as you cannot access any of the data without programs such as ACR or Resolve?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Sky_cleaner on August 28, 2013, 02:44:24 AM
@Toffifee
I mean like a "raw2dng.app for Mac" - it make a .mov file in ProRes 444.  For my purpose it`s very good
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: fpena06 on August 28, 2013, 04:54:39 AM
Worked fine before. Not sure what happened but now I get this error on both windows and osx :S

./mlv2dng M27-2212.MLV test
...std::exception

Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: fpena06 on August 28, 2013, 03:40:56 PM
Here's a file if anyone wants to see if its a file issue.

https://dl.dropboxusercontent.com/u/28674787/M27-2212.MLV

Thanks.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: arrinkiiii on August 28, 2013, 03:56:39 PM
So, how is mlv2dng working for everyone so far?
No bugs or crashes with current version?

For me everything works good in windows7 64bits / 7D

Is there something missing from the program that you need?

Out put folder, absolutely sure of that, translated in GUI  :D
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on August 29, 2013, 01:34:26 AM
A new version is up for all platforms.

What is fixed:
Exact frame times (exact to a microsecond).
Exception handling improved.
all meta-data is now read and sorted before any dng's are written.

links are in first post.


Worked fine before. Not sure what happened but now I get this error on both windows and osx :S

./mlv2dng M27-2212.MLV test
...std::exception

Thanks for providing the file :) It made debugging very easy.
What was happening is that your camera has electric leveling and it seems that g3gg0 has already implemented it into MLV. I have yet to include this in mlv2dng, and because I was handling missing headers in a stupid way, the program exited without printing the right error message.
Now the error handling has been fixed so that it should notify of missing headers and what the header ID is, without stopping conversion.

How do I use the macversion? Drag and drop would be sweet :)
The "drag'n'drop" feature in windows is just windows being clever and automatically opening a terminal with correct parameters to run. On OsX you will have to use the terminal for now (or some Mac nerd can maybe help you.. I don't know anything about OsX).
on the terminal write:
./mlv2dng inputfile.mlv


I'm on a mac, i tried mlv_dump through a VM but didn't have any success there either.

I think it's because I'm using OSX 10.7.5.

'Illegal instruction: 4' seems to be a terminal error where whatever tool your attempting to use isn't understood by the terminal, or something like that.

I could partition my drive and run osx 10.8 from it (with out having to pay) but I only wanna do that if it's a last resort.

Thanks for looking into it.
This sounds like a corrupted file since mlv_dump does not work either. Could you by any chance upload the file for me, so I can debug this?

What  about mlv2dng WITH conversion to Apple Prores? It is possible?
Everything is possible :) For now, it will be dng only.

i got this error too on a mac: "Illegal instruction: 4". and can we get a drag n drop application it will be simple :)
Have you tried converting to legacy raw with mlv_dump?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: fpena06 on August 29, 2013, 03:45:12 PM
A new version is up for all platforms.

What is fixed:
Exact frame times (exact to a microsecond).
Exception handling improved.
all meta-data is now read and sorted before any dng's are written.

links are in first post.


Thanks for providing the file :) It made debugging very easy.
What was happening is that your camera has electric leveling and it seems that g3gg0 has already implemented it into MLV. I have yet to include this in mlv2dng, and because I was handling missing headers in a stupid way, the program exited without printing the right error message.
Now the error handling has been fixed so that it should notify of missing headers and what the header ID is, without stopping conversion.

Thank you very much. Program is working like a charm after disabling electronic leveling :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on August 29, 2013, 08:18:54 PM
What was happening is that your camera has electric leveling and it seems that g3gg0 has already implemented it into MLV. I have yet to include this in mlv2dng, and because I was handling missing headers in a stupid way, the program exited without printing the right error message.
Now the error handling has been fixed so that it should notify of missing headers and what the header ID is, without stopping conversion.

hehe thats why i recommend just skipping unknown headers. (and printing a warning message at maximum)
there may come more stuff in future, like keypresses for tags or anything we dont know yet.
in this case the processing software should work just as it is designed for - with the known tags.

but thanks for providing this tool.
can you make the source code public? i.e. on bitbucket and we can merge it into ML source base with you as maintainer.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on August 30, 2013, 01:42:18 AM
btw, i updated the MLV thread and added some hints for processing the new format.
http://www.magiclantern.fm/forum/index.php?topic=7122.msg59525#msg59525
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: nick.p on August 30, 2013, 01:28:12 PM

The "drag'n'drop" feature in windows is just windows being clever and automatically opening a terminal with correct parameters to run. On OsX you will have to use the terminal for now (or some Mac nerd can maybe help you.. I don't know anything about OsX).
on the terminal write:
./mlv2dng inputfile.mlv
I can create an AppleScript GUI if there is a demand for it.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on August 30, 2013, 01:42:32 PM
A gui for mac i very welcome. Atm I film in .raw but eventually a switch to mlv will be needed I think
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: slybugg on August 30, 2013, 02:42:04 PM
I can create an AppleScript GUI if there is a demand for it.

a gui would be great since mlv2dng is not working on my 10.7 Lion Mac OS.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on August 30, 2013, 04:30:53 PM
I dont know what I'm getting my self in to but in terminal I get the following:


XX-MacBook-Pro:~ XX$ cd /Users/XX/Downloads/30-08-2013/
XX-MacBook-Pro:30-08-2013 XX$ ./mlv2dng /Users/XX/Downloads/30-08-2013/M30-1609.MLV
Exception! Header not recognized: 'ELVL'
dyld: lazy symbol binding failed: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/XX/Downloads/30-08-2013/./mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/XX/Downloads/30-08-2013/./mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

Trace/BPT trap: 5
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: tjunkkila on August 30, 2013, 08:56:38 PM
Quote
Quote from: nick.p on Today at 01:28:12 PM
I can create an AppleScript GUI if there is a demand for it.
a gui would be great since mlv2dng is not working on my 10.7 Lion Mac OS.

Seconded! osx gui would be great.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on August 30, 2013, 09:46:43 PM
@gnarr:

can you try this?
''mlv_dump.exe -o out.mlv M26-1339.MLV''
''mlv2dng.exe out.mlv''

i get a crash without any error message.

wait. forget it, there is a different issue...
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on August 31, 2013, 01:32:14 AM
can you make the source code public? i.e. on bitbucket and we can merge it into ML source base with you as maintainer.

It is finally online :) https://www.bitbucket.org/gnarr/mlv2dng (https://www.bitbucket.org/gnarr/mlv2dng)

You need a compiler with C++11 support to compile this.

Thank you very much. Program is working like a charm after disabling electronic leveling :)
You can enable electronic leveling again. The program now just ignores unknown headers and prints a error message.

I can create an AppleScript GUI if there is a demand for it.
That would be awesome! :)

 
I dont know what I'm getting my self in to but in terminal I get the following:
...

This looks weird... Do you get any dng's out of the program?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on August 31, 2013, 01:36:01 AM
Nope.. Not a single :-/

That AppleScript would be cool :-)


 
This looks weird... Do you get any dng's out of the program?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: nick.p on August 31, 2013, 06:07:09 AM
Ok, here's a gui. Please tell me if you have any issues:
http://www.nickpotts.com.au/downloads/mlv2dng.zip
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: slybugg on August 31, 2013, 08:20:33 AM
Ok, here's a gui. Please tell me if you have any issues:
http://www.nickpotts.com.au/downloads/mlv2dng.zip

Thanks very much.

mlv2dng still not working on my Lion 10.7.  The app puts a file called mlv2ng in the output folder.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: nick.p on August 31, 2013, 08:24:27 AM

Thanks very much.

mlv2dng still not working on my Lion 10.7.  The app puts a file called mlv2ng in the output folder.
It does that in the process of creating the dngs. It's a safe bet that mlv2dng doesn't work on 10.7. Can we have somebody confirm this?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: slybugg on August 31, 2013, 08:30:23 AM
maybe I can try to convert the mlv's on linux.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on August 31, 2013, 03:08:04 PM
I just tried the app.. My console says the following:

Code: [Select]
31/08/13 15.03.48,294 mlv2dng GUI[44882]: got to here
31/08/13 15.03.48,294 mlv2dng GUI[44882]: mkdir -p '/Users/jphansen/Desktop/ML RAW/test1/M31-1459'
31/08/13 15.03.48,339 mlv2dng GUI[44882]: here
31/08/13 15.03.48,339 mlv2dng GUI[44882]: cp '/Users/jphansen/Downloads/31-08-2013/mlv2dng GUI.app/Contents/Resources/mlv2dng' '/Users/jphansen/Desktop/ML RAW/test1/M31-1459'
31/08/13 15.03.48,352 mlv2dng GUI[44882]: copying
31/08/13 15.03.48,353 mlv2dng GUI[44882]: cd '/Users/jphansen/Desktop/ML RAW/test1/M31-1459' && '/Users/jphansen/Desktop/ML RAW/test1/M31-1459/mlv2dng' '/Volumes/EOS_DIGITAL/M31-1459.MLV'
31/08/13 15.03.48,987 mlv2dng GUI[44882]: *** -[AppDelegate choosefilesbutton:]: dyld: lazy symbol binding failed: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/jphansen/Desktop/ML RAW/test1/M31-1459/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/jphansen/Desktop/ML RAW/test1/M31-1459/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

sh: line 1: 45150 Trace/BPT trap: 5       '/Users/jphansen/Desktop/ML RAW/test1/M31-1459/mlv2dng' '/Volumes/EOS_DIGITAL/M31-1459.MLV' (error 133)
31/08/13 15.03.49,093 ReportCrash[45151]: Saved crash report for mlv2dng[45150] version 0 to /Users/jphansen/Library/Logs/DiagnosticReports/mlv2dng_2013-08-31-150349_JP-MacBook-Pro.crash

Anyone know what the !?#%&!?! this is: __ZNKSt5ctypeIcE13_M_widen_initEv

Ok, here's a gui. Please tell me if you have any issues:
http://www.nickpotts.com.au/downloads/mlv2dng.zip
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on August 31, 2013, 04:16:56 PM
2nd google hit:
http://jamoma-forums-mailing-lists.3076123.n2.nabble.com/Update-on-how-it-s-all-working-now-td7171542.html
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on August 31, 2013, 04:27:42 PM
@gnarr:
can you try to parse the RAWI block and abort in case you can not process the depth?
when compressing, it is better to use 16 bpp depth, as the LZMA can this compress data far better.

and if i accidentally pass such a 16bpp file to mlv2dng, it silently crashes :(


btw:
see https://bitbucket.org/g3gg0/magic-lantern/src/2fc3ab999e72892b6ebc13559209839912ad369b/modules/raw_rec/mlv_dump.c?at=unified

there are those functions:
Code: [Select]
void bitinsert(uint16_t *dst, int position, int depth, uint16_t new_value)
uint16_t bitextract(uint16_t *src, int position, int depth)

''position'' is the n-th pixel in that line you specified.
you can use them to get and set pixel per pixel with any bit depth up to 16bpp.
so you are not forced to use hardcoded macros or structures for other bit depths, but can read any depth and store as 14bpp.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on August 31, 2013, 07:51:07 PM
@gnarr:
can you try to parse the RAWI block and abort in case you can not process the depth?
when compressing, it is better to use 16 bpp depth, as the LZMA can this compress data far better.

and if i accidentally pass such a 16bpp file to mlv2dng, it silently crashes :(


btw:
see https://bitbucket.org/g3gg0/magic-lantern/src/2fc3ab999e72892b6ebc13559209839912ad369b/modules/raw_rec/mlv_dump.c?at=unified

there are those functions:
Code: [Select]
void bitinsert(uint16_t *dst, int position, int depth, uint16_t new_value)
uint16_t bitextract(uint16_t *src, int position, int depth)

''position'' is the n-th pixel in that line you specified.
you can use them to get and set pixel per pixel with any bit depth up to 16bpp.
so you are not forced to use hardcoded macros or structures for other bit depths, but can read any depth and store as 14bpp.

I just added 16bit support, but I haven't compiled it yet.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on August 31, 2013, 08:00:01 PM
maybe I can try to convert the mlv's on linux.

Same here.. Running OS X 10.8.4.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: John Kesl on September 01, 2013, 06:48:45 AM
Hi, I've tried to use the mlv2dng on osx and linux. ( both the gui and comand line versions) and as yet haven't any success.
On osx 10.7.5 I get the error with the 4 in it. and Linux is permission denied. I ran as sudo and sudo -s. to no avail. I also installed it to usr/local/bin and /opt/mlv2dng/bin and changed updated path each time also didn't work. I also used the regular suggested usage, but that didn't work. Always permission denied.

I'll try the windows version later to see if I hve success. I am on OSX 10.7.5 so that might be the problem there. other wise it's xUbuntu 12.04 LTS.

Update:
I now get this result on linux:
Operating mode:
 - Input MLV file: '/home/studio/Desktop/MLVDump/MLV_Start/M01-2046.MLV'
 - Verify file structure
Reached end of file after 3324 blocks
Opened file '/home/studio/Desktop/MLVDump/MLV_Start/M01-2046.M00'
Reached end of file after 218 blocks

But no files.

Update:
tried mlv2dng on windows and it works like a charm. only thing is no subfolder is created by the process dumping all the file into the folder containing the .exe /or the .mlv. I don't know which cause they're both in the same folder, now along with all the created DNG's.


Also,  I cloned your source from bitbucket, but don't see a makefile. I tried build. Didn't work. how do you compile this I wonder. Thank you for any help.
I tried arm-none-eabi-g++ /the/folder/where/main.cpp but it didn't work so good. I'm a unix user so i don't do windows well. Is this best compiled on windows ?

Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: John Kesl on September 01, 2013, 10:55:31 PM
Hi gnarr,
I just tried compiling the git rep on linux I used g++. here's the read out.
Code: [Select]
[email protected]:~/MLDev/mlv2dng$ g++ main.cpp -o mlv2dng
In file included from /usr/include/c++/4.6/cstdint:35:0,
                 from MagicLanternVideo.h:4,
                 from main.cpp:5:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from FileHeader.h:6:0,
                 from MagicLanternVideo.h:5,
                 from main.cpp:5:
InFilestream.h:16:2: error: ‘uint8_t’ does not name a type
InFilestream.h:17:2: error: ‘uint16_t’ does not name a type
InFilestream.h:18:2: error: ‘uint32_t’ does not name a type
InFilestream.h:19:2: error: ‘uint64_t’ does not name a type
InFilestream.h:20:31: error: ‘uint32_t’ has not been declared
InFilestream.h:21:25: error: ‘uint32_t’ has not been declared
In file included from MagicLanternVideo.h:5:0,
                 from main.cpp:5:
FileHeader.h:8:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
FileHeader.h:8:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
FileHeader.h:8:12: error: use of enum ‘VideoClass’ without previous declaration
FileHeader.h:8:23: error: expected unqualified-id before ‘:’ token
FileHeader.h:17:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
FileHeader.h:17:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
FileHeader.h:17:12: error: use of enum ‘AudioClass’ without previous declaration
FileHeader.h:17:23: error: expected unqualified-id before ‘:’ token
FileHeader.h:27:2: error: ‘uint64_t’ does not name a type
FileHeader.h:28:2: error: ‘uint16_t’ does not name a type
FileHeader.h:29:2: error: ‘uint16_t’ does not name a type
FileHeader.h:30:2: error: ‘uint32_t’ does not name a type
FileHeader.h:31:2: error: ‘VideoClass’ does not name a type
FileHeader.h:32:2: error: ‘AudioClass’ does not name a type
FileHeader.h:33:2: error: ‘uint32_t’ does not name a type
FileHeader.h:34:2: error: ‘uint32_t’ does not name a type
FileHeader.h:35:2: error: ‘uint32_t’ does not name a type
FileHeader.h:36:2: error: ‘uint32_t’ does not name a type
FileHeader.h:41:2: error: ‘uint64_t’ does not name a type
FileHeader.h:42:2: error: ‘uint16_t’ does not name a type
FileHeader.h:43:2: error: ‘uint16_t’ does not name a type
FileHeader.h:44:2: error: ‘uint32_t’ does not name a type
FileHeader.h:45:2: error: ‘VideoClass’ does not name a type
FileHeader.h:46:2: error: ‘AudioClass’ does not name a type
FileHeader.h:47:2: error: ‘uint32_t’ does not name a type
FileHeader.h:48:2: error: ‘uint32_t’ does not name a type
FileHeader.h:49:2: error: ‘uint32_t’ does not name a type
FileHeader.h:50:2: error: ‘uint32_t’ does not name a type
In file included from OutFilestream.h:6:0,
                 from RawInfo.h:6,
                 from MagicLanternVideo.h:6,
                 from main.cpp:5:
TiffTags.h:6:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
TiffTags.h:6:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
TiffTags.h:6:12: error: use of enum ‘Tag’ without previous declaration
TiffTags.h:6:16: error: expected unqualified-id before ‘:’ token
In file included from OutFilestream.h:7:0,
                 from RawInfo.h:6,
                 from MagicLanternVideo.h:6,
                 from main.cpp:5:
EntryType.h:6:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
EntryType.h:6:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
EntryType.h:6:12: error: use of enum ‘Type’ without previous declaration
EntryType.h:6:17: error: expected unqualified-id before ‘:’ token
In file included from RawInfo.h:6:0,
                 from MagicLanternVideo.h:6,
                 from main.cpp:5:
OutFilestream.h:16:30: error: ‘uint64_t’ has not been declared
OutFilestream.h:17:18: error: ‘uint32_t’ has not been declared
OutFilestream.h:17:32: error: ‘uint64_t’ has not been declared
OutFilestream.h:18:37: error: ‘uint64_t’ has not been declared
OutFilestream.h:19:18: error: ‘Tag’ has not been declared
OutFilestream.h:19:27: error: ‘uint64_t’ has not been declared
OutFilestream.h:19:7: error: ‘void OutFilestream::writeValue(int, int)’ cannot be overloaded
OutFilestream.h:17:7: error: with ‘void OutFilestream::writeValue(int, int)’
OutFilestream.h:20:18: error: ‘Type’ has not been declared
OutFilestream.h:20:28: error: ‘uint64_t’ has not been declared
OutFilestream.h:20:7: error: ‘void OutFilestream::writeValue(int, int)’ cannot be overloaded
OutFilestream.h:17:7: error: with ‘void OutFilestream::writeValue(int, int)’
OutFilestream.h:21:18: error: ‘uint64_t’ has not been declared
In file included from RawInfo.h:7:0,
                 from MagicLanternVideo.h:6,
                 from main.cpp:5:
Timestamped.h:9:5: error: ‘uint64_t’ does not name a type
Timestamped.h:10:26: error: expected ‘)’ before ‘timestamp’
Timestamped.h:12:13: error: ‘uint64_t’ does not name a type
In file included from MagicLanternVideo.h:6:0,
                 from main.cpp:5:
RawInfo.h:12:2: error: ‘uint16_t’ does not name a type
RawInfo.h:13:2: error: ‘uint16_t’ does not name a type
RawInfo.h:15:2: error: ‘uint32_t’ does not name a type
RawInfo.h:16:2: error: ‘uint32_t’ does not name a type
RawInfo.h:18:2: error: ‘uint32_t’ does not name a type
RawInfo.h:19:2: error: ‘uint32_t’ does not name a type
RawInfo.h:20:2: error: ‘uint32_t’ does not name a type
RawInfo.h:22:2: error: ‘uint32_t’ does not name a type
RawInfo.h:23:2: error: ‘uint32_t’ does not name a type
RawInfo.h:25:2: error: ‘uint32_t’ does not name a type
RawInfo.h:26:2: error: ‘uint32_t’ does not name a type
RawInfo.h:32:13: error: ‘uint32_t’ does not name a type
RawInfo.h:33:13: error: ‘uint32_t’ does not name a type
RawInfo.h:37:13: error: ‘uint32_t’ does not name a type
RawInfo.h:38:13: error: ‘uint32_t’ does not name a type
RawInfo.h:45:13: error: ‘uint32_t’ does not name a type
RawInfo.h:47:9: error: ‘uint32_t’ does not name a type
RawInfo.h:50:2: error: ‘uint32_t’ does not name a type
RawInfo.h:51:2: error: ‘uint32_t’ does not name a type
RawInfo.h:52:2: error: ‘uint32_t’ does not name a type
RawInfo.h:54:2: error: ‘uint32_t’ does not name a type
RawInfo.h:56:2: error: ‘uint32_t’ does not name a type
In file included from MagicLanternVideo.h:7:0,
                 from main.cpp:5:
WavInfo.h:8:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
WavInfo.h:19:2: error: ‘uint16_t’ does not name a type
WavInfo.h:20:2: error: ‘uint32_t’ does not name a type
WavInfo.h:21:2: error: ‘uint32_t’ does not name a type
WavInfo.h:22:2: error: ‘uint16_t’ does not name a type
WavInfo.h:23:2: error: ‘uint16_t’ does not name a type
WavInfo.h:29:2: error: ‘uint16_t’ does not name a type
WavInfo.h:30:2: error: ‘uint32_t’ does not name a type
WavInfo.h:31:2: error: ‘uint32_t’ does not name a type
WavInfo.h:32:2: error: ‘uint16_t’ does not name a type
WavInfo.h:33:2: error: ‘uint16_t’ does not name a type
In file included from MagicLanternVideo.h:8:0,
                 from main.cpp:5:
ExposureInfo.h:11:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:12:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:13:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:14:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:15:2: error: ‘uint64_t’ does not name a type
ExposureInfo.h:20:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:21:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:22:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:23:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:25:2: error: ‘uint64_t’ does not name a type
In file included from MagicLanternVideo.h:9:0,
                 from main.cpp:5:
LensInfo.h:11:5: error: ‘uint16_t’ does not name a type
LensInfo.h:12:5: error: ‘uint16_t’ does not name a type
LensInfo.h:13:5: error: ‘uint16_t’ does not name a type
LensInfo.h:16:5: error: ‘uint32_t’ does not name a type
LensInfo.h:17:5: error: ‘uint32_t’ does not name a type
LensInfo.h:24:2: error: ‘uint16_t’ does not name a type
LensInfo.h:25:2: error: ‘uint16_t’ does not name a type
LensInfo.h:27:2: error: ‘uint32_t’ does not name a type
LensInfo.h:31:2: error: ‘uint32_t’ does not name a type
LensInfo.h:32:2: error: ‘uint32_t’ does not name a type
In file included from RealTimeClock.h:7:0,
                 from MagicLanternVideo.h:10,
                 from main.cpp:5:
DateTime.h:10:2: error: ‘uint64_t’ does not name a type
DateTime.h:12:20: error: expected ‘)’ before ‘microseconds’
DateTime.h:13:20: error: expected ‘)’ before ‘year’
DateTime.h:17:16: error: ‘uint16_t’ has not been declared
DateTime.h:17:32: error: ‘uint16_t’ has not been declared
DateTime.h:17:53: error: ‘uint16_t’ has not been declared
DateTime.h:17:69: error: ‘uint16_t’ has not been declared
DateTime.h:17:87: error: ‘uint16_t’ has not been declared
DateTime.h:17:105: error: ‘uint32_t’ has not been declared
In file included from RealTimeClock.h:7:0,
                 from MagicLanternVideo.h:10,
                 from main.cpp:5:
DateTime.h:18:16: error: ‘uint16_t’ has not been declared
DateTime.h:18:32: error: ‘uint16_t’ has not been declared
DateTime.h:18:49: error: ‘uint16_t’ has not been declared
DateTime.h:18:71: error: ‘uint16_t’ has not been declared
DateTime.h:18:87: error: ‘uint16_t’ has not been declared
DateTime.h:18:105: error: ‘uint16_t’ has not been declared
DateTime.h:18:123: error: ‘uint32_t’ has not been declared
DateTime.h:20:23: error: ‘uint64_t’ has not been declared
DateTime.h:22:23: error: ‘uint64_t’ has not been declared
DateTime.h:27:15: error: ‘uint64_t’ does not name a type
DateTime.h:28:15: error: ‘uint64_t’ does not name a type
DateTime.h:29:15: error: ‘uint64_t’ does not name a type
DateTime.h:30:15: error: ‘uint64_t’ does not name a type
DateTime.h:31:15: error: ‘uint8_t’ does not name a type
In file included from MagicLanternVideo.h:10:0,
                 from main.cpp:5:
RealTimeClock.h:12:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:13:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:14:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:15:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:16:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:17:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:18:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:19:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:20:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:21:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:27:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:28:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:29:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:30:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:31:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:32:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:33:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:34:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:35:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:36:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:38:22: error: ‘uint64_t’ has not been declared
RealTimeClock.h:40:23: error: ‘uint64_t’ has not been declared
In file included from MagicLanternVideo.h:11:0,
                 from main.cpp:5:
Info.h:14:29: error: ‘uint32_t’ has not been declared
In file included from MagicLanternVideo.h:12:0,
                 from main.cpp:5:
Identity.h:12:5: error: ‘uint32_t’ does not name a type
Identity.h:19:2: error: ‘uint32_t’ does not name a type
In file included from VideoFrame.h:6:0,
                 from MagicLanternVideo.h:13,
                 from main.cpp:5:
Buffer.h:14:18: error: expected ‘)’ before ‘size’
Buffer.h:47:17: error: declaration of ‘operator[]’ as non-function
Buffer.h:47:15: error: expected ‘;’ at end of member declaration
Buffer.h:47:26: error: expected ‘)’ before ‘index’
In file included from MagicLanternVideo.h:13:0,
                 from main.cpp:5:
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:102:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:103:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:104:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:105:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:106:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:107:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:108:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:109:17: error: ‘uint8_t’ was not declared in this scope
VideoFrame.h:109:24: error: template argument 1 is invalid
VideoFrame.h:111:32: error: expected identifier before ‘*’ token
VideoFrame.h:111:54: error: ‘uint32_t’ has not been declared
VideoFrame.h:111:63: error: ‘uint32_t’ has not been declared
VideoFrame.h:111:72: error: ‘uint32_t’ has not been declared
VideoFrame.h:111:82: error: ISO C++ forbids declaration of ‘uint32_t’ with no type [-fpermissive]
VideoFrame.h:111:82: error: ‘uint32_t’ declared as function returning a function
VideoFrame.h:113:35: error: ‘uint32_t’ has not been declared
VideoFrame.h:115:2: error: ‘GetRawPixelFunction’ does not name a type
VideoFrame.h:117:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:118:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:119:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:120:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:121:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:123:24: error: ‘uint32_t’ has not been declared
VideoFrame.h:127:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:128:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:129:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:130:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:131:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:132:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:133:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:134:2: error: ‘uint8_t’ does not name a type
In file included from MagicLanternVideo.h:14:0,
                 from main.cpp:5:
WhiteBalanceInfo.h:11:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:12:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:13:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:14:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:15:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:16:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:17:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:22:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:23:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:24:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:25:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:26:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:27:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:28:2: error: ‘uint32_t’ does not name a type
In file included from MagicLanternVideo.h:15:0,
                 from main.cpp:5:
Container.h:26:14: error: expected ‘;’ at end of member declaration
Container.h:26:39: error: expected ‘)’ before ‘timestamp’
main.cpp:54:1: error: expected ‘}’ at end of input
In file included from MagicLanternVideo.h:15:0,
                 from main.cpp:5:
Container.h:24:5: error: expected unqualified-id at end of input

Any help. I'm not so skilled at all this. I've learned how to by reading all the stuff the Developers of ML have shared but, I'm no programmer, an advanced user at best. Please, any help. If you point me in the direction I will figure out the rest.

I'm guessing my problem is.  #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
Thank you.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on September 02, 2013, 12:08:44 PM
I just added a makefile to the repository, so now you should be able to build. Just remember to use a recent version of gcc/g++ (4.7 or 4.8 works best).
Title: A GUI MLV Converter for MacOSX
Post by: 8beeeaaat on September 02, 2013, 08:45:58 PM
Hi guys!
I released a GUI MLV Converter for MacOSX :)

https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip

However, this version is very poor.
This converter has only function that convert plural .MLV sources at a time.
And this Converter does not have even a combination function for the present. :-[

Please use this Converter if you want to handle plural files easily.

8-beeeaaat!!!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: naturalsound on September 02, 2013, 09:13:33 PM
Great work!
Used it for 720p RAW footage of my 7D yesterday without problems :-)

One suggestion: Would it be possible to detect pink frames by calculating the difference of 3 succeeding pictures (maybe just the WB setting??). If the program could output a logfile with the detected frames it would be much easier to replace them by a copy of the preceeding frame by hand.
Maybe it is even possible to do this automatically?

I suggest an optional paramater for this feature because I can imagine this will slow down the conversion process a lot, so it should not be the default option...
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: RenatoPhoto on September 02, 2013, 09:14:10 PM
Hi gnarr,

I tested mlv2dng.exe on windows 7 64bit and it crashes. 
Changed the file properties so it is compatible with Windows XP Service Pack 2 and it worked.

It appears not to be compatible with 64 bits..

I tested an older version on August 22 and it worked on 64 bits.
Title: Re: A GUI MLV Converter for MacOSX
Post by: jsoucy on September 03, 2013, 05:08:54 AM
Hi guys!
I released a GUI MLV Converter for MacOSX :)

https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip

However, this version is very poor.
This converter has only function that convert plural .MLV sources at a time.
And this Converter does not have even a combination function for the present. :-[

Please use this Converter if you want to handle plural files easily.

8-beeeaaat!!!

it's not work on my mac :( maybe because i'm on 10,7,5
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: feureau on September 03, 2013, 06:23:50 PM
Hi gnarr,

I tested mlv2dng.exe on windows 7 64bit and it crashes. 
Changed the file properties so it is compatible with Windows XP Service Pack 2 and it worked.

It appears not to be compatible with 64 bits..

I tested an older version on August 22 and it worked on 64 bits.

Also using W7 x64 and ... sometimes it crash but most often it doesn't. I think it may have something to do with different framerate/resolution? I've been testing several combinations of aspect ratio, frame size, and frame rate and some of the files crashes and others/most don't. I wish I can tell you which causes which. Can't read the exif data on them gosh darned .mlv. Do they have plans to build a codec for windows/nix/osx so we can directly play .mlv videos?

Using the latest version.
Title: Re: A GUI MLV Converter for MacOSX
Post by: Sky_cleaner on September 04, 2013, 11:30:49 AM
Hi guys!
I released a GUI MLV Converter for MacOSX :)

https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip

However, this version is very poor.
This converter has only function that convert plural .MLV sources at a time.
And this Converter does not have even a combination function for the present. :-[

Please use this Converter if you want to handle plural files easily.

8-beeeaaat!!!
on Mac OS ML 10.8 work fine. But converting only. What abowt generating ProRes 4444?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on September 04, 2013, 04:25:11 PM
Hi guys!
I released a GUI MLV Converter for MacOSX :)

https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip

However, this version is very poor.
This converter has only function that convert plural .MLV sources at a time.
And this Converter does not have even a combination function for the present. :-[

Please use this Converter if you want to handle plural files easily.

8-beeeaaat!!!

I still get that dan error here.. WTF is "libstdc++.6.dylib" and why do I keep getting problems with that?

Code: [Select]
Process:         mlv2dng [54486]
Path:            /Users/USER/Downloads/*/MLVConverter.app/Contents/Resources/mlv2dng
Identifier:      mlv2dng
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  MLVConverter [54258]
User ID:         503

Date/Time:       2013-09-04 16:19:59.209 +0200
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Dyld Error Message:
  Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/USER/Downloads/*/MLVConverter.app/Contents/Resources/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                          0x00007fff6a4fd09d dyld_fatal_error + 1
1   dyld                          0x00007fff6a500048 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2   libdyld.dylib                  0x000000010aada8ee dyld_stub_binder_ + 13
3   ???                            0x000000010a913118 0 + 4472254744

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fa860c04b90  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x00007fff6a56c060  rsi: 0x0000000000000000  rbp: 0x00007fff55303160  rsp: 0x00007fff55303148
   r8: 0x00007fff6a518a14   r9: 0x000000000000000e  r10: 0x00007fff55303019  r11: 0x00007fff6a56c060
  r12: 0x00007fff553034e0  r13: 0x0000000000000018  r14: 0x00007fff6a56c060  r15: 0x00007fff55303ac0
  rip: 0x00007fff6a4fd09d  rfl: 0x0000000000000246  cr2: 0x00007fff6a5267d0
Logical CPU: 0

Binary Images:
       0x10a8fc000 -        0x10a912fef +mlv2dng (0) <3A56EEF5-28EE-3444-8C92-8E08631774EE> /Users/USER/Downloads/*/MLVConverter.app/Contents/Resources/mlv2dng
       0x10a922000 -        0x10a98bfff  libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
       0x10a9f6000 -        0x10a9f7ff7  libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
       0x10aa00000 -        0x10aa25ff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
       0x10aa5c000 -        0x10aa61fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
       0x10aa68000 -        0x10aa76fff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
       0x10aa86000 -        0x10aa8bfff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
       0x10aa95000 -        0x10aa9cfff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
       0x10aaa4000 -        0x10aab9ff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
       0x10aad4000 -        0x10aad5ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
       0x10aada000 -        0x10aaddff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
       0x10aaea000 -        0x10aaeafff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
       0x10aaf2000 -        0x10aafafff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
       0x10ab04000 -        0x10ab0afff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
       0x10ab13000 -        0x10ab15fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
       0x10ab1c000 -        0x10ab1dff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
       0x10ab27000 -        0x10ab28fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
       0x10ab31000 -        0x10abfdff7  libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
       0x10ac47000 -        0x10ac4fff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
       0x10ac57000 -        0x10ac8dfff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
       0x10acac000 -        0x10acc7ff7  libsystem_kernel.dylib (2050.24.15) <A9F97289-7985-31D6-AF89-151830684461> /usr/lib/system/libsystem_kernel.dylib
       0x10acdd000 -        0x10ad0bff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
       0x10ad18000 -        0x10ad26ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
       0x10ad38000 -        0x10ad43fff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
       0x10ad4e000 -        0x10ad4fff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
       0x10ad59000 -        0x10ad5bff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
       0x10ad61000 -        0x10ad67ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
       0x10ad73000 -        0x10ad95ff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
       0x10adaf000 -        0x10adfeff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
       0x10ae13000 -        0x10af2b92f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
       0x10af4c000 -        0x10af98ff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
       0x10afb2000 -        0x10b01aff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
       0x10b07a000 -        0x10b07bfff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff6a4fc000 -     0x7fff6a53093f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 2107
    thread_create: 12
    thread_set_state: 2

VM Region Summary:
ReadOnly portion of Libraries: Total=7080K resident=4244K(60%) swapped_out_or_unallocated=2836K(40%)
Writable regions: Total=17.8M written=356K(2%) resident=536K(3%) swapped_out=0K(0%) unallocated=17.3M(97%)
 
REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             9396K
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
__DATA                              636K
__LINKEDIT                         2040K
__TEXT                             5088K
shared memory                        12K
===========                      =======
TOTAL                              80.8M

 
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: pointbob1 on September 04, 2013, 05:05:44 PM
newb here, don't puke - so MLV is superior to using RAW in ML because MLV records audio?

thanks
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Francis on September 04, 2013, 05:30:53 PM
MLV is the future standard format for ML raw video. It is still under development but hopes to include audio support, amongst other things.

Check out the first post in this thread (http://www.magiclantern.fm/forum/index.php?topic=7122.0) for more details.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: tjunkkila on September 04, 2013, 06:40:31 PM
Any news on mlv2dng working on osx 10.7.?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on September 04, 2013, 11:20:41 PM
This is for 10.8.3 Mountain Lion users.. I guess you can install the Lion version the same way...  gcc-mlion.tar.gz - Mountain Lion. gcc-lion.tar.gz - Lion version

Found a solution to get the mac versions to work (the absolutely non geeky/I dont know Unix way)... The problem is the "libstdc++.6.dylib". And WTF is that anyway.. My answer I DOOONT know.. Anyway.. I found the missing libraries to install.. Here is what you need to do:

Go to http://hpc.sourceforge.net (http://hpc.sourceforge.net) and download this file http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download (http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download).

Go to Terminal and cd to the download folder
Code: [Select]
cd /Users/UserName/Downloads/ Then gunzip gcc-lion.tar.gz (if your browser didn't do so already) and then
Code: [Select]
sudo tar -xvf gcc-mlion.tar -C /
I used 7zX because I dont know how to gunzip..

Restart your mac and BOOOOM!!! MLVConverter.app works for me...

Hope this helps some..
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: vnguyen972 on September 04, 2013, 11:36:30 PM
How does one convert the spanned MLV files? I have .MLV and .M00 files... usually I just drag the MLV and drop ontop of the mlv2dng and it does its job.. now that I have .M00, it doesn't do anything... drag and drop isn't working in this case? I tried cmd line but doesn't see any option to specify that it's splitted MLV... help please?
Thanks.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: RenatoPhoto on September 05, 2013, 12:20:36 AM
How does one convert the spanned MLV files? I have .MLV and .M00 files... usually I just drag the MLV and drop ontop of the mlv2dng and it does its job.. now that I have .M00, it doesn't do anything... drag and drop isn't working in this case? I tried cmd line but doesn't see any option to specify that it's splitted MLV... help please?
Thanks.
Make sure you have the latest mlv2dng.exe from first post.
If you are using 5D3 make sure you get the files from SD card as well and put them all in the same directory.
Make sure you use simple directory/subdirectory names (do not use %&/($#"!()= or any symbol) or place a folder in the root directory of c drive.
In windows I had to change the settings of mlv2dng.exe to with Compatability= Windows XP service pack 2 or 3
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: tjunkkila on September 05, 2013, 01:04:06 PM
This is for 10.8.3 Mountain Lion users.. I guess you can install the Lion version the same way...  gcc-mlion.tar.gz - Mountain Lion. gcc-lion.tar.gz - Lion version

Found a solution to get the mac versions to work (the absolutely non geeky/I dont know Unix way)... The problem is the "libstdc++.6.dylib". And WTF is that anyway.. My answer I DOOONT know.. Anyway.. I found the missing libraries to install.. Here is what you need to do:

Go to http://hpc.sourceforge.net (http://hpc.sourceforge.net) and download this file http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download (http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download).

Go to Terminal and cd to the download folder
Code: [Select]
cd /Users/UserName/Downloads/ Then gunzip gcc-lion.tar.gz (if your browser didn't do so already) and then
Code: [Select]
sudo tar -xvf gcc-mlion.tar -C /
I used 7zX because I dont know how to gunzip..

Restart your mac and BOOOOM!!! MLVConverter.app works for me...

Hope this helps some..

Got to try this one out! Thanks.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: tjunkkila on September 07, 2013, 12:20:15 PM
This is for 10.8.3 Mountain Lion users.. I guess you can install the Lion version the same way...  gcc-mlion.tar.gz - Mountain Lion. gcc-lion.tar.gz - Lion version

Found a solution to get the mac versions to work (the absolutely non geeky/I dont know Unix way)... The problem is the "libstdc++.6.dylib". And WTF is that anyway.. My answer I DOOONT know.. Anyway.. I found the missing libraries to install.. Here is what you need to do:

Go to http://hpc.sourceforge.net (http://hpc.sourceforge.net) and download this file http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download (http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download).

Go to Terminal and cd to the download folder
Code: [Select]
cd /Users/UserName/Downloads/ Then gunzip gcc-lion.tar.gz (if your browser didn't do so already) and then
Code: [Select]
sudo tar -xvf gcc-mlion.tar -C /
I used 7zX because I dont know how to gunzip..

Restart your mac and BOOOOM!!! MLVConverter.app works for me...

Hope this helps some..

Still couldn't get this working on osx 10.7.
Is there any way to get a working version of MLVConverter.app for osx Lion?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on September 07, 2013, 01:11:05 PM
Did you install The right version?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: tjunkkila on September 07, 2013, 08:21:33 PM
Did you install The right version?
I did look for the lion version, not mlion, and got that installed. Don't know if the mlv2dng is the right version tho..
All i get is the mlv2dng file in a folder. aobut 146kb at size.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: feureau on September 08, 2013, 12:45:25 PM
I find that sometimes mlv2dng crashes when starting to convert mlv files. However, repeating the command at least 2-3 times would cause the app to not crash and convert the files properly. This is win7 x64 in case anyone been dealing with files crashing the mlv2dng.

Also,

Windows users: how have you been batch converting mlv to dng?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: arrinkiiii on September 08, 2013, 07:02:12 PM
Same here, win 7 64bits. The first time it will crash but try again and it work.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on September 08, 2013, 08:31:15 PM
I have found some kind of bug.. only some of my mlv files will convert.. haven't found the explanation yet
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: feureau on September 08, 2013, 08:43:28 PM
I have found some kind of bug.. only some of my mlv files will convert.. haven't found the explanation yet

Windows x64?

Retry that file 2-3 times and it will convert.

Does anyone know how to batch convert .mlv using mlv2dng on a windows machine?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on September 08, 2013, 08:52:45 PM
Nope.. The Mac gui version.. :-) 10.8.3
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 13, 2013, 08:54:20 PM
I have found some kind of bug.. only some of my mlv files will convert.. haven't found the explanation yet

got some problems too :/

(Windows 8 x64)

Quote
Signature du problème :
  Nom d’événement de problème:   APPCRASH
  Nom de l’application:   mlv2dng.exe
  Version de l’application:   0.0.0.0
  Horodatage de l’application:   521e7f97
  Nom du module par défaut:   mlv2dng.exe
  Version du module par défaut:   0.0.0.0
  Horodateur du module par défaut:   521e7f97
  Code de l’exception:   c0000005
  Décalage de l’exception:   0000a46c
  Version du système:   6.2.9200.2.0.0.256.48
  Identificateur de paramètres régionaux:   1036
  Information supplémentaire n° 1:   5861
  Information supplémentaire n° 2:   5861822e1919d7c014bbb064c64908b2
  Information supplémentaire n° 3:   f3d5
  Information supplémentaire n° 4:   f3d5be0cad2787556264647dc02181c3

It's in french but it may help  :'(
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: dubzeebass on September 15, 2013, 01:16:34 AM
Here's a thread to a batch Applescript app for all: http://www.magiclantern.fm/forum/index.php?topic=8298.0

Epic thanks to nick.p!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: arrinkiiii on September 15, 2013, 01:10:05 PM
Here's a thread to a batch Applescript app for all: http://www.magiclantern.fm/forum/index.php?topic=8298.0

Epic thanks to nick.p!

No one want to do for windows?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Cellulo on September 16, 2013, 11:05:54 AM
Hello to all,
new here

I shooted several times with new MLV format on 50D,
but when I try to convert those file i can't get nothing 'see below my different test).

I use the latest TragicLantern from Andy600 (08Sept2013).
My config is MacPro 2,1 and MBP both with both OSX10.6.8
(I can't upgrade to 10.8 cause computers are to old)

I tried the 8-beeeaaat!!! GUI but it doesn't run under 10.6.8.

I tried the script from dubzeebass but there are some segmetation fault when I launch the script,
a1ex tried to help me (using valgrind tool) but i'm not a dev and i don't understand "compilation things".

Is there someone who can convert MLV on a 10.6.8 mac ?
Anyone have a clue on how to achieve it ?

Thx a lot
eric
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: jphansen on September 16, 2013, 09:11:40 PM
I did look for the lion version, not mlion, and got that installed. Don't know if the mlv2dng is the right version tho..
All i get is the mlv2dng file in a folder. aobut 146kb at size.

Is this all your files or just some.. I have experienced the some for some of my files.. Often the files I dont stop recording my self.. When the buffer is full..
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 20, 2013, 11:19:31 PM
maybe we need a fixer for mlv raw files :/
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on September 21, 2013, 02:28:50 AM
maybe we need a fixer for mlv raw files :/

why?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 22, 2013, 01:19:09 AM
why?

some files are impossible to convert :/



Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on September 22, 2013, 01:24:09 AM
well this answer doesnt help anything.

 - what happens?
 - some error message?
 - what does mlv_dump say?
 - can you convert it to legacy raw?
 - what does the mlv player say?
 - where can i download the corrupted files?
 - etc
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: ck8610 on September 23, 2013, 06:29:01 AM
It couldn't run on win7 64bit....
when I run this program ,there is a black cmd windows flash then miss...


it said:

 usage:
mlv2dng.exe file.mlv[prefix]

=> will creat prefix000000.dng,prefix000001.dng and so on
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: vnguyen972 on September 24, 2013, 03:53:41 PM
I've been unable to make use of "prefix". Everytime I tried, it just crashed. I'm using Windows version on win8 64bit.
It worked fine without "prefix" but I'd like to have prefix on the DNGs filename instead of just "numbers".

I tried many times after it crashed and it still works. Without the "prefix" sometimes it crashed but it worked after a retry.

Any one could help me out?
Thanks.
Title: Re: A GUI MLV Converter for MacOSX
Post by: PANDETTA on September 25, 2013, 06:40:03 AM
Hi guys!
I released a GUI MLV Converter for MacOSX :)

https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip

However, this version is very poor.
This converter has only function that convert plural .MLV sources at a time.
And this Converter does not have even a combination function for the present. :-[

Please use this Converter if you want to handle plural files easily.

8-beeeaaat!!!
Thank you so much sir!!!!
I will send some smoking hot girls to your house right away
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 26, 2013, 02:14:49 AM
TIP: I achieved to decode a "corrupted" file using the Windows XP 3 compatibility mode. (Windows 8 x64)

Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 28, 2013, 08:59:13 PM
Once again, got 2 files I can't decode :/

I'll upload them if I can't get the job done.

I tried to see if there's something wrong in the file structure with a hex editor, but nothing seems weird.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on September 28, 2013, 10:06:36 PM
i quote myself again regarding corrupted mlv files.
well this answer doesnt help anything.

 - what happens?
 - some error message?
 - what does mlv_dump say?
 - can you convert it to legacy raw?
 - what does the mlv player say?
 - where can i download the corrupted files?
 - etc
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 29, 2013, 12:59:13 PM
i quote myself again regarding corrupted mlv files.

 - what happens?  - some error message?

the program crash, i posted the windows error message here
http://www.magiclantern.fm/forum/index.php?topic=7802.msg75833#msg75833

 - what does mlv_dump say?

where can I download the mlv_dump.exe file? haven't found a good link here
http://www.magiclantern.fm/forum/index.php?topic=7122.0

 - can you convert it to legacy raw?

sorry but what do you mean? (  :-[ )


 - what does the mlv player say?

the one on the camera? or your "MLV Viewer"?
MLV viewer is crashing trying to open the file.

 - where can i download the corrupted files?

do you got a place where I can upload two 3gigs files?
Or maybe i can directly upload them to you using a .torrent or something else (got a 100mb/s symetric bandwith)


Thanks in advance, and sorry for the lack of provided infos  :-\

Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 29, 2013, 10:34:23 PM
Ok so I turned my brain "ON" and did some search....

I acheived to decode one of the two files with mlv_dump

but for the other one...

(http://img15.hostingpics.net/pics/257092Sanstitre1.jpg) (http://www.hostingpics.net/viewer.php?id=257092Sanstitre1.jpg)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on September 30, 2013, 12:29:01 AM
yeah this file is corrupted - it stops somewhere in the middle of data.
seems some part of it is missing.

run the same command, just without -r to dump its content into the output file in MLV mode (name it blah.mlv)
then you can process it using mlv2dng
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: artrepublican on September 30, 2013, 08:16:36 PM
After using this converter: https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip
on osx lion, I can not convert mlv to dng any more. It just make an empty folder.
Anybody know how can I fix that?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on September 30, 2013, 08:51:33 PM
yeah this file is corrupted - it stops somewhere in the middle of data.
seems some part of it is missing.

run the same command, just without -r to dump its content into the output file in MLV mode (name it blah.mlv)
then you can process it using mlv2dng

Ok so it seems to work, but it output a 1ko raw file :/

(http://img11.hostingpics.net/pics/674740Sanstitre1.jpg) (http://www.hostingpics.net/viewer.php?id=674740Sanstitre1.jpg)

(http://img11.hostingpics.net/pics/683144Sanstitre1.jpg) (http://www.hostingpics.net/viewer.php?id=683144Sanstitre1.jpg)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on September 30, 2013, 09:55:04 PM
Ok so it seems to work, but it output a 1ko raw file :/

uhm when directly converting to raw, you get the message about "in the middle" and when
writing to mlv, it just doesnt output any image?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: JCBEos on October 01, 2013, 06:21:21 PM
uhm when directly converting to raw, you get the message about "in the middle" and when
writing to mlv, it just doesnt output any image?

that's it :/
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: mityazabuben on October 02, 2013, 03:50:07 PM
nvm
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Mkolaj on October 02, 2013, 11:02:08 PM
I recorded a couple of clips in MLV format today and I can play them in MLV viewer, but colors are wrong, highlights clipped. I cannot convert them in MLV2DNG.

Message "unknown header "styl"". My camera is in polish, can it affect this? Styl instead of "style"? like picture style?

Some clips cause the program to shutdown, some go through when on card, some only copied to HDD. One file works from card, then stops working from hddd.

They go through even without the header.

I tried mlv_dump, but it says that file ends in the middle of the block. I cannot convert them to legacy RAW.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: sebamax on October 07, 2013, 04:36:49 PM
After using this converter: https://dl.dropboxusercontent.com/u/8769684/MLVConverter.app.zip
on osx lion, I can not convert mlv to dng any more. It just make an empty folder.
Anybody know how can I fix that?
me too
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on October 07, 2013, 07:53:38 PM
I tried mlv_dump, but it says that file ends in the middle of the block. I cannot convert them to legacy RAW.

can you give some more details about how this file was created?
can i download it?
how big is it?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Mkolaj on October 08, 2013, 10:03:11 AM
I don't have it anymore, but will try to recreate the problem.

It was about 3GB in size. I just used mlv_rec module, manual lens (Helios 44), iso 100. It looked like no problems while recording, but I was using global draw with buffer graph.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: marekk on October 21, 2013, 04:22:22 PM
I recorded a couple of clips in MLV format today and I can play them in MLV viewer, but colors are wrong, highlights clipped. I cannot convert them in MLV2DNG.

Message "unknown header "styl"". My camera is in polish, can it affect this? Styl instead of "style"? like picture style?


I've got the same issue on 60D (also Polish language).
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: johansugarev on October 27, 2013, 02:52:41 PM
Is there a working GUI version for mac? If not, can somebody provide a step by step guide on how to use the script?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on October 28, 2013, 08:02:06 PM
gnarr, still around there?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: swinxx on November 11, 2013, 10:44:52 AM
hello,
have tried the latest mlv2dng downloaded 11nov with the latest version of mlv_rec also downloaded today 11 nov - recorded with a canon 5d mk3, spanned files (sd and cf card.. more than 4gb)
then copied the files to the mac 10.9
opened the mlv2dng tool,  but the following messages appear:

Macintosh:mlv markshadow$ /Users/markshadow/Desktop/mlv/mlv2dng M11-1125.mlv
Exception! Header not recognized: 'STYL'
dyld: lazy symbol binding failed: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/markshadow/Desktop/mlv/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/markshadow/Desktop/mlv/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

Trace/BPT trap: 5
Macintosh:mlv markshadow$ /Users/markshadow/Desktop/mlv/mlv2dng /Users/markshadow/Desktop/mlv/M11-1125.MLV
Exception! Header not recognized: 'STYL'
dyld: lazy symbol binding failed: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/markshadow/Desktop/mlv/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/markshadow/Desktop/mlv/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

Trace/BPT trap: 5

any help would be nice. thx.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on November 11, 2013, 10:49:07 AM
it seems this project is cancelled.
so i added dng support to mlv_dump. there is also a mac-os build around somewhere.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: bloomingworks on November 27, 2013, 03:38:06 PM
Hello,

How can use mlv2dng_osx ?

Here is my terminal:
Last login: Wed Nov 27 15:25:00 on ttys000
imac:~ bloomingworks$ /Users/bloomingworks/Downloads/mlv2dng\ 3 ; exit;
usage:

mlv2dng.exe file.mlv [prefix]

 => will create prefix000000.dng, prefix000001.dng and so on.
logout

[Process completed]

Can you help me please?
Dominique eyraud

Title: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: nick.p on November 27, 2013, 11:53:17 PM
Drag the program onto terminal and then drag the mlv. Then press enter
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: bloomingworks on November 28, 2013, 09:48:45 AM

thanks nick for your help.
But it do not work. I Draged the program onto terminal, then draged the mlv, press enter.

here is my terminal:

imac:~ bloomingworks$ /Users/bloomingworks/Desktop/mlv2dng /Users/bloomingworks/Desktop/M20-1729.MLV
Exception! Header not recognized: 'STYL'
dyld: lazy symbol binding failed: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/bloomingworks/Desktop/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/bloomingworks/Desktop/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

Trace/BPT trap: 5
imac:~ bloomingworks$

what can I do ?
I have Osx mavericks on my mac...
Dominique
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Midphase on December 15, 2013, 04:19:07 AM
I get the same exact results on my Mac.

How come there isn't a single non-Terminal app for the Mac which can convert .mlv files without the user needing to be a full fledged computer science grad?

I'd love to start using .mlv as my format of choice, but on the Mac I'd rather have my wisdom teeth pulled than trying to figure out this stuff (and I consider myself pretty tech-savvy).

Is there any chance that a kind soul who knows more about this stuff than us mortals could come up with a GUI wrap for this app that actually works?

Devs:

I know you're all PC holy-nerds-from-hell, but most of us video guys are Mac based. Sorry...just the way it is in the industry, so lack of a proper Mac solution to convert .mlv files is actually affecting a pretty big chunk of us who would love to use this new format more and more. Sorry for the rant but this is really frustrating.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on December 15, 2013, 09:38:34 AM
i know. but without any mac, i can't do anything.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on December 15, 2013, 10:46:23 AM
Finally got it converting on my mac using this tip. http://www.magiclantern.fm/forum/index.php?topic=9573.msg91806;topicseen#msg91806
 
I had to upgrade my OS to maverick though from sitting on an older OS before I got it working.
Still, it,s one file at the time and a lot of keypressing :)
Thanks anyway for all the progress
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on December 15, 2013, 11:17:33 AM
you can convert it into .dng directly using the --dng option
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on December 15, 2013, 12:01:38 PM
Sweet, worked!

The instruction from g3gg0 from another topic;

1. don't use spaces
2. first cd into a directory ("cd  <directory>" and note the SPACE after cd)
3. then execute "./mlv_dump --dng <filename>" (ENTER THE FILENAME MANUALLY WITHOUT ANY PATH)
4. if this works, try using drag'n'drop or whatever, but first try to get it executing the most simple way as described in 1. to 3.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: arturochu on December 16, 2013, 07:20:27 AM
any updates of dual-iso implementation?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: mannyaroyo on December 30, 2013, 02:58:17 AM
Hey everyone im not sure if this was covered but i read most of this thread and didnt see anything.

So i used Mlv-Dump and then was able to drag my MLv clip into terminal but it will only allow me to covert it to DNG by doing the command --d if i try to convert to RAW like the post stated by using the -r command it says it processes it but nothing happens. i cant find the file at all. If i use the method that is in the post completely then the Mlv file isnt able to get open. Im kinda confused and would like to get some sound with this footage which is why i shot in MLV. Also i noticed when i brung the file into AE it was 8bit and not 14. if there is anything on this anything please redirect me thanks!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on December 30, 2013, 03:39:41 AM
check this thread http://www.magiclantern.fm/forum/index.php?topic=9679.0
reply #21

Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: mannyaroyo on December 31, 2013, 02:16:27 AM
check this thread http://www.magiclantern.fm/forum/index.php?topic=9679.0
reply #21

Thanks i will be trying this out now.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: BlueBird on January 18, 2014, 11:19:58 PM
i use osx mavericks and i can't convert a mlv to dng with the program.. i put it on a same folder as raw2dng but i still dosen't work...
can anyone tell a instrucion what i have to do?

and!!! if i open the mlv2dng.. he say he creat the files but i dindt see any file...
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on January 19, 2014, 12:12:22 AM
http://www.magiclantern.fm/forum/index.php?topic=9731.msg93586#msg93586

Tried above solution?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: BlueBird on January 19, 2014, 01:57:30 AM
http://www.magiclantern.fm/forum/index.php?topic=9731.msg93586#msg93586

Tried above solution?

thx work but still have a problem.. i got the dng but no wav! check the error message what i got in the tread!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on January 19, 2014, 02:11:02 AM
Not sure what,s going on. Are you sure your camera i set to record audio? You have to enable it both the module and in the ml menu.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: DesterWallaboo on January 21, 2014, 09:29:30 PM
Anyone else notice that both the RAW module and MLV module both shoot about 1 stop under compared to what it looks like on screen and with the zebras? I've tried using the Image Fine Tuning option and bumping it up +1.0EV... but it doesn't seem to make any difference. So the only way I seem to get properly exposed video is to overexpose by +1.0 - +1.25 stops and then it looks correct when bringing it into ACR.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on January 21, 2014, 09:39:24 PM
did you try raw zebras?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gnarr on January 22, 2014, 01:16:47 PM
thx work but still have a problem.. i got the dng but no wav! check the error message what i got in the tread!

The program does not have wav extraction capabilities yet. I haven't had any time to maintain the code for months, but I'm going to try to revive this in the next few days and add features and remove bugs.

I saw that there are two branches on bitbucket that haven't had any work done, so if anyone needs any help at all with the code or setting up an environment with this, just contact me.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: nickychris on January 26, 2014, 06:21:05 PM
Hi, I use MLVBrowseSharp on mac osx 10.8.2
All seems to be working fine after the lengthy complicated install - no greenish dngs but the dngs just export to the same folder with no sub-folders which is a pain to work with.
What is the best mac approach to working with MLV files?
MLV 2 DNGs OSX doesnt work, I just couldnt install it.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on January 26, 2014, 06:59:22 PM
http://www.magiclantern.fm/forum/index.php?topic=9731.msg93586#msg93586

Tried this one?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: nickychris on January 27, 2014, 03:07:59 AM
Thanks Danne, I think I did try that one but couldn't get it working.
I'm a little confused which thread has the mlvbrowsesharp app that I use?
Sorry I just remember there were like 3 mac workflows for mlv files and mlvbrowsesharp works.
I think it might be the best because it's DNGs has the exif data like ISO, WB, etc.
I was quite impressed if I could just have the seperate shots in their own sub folder instead of thousands of dng files from the days shoot in a single folder..
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on January 27, 2014, 07:06:17 AM
What happens when you run the scrip command?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: WeekendWarrior on February 02, 2014, 10:25:12 PM
How does one convert the spanned MLV files? I have .MLV and .M00 files... usually I just drag the MLV and drop ontop of the mlv2dng and it does its job.. now that I have .M00, it doesn't do anything... drag and drop isn't working in this case? I tried cmd line but doesn't see any option to specify that it's splitted MLV... help please?
Thanks.

I'm having the exact same problem, how did you end up getting around this?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Danne on February 02, 2014, 10:39:38 PM
did you try the script two-three posts up? Doubleclick the command. g3gg0 fixed everything two work fluently with spanned files.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: WeekendWarrior on February 03, 2014, 02:00:30 AM
did you try the script two-three posts up? Doubleclick the command. g3gg0 fixed everything two work fluently with spanned files.

I fixed it! Wasn't aware that I had to pull the additional file from my SD card as well. Thanks!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Markus on February 04, 2014, 12:56:55 AM
Watch out for too long catalog names if you plan to develop in davinci resolve! Took me awhile to figure out what was wrong!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: ChadMuffin on February 04, 2014, 03:40:07 PM
I know the vertical banding has been fixed with raw2dng, but I seem to still have it with the mlv2dng. I haven't seen any news on it in a while. The workflow and use of sound in mlv has made that format very practical, especially for larger projects. But, the vertical banding can be discouraging. Any news? Am I looking at the wrong threads? Need me to run some tests? Here to help.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: arrinkiiii on February 04, 2014, 04:43:03 PM

I think the right thread is this http://www.magiclantern.fm/forum/index.php?topic=9564.0  if you have examples just post them.

I also have this banding vertical strips thing... i have some dng's to post but not have the "time" yet to extract... but i will. Yes, it's a bit discouraging. Hope everything will be good soon =))
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: ChadMuffin on February 05, 2014, 04:05:31 AM
Here is a test frame which includes the vertical banding. Some info on the shot, it was shot yesterday on the latest nightly build then, taken through the latest mlv2dng on the first post of this thread. I have no idea what is relevant so I will just post everything. No Dual ISO or Auto ETTR, shot manual, WB was set to Tungsten in camera, mlv2dng changed WB. I did not touch ACR at all.

5D3, 50mm, f1.4, ISO1250
MLV Video & Sound (.wav not included)
Resolution: 1920x818
Global Draw: Allow
Preview: Auto
Extra Hacks: On
Buffer fill method: 4
CF-only buffers 3
(if option not stated, it was off or none)

Link (Active for 1 month or so): https://www.dropbox.com/sh/r6vqv5g8m6frt85/Ih5aVJ0Q1G/MLV%20Test%20%28Vertical%20Banding%29
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: a1ex on February 05, 2014, 07:33:22 AM
The problem is not present in raw2dng, so try converting the MLV to legacy RAW first.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on February 05, 2014, 10:29:57 AM
I know the vertical banding has been fixed with raw2dng, but I seem to still have it with the mlv2dng. I haven't seen any news on it in a while. The workflow and use of sound in mlv has made that format very practical, especially for larger projects. But, the vertical banding can be discouraging. Any news? Am I looking at the wrong threads? Need me to run some tests? Here to help.

didnt notice that there were updates.
will check and backport the changes from raw2dng
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: a1ex on February 05, 2014, 12:10:07 PM
This fix was introduced on 2013-05-30 (d93b642) and the last algorithm update was on 2013-07-13 (5e39594). That's before you announced the MLV file format ;)

I plan to update it to handle shadow banding/stripes too; right now it handles only highlight and midtone banding/stripes caused by nonuniform column amplification - PRNU (http://theory.uchicago.edu/~ejm/pix/20d/tests/noise/index.html#prnu).

There was a recent update on cold pixels fix from escho (backported from cr2hdr); you may want to port this one too.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: g3gg0 on February 05, 2014, 12:54:25 PM
This fix was introduced on 2013-05-30 (d93b642)

thix explains that i didnt notice any change.
yeah have seen the merge from escho, just didnt touch it yet :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: ChadMuffin on February 05, 2014, 10:50:29 PM
Thanks g3gg0 and a1ex!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: tonybeccar on February 09, 2014, 03:59:30 PM
@gnarr,

I moved completely to mlv2dng now.. and incorporated it into MLV Converter... MAN IT'S FAST! If you could just add audio extraction as well it would be perfect.. as I am now extracting the audio with mlv_dump and it takes a lot of time! for short clips at least (10 sec), more than your app extracting all the dng frames sometimes!

Thanks so much for the effort and hocus pocus magic you are doing!!! :D
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Panz on February 10, 2014, 03:13:41 AM
wrong thread moderator delete please
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: joaomoutinho on February 21, 2014, 04:41:34 AM
I am experiencing a really huge problem.

I used the MLVRAW on my 50D, and I came home to transcode to DNG and used the MLV converter 1.6  -  The problem now is, the Affter Effects(CS6) CRASHES when it is importing. What is going on? Never happened to me before.  And I have a deadline and I am desperate with this...

Really dont know what I can do to fix this issue!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: ted ramasola on February 21, 2014, 04:48:02 AM
I am experiencing a really huge problem.

I used the MLVRAW on my 50D, and I came home to transcode to DNG and used the MLV converter 1.6  -  The problem now is, the Affter Effects(CS6) CRASHES when it is importing. What is going on? Never happened to me before.  And I have a deadline and I am desperate with this...

Really dont know what I can do to fix this issue!

try another converter. Like this : http://www.magiclantern.fm/forum/index.php?topic=10198.msg98334;topicseen#msg98334
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: ChadMuffin on March 10, 2014, 02:42:37 AM
I was checking out the latest again for converting and was wondering if the vertical banding from raw2dng was implemented yet? I downloaded the latest mlv2dng from the first post of this thread again and it seems it is still there. Is this where it would be posted? I am not a programmer but, still willing to help in any ways I can.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: guentergunter on March 25, 2014, 09:45:53 PM
Hello gnarr,
since a few days now there's a discussion about the future resolutions available for the 5D2 (and maybe other cameras).

It started with a1ex:

The horizontal resolution is restricted to multiples of 8 bytes and 16 pixels according to latest findings. This restriction is valid at least for 5D3 and 6D (didn't do much testing on other cameras), but I'd like to keep the code portable without camera-specific exceptions.

So, before including this change in nightly builds, I'd like to ask you which is better: 1888 with 8 pixels of black border that you will have to crop, or 1856 without any border pixels? Between these 2 values, there are no valid resolutions that respect the alignment restrictions.

This change was discussed here:

http://www.magiclantern.fm/forum/index.php?topic=3904.msg106087#msg106087
https://bitbucket.org/hudson/magic-lantern/pull-request/438/raw-recording-force-line-size-to-be/diff


In my opinion, it would be no problem to simply discard black borders from an image while converting to dng:


...and it's also no coding effort to discard pixels while converting to dng. The user wouldn't even realize it!
This way, no one has to crop anything actively in post! It's simply done in background in the ever necessary converting (to dng) step.

I'm no programmer (just some very basic skills).
Thus it would be really great, if you could just leave a little comment about it as a programmer to help us sort things out for the 5D2 (and other cameras with the same problem):

Specific 5D2 threat (http://www.magiclantern.fm/forum/index.php?topic=5533.new#new)

Thank you very much!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: CF on March 26, 2014, 12:54:05 PM
This app is highly dangerous to use....

I used the option 'Delete Source Files" under 'Convert Option'

I then hit convert.... What the app did:

It deleted my source files and converted NOTHING...

DONT USE IT !!!!
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Walter Schulz on March 26, 2014, 01:10:15 PM
Let's say option "Delete Source Files" should only be used if you use copied files, not your only originals.

German sysops have a saying: Files without backup have to be regarded as deleted.
(Original: Nicht gesicherte Daten sind als geloescht zu betrachten.)

Ciao
Walter

PS: If your lucky (and taken no further write access to your media) you may be able to restore your files.
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: gary2013 on March 26, 2014, 03:21:15 PM
The problem is not present in raw2dng, so try converting the MLV to legacy RAW first.
how do we do that?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Pashi on April 16, 2014, 12:14:53 AM
Hi guys! When trying to extract audio from .mlv with mlv2dng I got a bunch of error messages:

Code: [Select]
Exception! Header not recognized: 'STYL'

Exception! Header not recognized: 'BKUP'

Exception! Header not recognized: 'WAVI'

Exception! Header not recognized: 'BKUP'

Exception! Header not recognized: 'MARK'

Exception! Header not recognized: 'BKUP'

Exception! Header not recognized: 'BKUP'

Exception! Header not recognized: 'BKUP'

Exception! Header not recognized: 'BKUP'

Exception! Header not recognized: 'MARK'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

Exception! Header not recognized: 'AUDF'

...
What's wrong?
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Doyle4 on April 25, 2014, 01:19:04 PM
Mac 10.8.5 and getting this with mlv2dng 2.0 and the GUI version doest convert anything either, any help would be great thanks.

Last login: Fri Apr 25 02:18:20 on console
Doyles-Macbook-Pro:~ doyle$ /Volumes/1TB/Downloads/mlv2dng\ app/MLVConverter.app/Contents/Resources/mlv2dng /Volumes/1TB/Downloads/mlv2dng\ app/M27-2212.MLV
Exception! Header not recognized: 'ELVL'
dyld: lazy symbol binding failed: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Volumes/1TB/Downloads/mlv2dng app/MLVConverter.app/Contents/Resources/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Volumes/1TB/Downloads/mlv2dng app/MLVConverter.app/Contents/Resources/mlv2dng
  Expected in: /usr/lib/libstdc++.6.dylib

Trace/BPT trap: 5
Doyles-Macbook-Pro:~ doyle$
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: a1ex on April 25, 2014, 03:51:01 PM
it seems this project is cancelled.

Indeed, last update was in September 2013 (https://bitbucket.org/gnarr/mlv2dng/commits/all).

Marking the thread as "unmaintained", until somebody will step in and take care of it.
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: Doyle4 on April 27, 2014, 12:34:42 PM
On Mac MLV_dumper only works for me, so if there is any other mac users having trouble this is how i got it to work.

Open terminal, Drag MLV_dumper to the terminal, press SPACEBAR then type --dng followed by SPACEBAR then drag the mlv file and enter :)
Title: Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
Post by: Doyle4 on April 28, 2014, 11:16:09 AM
This is for 10.8.3 Mountain Lion users.. I guess you can install the Lion version the same way...  gcc-mlion.tar.gz - Mountain Lion. gcc-lion.tar.gz - Lion version

Found a solution to get the mac versions to work (the absolutely non geeky/I dont know Unix way)... The problem is the "libstdc++.6.dylib". And WTF is that anyway.. My answer I DOOONT know.. Anyway.. I found the missing libraries to install.. Here is what you need to do:

Go to http://hpc.sourceforge.net (http://hpc.sourceforge.net) and download this file http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download (http://prdownloads.sourceforge.net/hpc/gcc-mlion.tar.gz?download).

Go to Terminal and cd to the download folder
Code: [Select]
cd /Users/UserName/Downloads/ Then gunzip gcc-lion.tar.gz (if your browser didn't do so already) and then
Code: [Select]
sudo tar -xvf gcc-mlion.tar -C /
I used 7zX because I dont know how to gunzip..

Restart your mac and BOOOOM!!! MLVConverter.app works for me...

Hope this helps some..

Worked great for me thanks!! im on 10.8.5, just a TIP for other users who are having problems.. DO NOT drag the mlv into the loader, click "Select MLV Files" or the app wont respond. im going to try and tweak this to allow it to respond to drag n drop.
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: bencarter on May 07, 2014, 06:05:31 AM
Hey there!

How do you use this with a mac???
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: meditant on May 10, 2014, 12:49:44 PM
Yes, what is the new (official) tool for MLV on mac ?

Regards
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: g3gg0 on May 11, 2014, 12:51:35 PM
mlv_dump  for   mlv->dng
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: rainless on May 11, 2014, 10:17:42 PM
Well this sucks... I really liked mlv2dng...
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: g3gg0 on May 11, 2014, 11:48:18 PM
okay for what?
i.e. whats the difference?
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: Toffifee on May 12, 2014, 08:12:58 AM
There are several programs of which you can use, namely MLV Mystic, RAWMagic (comes soon with an MLV update), MLV to DNG batch converter (Windows only). There are probably more, but the ones mentioned seem to be the most promising ones  :)
Title: Re: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0
Post by: meditant on May 12, 2014, 12:26:07 PM
Ok thanks for you return.

It's very cool if RAWMagic add MLV support, i use this tools for RAW video and it is very great and simple !

regards