Author Topic: [UNMAINTAINED] mlv2dng - A converter for the Magic Lantern RAW Video format v2.0  (Read 98048 times)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3044
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #25 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
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

nick.p

  • Freshman
  • **
  • Posts: 94
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #26 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.

Danne

  • Hero Member
  • *****
  • Posts: 3413
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #27 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

slybugg

  • New to the forum
  • *
  • Posts: 6
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #28 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.

jphansen

  • Freshman
  • **
  • Posts: 57
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #29 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

tjunkkila

  • New to the forum
  • *
  • Posts: 16
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #30 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.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3044
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #31 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...
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

gnarr

  • New to the forum
  • *
  • Posts: 44
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #32 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

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?

jphansen

  • Freshman
  • **
  • Posts: 57
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #33 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?

nick.p

  • Freshman
  • **
  • Posts: 94
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #34 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

slybugg

  • New to the forum
  • *
  • Posts: 6
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #35 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.

nick.p

  • Freshman
  • **
  • Posts: 94
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #36 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?

slybugg

  • New to the forum
  • *
  • Posts: 6
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #37 on: August 31, 2013, 08:30:23 AM »
maybe I can try to convert the mlv's on linux.

jphansen

  • Freshman
  • **
  • Posts: 57
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #38 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

g3gg0

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

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3044
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #40 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.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

gnarr

  • New to the forum
  • *
  • Posts: 44
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #41 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.

jphansen

  • Freshman
  • **
  • Posts: 57
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #42 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.

John Kesl

  • Freshman
  • **
  • Posts: 86
  • sudo apt-get install is your friend
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #43 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 ?


John Kesl

  • Freshman
  • **
  • Posts: 86
  • sudo apt-get install is your friend
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #44 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.

gnarr

  • New to the forum
  • *
  • Posts: 44
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #45 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).

8beeeaaat

  • New to the forum
  • *
  • Posts: 16
A GUI MLV Converter for MacOSX
« Reply #46 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!!!

naturalsound

  • New to the forum
  • *
  • Posts: 35
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #47 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...

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #48 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.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

jsoucy

  • New to the forum
  • *
  • Posts: 8
Re: A GUI MLV Converter for MacOSX
« Reply #49 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