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

mauerfuchs

  • New to the forum
  • *
  • Posts: 21
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #25 on: July 23, 2013, 01:05:47 AM »
Why would this make any sense?
We are saving raw. Do in post whatever you like to do.

Why does Red do?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #26 on: July 23, 2013, 02:13:56 AM »
like said: as we are saving raw, it doesnt make sense.
do this in post processing please.
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!

xNiNELiVES

  • Senior
  • ****
  • Posts: 461
  • 5D II, 17-35mm F2.8L, 50mm F1.4, 70-200 F4L
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #27 on: July 23, 2013, 02:23:12 AM »
So the ETA for this is 1-2 months?

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3444
  • Blunt and to the point
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #28 on: July 23, 2013, 03:10:36 AM »
if you are an end user, wait until we looked over it. then we are going to implement some example code
to write and read this file format. and 1-2 months later it *may* be in the ML sources.

xNiNELiVES

  • Senior
  • ****
  • Posts: 461
  • 5D II, 17-35mm F2.8L, 50mm F1.4, 70-200 F4L
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #29 on: July 23, 2013, 04:47:12 AM »
Thats what I trying to confirm on.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3444
  • Blunt and to the point
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #30 on: July 23, 2013, 05:05:57 AM »
Yeah that dodgy g3gg0 is always making OP's with incorrect facts  :o

xNiNELiVES

  • Senior
  • ****
  • Posts: 461
  • 5D II, 17-35mm F2.8L, 50mm F1.4, 70-200 F4L
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #31 on: July 23, 2013, 06:48:10 AM »
It just seemed worded funny I don't know. I wanted to make sure. I was wondering if there is an update to this eta, that's all.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: [DRAFT] Magic Lantern (RAW) Video format v2.0
« Reply #32 on: July 23, 2013, 09:40:30 AM »
there is no hard schedule for this. it will be implemented when there is some spare time ;)
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: 3052
Re: Magic Lantern (RAW) Video format v2.0
« Reply #33 on: July 28, 2013, 04:58:21 PM »
Update: (see first post)

The first implementation is done and we can record in the new format.
post processing is still done with 'raw2dng' after converting the .mlv into the legacy .raw format using mlv_dump.
(you have to compile it yourself on your computer)

see the short video i made: http://www.youtube.com/watch?v=A6pug1g-kNs
it shows a bunch of the new (user visible) features of that file format.

if you want to test recording, grab my sources from https://bitbucket.org/g3gg0/magic-lantern or use the pre-built ones. (5D3)
use it on your own risk.


if you can show the mlv_dump logs of your cameras, it would help me a bit.
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!

ilguercio

  • Hero Member
  • *****
  • Posts: 843
Re: Magic Lantern (RAW) Video format v2.0
« Reply #34 on: July 28, 2013, 05:06:20 PM »
Can i just drop the contents of raw_rec.zip in the "modules" folder?
This way i can't initialize any module.
I am on the 6D.
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.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: Magic Lantern (RAW) Video format v2.0
« Reply #35 on: July 28, 2013, 05:20:49 PM »
Can i just drop the contents of raw_rec.zip in the "modules" folder?
This way i can't initialize any module.
I am on the 6D.

whats the error message? about _prop_get_value?
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!

ilguercio

  • Hero Member
  • *****
  • Posts: 843
Re: Magic Lantern (RAW) Video format v2.0
« Reply #36 on: July 28, 2013, 05:22:10 PM »
Yes, it's that one.
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.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: Magic Lantern (RAW) Video format v2.0
« Reply #37 on: July 28, 2013, 06:12:53 PM »
can you retry downloading and testing?
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!

ilguercio

  • Hero Member
  • *****
  • Posts: 843
Re: Magic Lantern (RAW) Video format v2.0
« Reply #38 on: July 28, 2013, 06:15:46 PM »
Wait, if it's for 5DIII only it can't work, 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.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: Magic Lantern (RAW) Video format v2.0
« Reply #39 on: July 28, 2013, 06:18:21 PM »
could work now on others too. just try.
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!

ilguercio

  • Hero Member
  • *****
  • Posts: 843
Re: Magic Lantern (RAW) Video format v2.0
« Reply #40 on: July 28, 2013, 06:26:52 PM »
It works, what is that you need? :)
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.

Andy600

  • Hero Member
  • *****
  • Posts: 1814
  • Have you tried turning it off and on again?
Re: Magic Lantern (RAW) Video format v2.0
« Reply #41 on: July 28, 2013, 06:37:21 PM »
Adding the pre-built modules does not work on the 50D (error linking modules). I think the problem is with the IME modules. I get compiler errors with ime_base.
Colorist working with Davinci Resolve, Baselight, Nuke, After Effects & Premier Pro. Occasional Sunday afternoon DOP. Developer of Cinelog-C Colorspace Management and LUTs - www.cinelogdcp.com

escho

  • Senior
  • ****
  • Posts: 473
