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

WeekendWarrior

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

Markus

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

ChadMuffin

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

arrinkiiii

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

ChadMuffin

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

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12421
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #130 on: February 05, 2014, 07:33:22 AM »
The problem is not present in raw2dng, so try converting the MLV to legacy RAW first.

g3gg0

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

a1ex

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

There was a recent update on cold pixels fix from escho (backported from cr2hdr); you may want to port this one too.

g3gg0

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

ChadMuffin

  • Member
  • ***
  • Posts: 127
  • RAWsome - 5D3
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #134 on: February 05, 2014, 10:50:29 PM »
Thanks g3gg0 and a1ex!

tonybeccar

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

Panz

  • New to the forum
  • *
  • Posts: 11
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #136 on: February 10, 2014, 03:13:41 AM »
wrong thread moderator delete please

joaomoutinho

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

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #138 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
5DmkII  / 7D
www.ramasolaproductions.com
Texas

ChadMuffin

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

guentergunter

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

Thank you very much!
5D2 ML RAW + VAF-5D2b:

CF

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

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7338
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #142 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.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

gary2013

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

Pashi

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

Doyle4

  • Hero Member
  • *****
  • Posts: 690
  • Canon 5DRAWii & 600Dual-Iso
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #145 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$

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12421
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #146 on: April 25, 2014, 03:51:01 PM »
it seems this project is cancelled.

Indeed, last update was in September 2013.

Marking the thread as "unmaintained", until somebody will step in and take care of it.

Doyle4

  • Hero Member
  • *****
  • Posts: 690
  • Canon 5DRAWii & 600Dual-Iso
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 :)

Doyle4

  • Hero Member
  • *****
  • Posts: 690
  • Canon 5DRAWii & 600Dual-Iso
Re: mlv2dng - A converter for the Magic Lantern (RAW) Video format v2.0
« Reply #148 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 and download this file 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.

bencarter

  • New to the forum
  • *
  • Posts: 2
Hey there!

How do you use this with a mac???