Author Topic: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)  (Read 1475424 times)

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1150 on: January 07, 2014, 02:57:07 AM »
I found this:

this
 uint32_t dmaFlags = 0x40001000;
to
   uint32_t dmaFlags = 0x20001000;

improved write speed on 7D+6D... couldn't find what the flags stand for in the wiki , the previous also caused edmac timeouts at certain 2.35:1 resolutions.


ilguercio

  • Hero Member
  • *****
  • Posts: 845
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1151 on: January 07, 2014, 03:14:54 AM »
Is the latest TL build working with sound?
Improved in that aspect ratio you mean?
Canon EOS 6D, 60D, 50D.
Sigma 70-200 EX OS HSM, Sigma 70-200 Apo EX HSM, Samyang 14 2.8, Samyang 35 1.4, Samyang 85 1.4.
Proud supporter of Magic Lantern.

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1152 on: January 07, 2014, 03:25:26 AM »
Yep the sound is working..

0x40001000 was what g3gg0 changed it to, I changed it back because of above problems, wondering
what the flags are about. maybe there is a better setting because there was a definite effect on speed

ilguercio

  • Hero Member
  • *****
  • Posts: 845
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1153 on: January 07, 2014, 08:39:16 AM »
Yep the sound is working..

0x40001000 was what g3gg0 changed it to, I changed it back because of above problems, wondering
what the flags are about. maybe there is a better setting because there was a definite effect on speed
How much?
Canon EOS 6D, 60D, 50D.
Sigma 70-200 EX OS HSM, Sigma 70-200 Apo EX HSM, Samyang 14 2.8, Samyang 35 1.4, Samyang 85 1.4.
Proud supporter of Magic Lantern.

Fukurou

  • New to the forum
  • *
  • Posts: 6
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1154 on: January 07, 2014, 08:47:22 AM »
Sorry about the stupid question but I looked a bit and find nothing related, so here it is : how do yout extract sound when you film in the .mlv format ?
Just tried for the first time and I get a .mlv and a .idx. I can extract the vid with mlv2dng but no sound.
Canon 5D3
Canon 50mm 1.8, Samyang 24mm 1.4, Samyang 14mm 2.8
PC - Windows 7

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7741
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1155 on: January 07, 2014, 09:25:48 AM »

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1156 on: January 07, 2014, 12:46:16 PM »
Sorry about the stupid question but I looked a bit and find nothing related, so here it is : how do yout extract sound when you film in the .mlv format ?
Just tried for the first time and I get a .mlv and a .idx. I can extract the vid with mlv2dng but no sound.

You did turn sound on too right?  It's not enough to just enable the module; you have to go to the first page and enable it too.  After I did this when I did the extraction to a raw file the .wav file appeared as well magically - meaning there's no special "switch" to extract audio.

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1157 on: January 07, 2014, 12:48:22 PM »
if I would dare guess that the mkIII is the same in MLV menu as the mkII then you go to MLV menu  and turn DISABLE G.DRAW to ON.

I know, its mislabeled and I was wracking my brains as I thought turning it on would do as it say, but it actually does the opposite and DOES NOT turn Gdraw off when it is ON.

Hope a developer can change this.  :) I already reported this in an earlier post #1093.

Thanks Ted - I'm sure that will be it.


On another note, I'm going to do some long recordings today with audio as well as have my Zoom H1n recording simultaneously mounted on the shoe.  Then I'm going to pull it into Vegas and run Pluraleyes - if I get a sync I'll be super happy - that's all I've wanted was a reference audio with my raw....

Will report back in.
Shawn

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1158 on: January 07, 2014, 02:28:31 PM »
Looks good - took an empty card and let it run until the end.  No problems and the audio synched up perfectly.  Now to just fine tune my settings.

Thanks guys for the wonderful update!  Shawn

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1159 on: January 07, 2014, 08:23:17 PM »
Quick question for the meta-data - I ran mlv-dump (-m -o) and successfully exported it to another MLV file that is meta-data only (no video) and I was able to read the information in MLV Browser.  However, if I try to read that metadata in notepad it's garbled.

How can I dump the following information into a text file?  Would be very handy for quick reference.


g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1160 on: January 07, 2014, 08:33:05 PM »
How can I dump the following information into a text file?  Would be very handy for quick reference.

mlv_dump -v
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!

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1161 on: January 07, 2014, 08:56:44 PM »
mlv_dump -v

Still not getting a file that is readable in notepad.  I'm going to setup a batch for exiftool to just grab the info from the dng's extracted from the MLV browser.  What would really be slick is an option in MLV browser to "Export selected files as .dng +.wav +.txt"...I realize you're busy, but wow, things are really close.  The audio sync is perfect now.