Re: Magic Lantern (RAW) Video format v2.0
« Reply #42 on: July 28, 2013, 06:42:00 PM »
600d with zip-file
Works. I get mlv-records. And now I´m searching for mlv_dump :)

Edgar

escho

  • Senior
  • ****
  • Posts: 473
Re: Magic Lantern (RAW) Video format v2.0
« Reply #43 on: July 28, 2013, 07:03:51 PM »
cannot compile mlv_dump

Code: [Select]
[email protected]:~/magic-lantern/modules/raw_rec> make mlv_dump
[ GCC      ]   mlv_dump
In file included from mlv_dump.c:26:0:
../lv_rec/lv_rec.h:24:17: fatal error: raw.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make: *** [mlv_dump] Fehler 1

Edgar

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: Magic Lantern (RAW) Video format v2.0
« Reply #44 on: July 28, 2013, 07:37:50 PM »
true, didnt fix the makefile (cant do it right now)

just run:
'gcc mlv_dump.c -o mlv_dump -I../../src'
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!

escho

  • Senior
  • ****
  • Posts: 473
Re: Magic Lantern (RAW) Video format v2.0
« Reply #45 on: July 28, 2013, 08:12:49 PM »
compiles, ThankYou
but
Code: [Select]
[email protected]:~/test> ~/raw2dng *.RAW
Error: This ain't a lv_rec RAW file

Edgar


Habitat

  • New to the forum
  • *
  • Posts: 36
Re: Magic Lantern (RAW) Video format v2.0
« Reply #46 on: July 28, 2013, 08:27:38 PM »
Nice vid g3gg0 - just wondering does this version (current 2.0) have audio yet?

Stedda

  • Hero Member
  • *****
  • Posts: 504
Re: Magic Lantern (RAW) Video format v2.0
« Reply #47 on: July 28, 2013, 08:37:50 PM »
No stupid questions, no badgering, just THANKS for all you do!
5D Mark III -- 7D   SOLD -- EOS M 22mm 18-55mm STM -- Fuji X-T1 18-55 F2.8-F4 & 35 F1.4
Canon Glass   100L F2.8 IS -- 70-200L F4 -- 135L F2 -- 85 F1.8 -- 17-40L --  40 F2.8 -- 35 F2 IS  Sigma Glass  120-300 F2.8 OS -- 50 F1.4 -- 85 F1.4  Tamron Glass   24-70 2.8 VC   600EX-RT X3

escho

  • Senior
  • ****
  • Posts: 473
Re: Magic Lantern (RAW) Video format v2.0
« Reply #48 on: July 28, 2013, 08:45:48 PM »
Just for info and giving feedback, see the top of the mlv-header
Code: [Select]
File Header (MLVI)
    Size        : 0x00000038
    Ver         : v2.0
    GUID        : 819A0505F3E5613E
    FPS         : 25.000000
    Frames Video: 312
    Frames Audio: 0
Block: RAWI
    Size: 0x000000B8
    Time: 20.695000 ms
    Res:  864x486
    raw_info:
      api_version      0x04332200
      height           3905328
      width            14
      pitch            2048
      frame_size       0x00003A98
      bits_per_pixel   0
      black_level      0
      white_level      1734
      active_area.y1   1886
      active_area.x1   0
      active_area.y2   0
      active_area.x2   33620224
      exposure_bias    1, 6461
      cfa_pattern      0x00002710
      calibration_ill  -907
Block: INFO
    Size: 0x00000010
    Time: 32.126000 ms
Block: RTCI
    Size: 0x00000030
    Time: 37.598000 ms
     Date:        28.06.2013
     Time:        18:20:04 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 0
     Daylight s.: 0
Block: EXPO
    Size: 0x00000028
    Time: 38.185000 ms
     ISO Mode:   0
     ISO:        800
     ISO Analog: 96
     ISO DGain:  0 EV
     Shutter:    39980 µs (1/25.01)
Block: LENS
    Size: 0x00000060
    Time: 38.226000 ms
     Name:        '70-300mm'
     Serial:      ''
     Focal Len:   70 mm
     Focus Dist:  545 mm
     Aperture:    f/5.60
     IS Mode:     14
     AF Mode:     0
     Lens ID:     0x00000001
     Flags:       0x00000000
Block: IDNT
    Size: 0x00000058
    Time: 38.441000 ms
     Camera Name:   'Canon EOS 600D'
     Camera Serial: '55C28963C'
     Camera Model:  0x80000286
Block: VIDF
    Size: 0x000B374C
    Time: 131.710000 ms
     Pad: 0x000000BC
   Frame: #0
    Crop: 584x368
     Pan: 584x361
   Space: 188
Block: VIDF
    Size: 0x000B374C
    Time: 171.778000 ms
     Pad: 0x000000BC
   Frame: #1
    Crop: 584x368
     Pan: 584x361
   Space: 188

Edgar

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3052
Re: Magic Lantern (RAW) Video format v2.0
« Reply #49 on: July 28, 2013, 10:33:57 PM »
@Habitat:
as the video description already said: no audio

@Stedda:
you are welcome

@escho:
perfect! thanks!
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!