Steve Kahn

  • New to the forum
  • *
  • Posts: 23
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1162 on: January 07, 2014, 09:19:21 PM »
Finding that if I use ATTR (half-shutter press) it disables the mlv_snd for some reason

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1163 on: January 07, 2014, 09:24:27 PM »
Still not getting a file that is readable in notepad.

uhm the output of mlv_dump is readable, right? ;)
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!

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1164 on: January 07, 2014, 09:25:06 PM »
Finding that if I use ATTR (half-shutter press) it disables the mlv_snd for some reason
it disables the module?
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: 12564
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1165 on: January 07, 2014, 09:28:43 PM »
It's most likely a conflict with the beeps (turn them off).

Steve Kahn

  • New to the forum
  • *
  • Posts: 23
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1166 on: January 07, 2014, 09:52:16 PM »
It's most likely a conflict with the beeps (turn them off).

That was it!  With beeps on after you ATTR audio doesn't register or record. 

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1167 on: January 07, 2014, 09:59:22 PM »
what do you mean with ATTR? ETTR?
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!

Steve Kahn

  • New to the forum
  • *
  • Posts: 23
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1168 on: January 07, 2014, 10:25:48 PM »
sorry not to be clear.

yes.  the ettr module (or Auto ETTR)  when I initiate it with a half shutter press (HalfS DBC) and if the BEEP is on it disables sound meters in mlv_snd and no sound is recorded.

bnvm

  • Member
  • ***
  • Posts: 159
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1169 on: January 07, 2014, 11:14:36 PM »
Still not getting a file that is readable in notepad.  I'm going to setup a batch for exiftool to just grab the info from the dng's extracted from the MLV browser.  What would really be slick is an option in MLV browser to "Export selected files as .dng +.wav +.txt"...I realize you're busy, but wow, things are really close.  The audio sync is perfect now.

try mlv_dump -v file.mlv > file.txt

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1170 on: January 08, 2014, 12:41:43 AM »
uhm the output of mlv_dump is readable, right? ;)

It's mostly gibberish with a few words that are relevant, and not formatted in any easy to use way. 

Shield

  • Senior
  • ****
  • Posts: 254
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1171 on: January 08, 2014, 12:48:15 AM »
try mlv_dump -v file.mlv > file.txt

That works, but far too verbose.  Just looking for exposure, lens, camera info.  Don't need hundreds of lines that have this stuff:
Block: RTCI
  Offset: 0x000002a4
    Size: 44
    Time: 41.330000 ms
     Date:        07.01.2014
     Time:        11:21:22 (GMT+0)
     Zone:        ''
     Day of week: 2
     Day of year: 6
     Daylight s.: 0

Here's what I get by right clicking on my .dng file with my exiftool registry hack:

File Name                       : M07-1017.MLV.frame_000000.dng
Camera Model Name               : Canon EOS 5D Mark III
Lens Model                      : EF24-70mm f/2.8L II USM
F Number                        : 2.8
Shutter Speed                   : 1/40
ISO                             : 2000
Focal Length                    : 50.0 mm
Light Value                     : 4.0
Exposure Compensation           : 0
Frame Rate                      : 23.976
Date/Time Original              : 2014:01:07 10:17:38
Orientation                     : Horizontal (normal)
Image Size                      : 1920x1080

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1172 on: January 08, 2014, 12:51:23 AM »
Quote
How much?

A bunch... like 3-5 MB/s and won't let you record certain sizes. Wonder if it had an effect on pink frames because I saw way less.

Quote
It's most likely a conflict with the beeps (turn them off).

Even with full audio controls beep turns off the input... sucks I don't think the IC can record and play at the same time. I blocked beeps while recording.

So with today's commits (pre-buffering):

1728x1152 is continuous with audio if using fill method 3. 4 won't do it for some reason.


Fukurou

  • New to the forum
  • *
  • Posts: 6
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1173 on: January 08, 2014, 02:35:35 AM »
Thanks Danne and Shield. Both of you were right and it works now.  :)
Canon 5D3
Canon 50mm 1.8, Samyang 24mm 1.4, Samyang 14mm 2.8
PC - Windows 7

ilguercio

  • Hero Member
  • *****
  • Posts: 845
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1174 on: January 08, 2014, 02:40:32 AM »
A bunch... like 3-5 MB/s and won't let you record certain sizes. Wonder if it had an effect on pink frames because I saw way less.

Even with full audio controls beep turns off the input... sucks I don't think the IC can record and play at the same time. I blocked beeps while recording.

So with today's commits (pre-buffering):

1728x1152 is continuous with audio if using fill method 3. 4 won't do it for some reason.
This is for 7D right?
Canon EOS 6D, 60D, 50D.
Sigma 70-200 EX OS HSM, Sigma 70-200 Apo EX HSM, Samyang 14 2.8, Samyang 35 1.4, Samyang 85 1.4.
Proud supporter of Magic Lantern.