Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)

Started by g3gg0, July 15, 2013, 10:58:23 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

g3gg0

i am currently focusing on making MLV usable.
but i dont think that 5D2 is a big problem. it just has to be tried and bugfixed :)
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!

dmk

Quote from: g3gg0 on September 01, 2013, 08:53:25 PM
sure, just tell me how i can configure the EDMAC to compress data with LZMA..

<joke>Tried calling Canon Customer Support but no luck</joke>

John Kesl

Hi,
I compiled all the latest stuff for the 7D from g3gg0/magic-lantern. I'm not able to get any results from mlv_dump other than a read out of the file structure of the .mlv.
I wonder what it is I'm doing wrong? maybe my usage is incorrect?
studio@studio-linux:~/Desktop/MLV_Dump0$ ./mlv_dump /home/studio/Desktop/MLV_Dump0/M02-2157.MLV


MLV Dumper v1.0
-----------------

[i] Mode of operation:
   - Input MLV file: '/home/studio/Desktop/MLV_Dump0/M02-2157.MLV'
   - Verify file structure
[i] File /home/studio/Desktop/MLV_Dump0/M02-2157.MLV opened
[i] Processing...
[i] Reached end of chunk 0/1 after 1379 blocks
[i] Processed 603 video frames
[i] Done



So, I searched and found.

Quote from: RenatoPhoto on August 11, 2013, 04:17:56 PM
In linux type

./mlv_dump -h and get the usage RULES

I'll keep my post so people can see and learn from my own mistakes

When I try mlv2dng.exe I have no problems getting the .dng output.

BTW. I am having no issues recording continuous frames at 16x9 @ 1782. on a 1066x toshiba 16gb.
no pink frames. no small hacks enabled. works great. I compiled these modules for the 7D. file_man, ime_std, ime_rot, xml_cfg, raw_rec, pic_view. Raw_rec works well. Am checking the buffering strategies for speed gains. right now with my card I get upwards of 67 MB/s write speed whilst recording. the card benchmarks avg. 90MB/s.

John Kesl

I just ran mlv_dump successfully for linux. works great. I did a verbose dump for 7D. i put the code below.

studio@studio-linux:~/Desktop/MLV_Dump0$ ./mlv_dump -o M01-001.RAW -v -r -l0 /home/studio/Desktop/MLV_Dump0/M02-2157.MLV

MLV Dumper v1.0
-----------------

[i] Mode of operation:
   - Input MLV file: '/home/studio/Desktop/MLV_Dump0/M02-2157.MLV'
   - Verbose messages
   - Convert to legacy RAW
   - Output into 'M01-001.RAW'
[i] File /home/studio/Desktop/MLV_Dump0/M02-2157.MLV opened
[i] Processing...
File Header (MLVI)
    Size        : 0x00000034
    Ver         : v2.0
    GUID        : 11103347201719758039
    FPS         : 23.976000
    File        : 0 / 0
    Frames Video: 603
    Frames Audio: 0
Block: RAWI
  Offset: 0x00000034
    Size: 180
    Time: 3.927000 ms
    Res:  1728x972
    raw_info:
      api_version      0x00000001
      height           1182
      width            1992
      pitch            3486
      frame_size       0x003EDF84
      bits_per_pixel   14
      black_level      2053
      white_level      15000
      active_area.y1   26
      active_area.x1   256
      active_area.y2   1182
      active_area.x2   1992
      exposure_bias    0, 0
      cfa_pattern      0x02010100
      calibration_ill  1
Block: INFO
  Offset: 0x000000e8
    Size: 16
    Time: 4.145000 ms
Block: RTCI
  Offset: 0x000000f8
    Size: 44
    Time: 4.332000 ms
     Date:        02.08.2013
     Time:        21:57:35 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 244
     Daylight s.: 0
Block: EXPO
  Offset: 0x00000124
    Size: 40
    Time: 5.672000 ms
     ISO Mode:   0
     ISO:        400
     ISO Analog: 88
     ISO DGain:  0 EV
     Shutter:    20749 µs (1/48.20)
Block: LENS
  Offset: 0x0000014c
    Size: 96
    Time: 5.744000 ms
     Name:        ''
     Serial:      ''
     Focal Len:   50 mm
     Focus Dist:  0 mm
     Aperture:    f/5.60
     IS Mode:     0
     AF Mode:     0
     Lens ID:     0x00000000
     Flags:       0x00000000
Block: IDNT
  Offset: 0x000001ac
    Size: 84
    Time: 6.047000 ms
     Camera Name:   'Failed to get properties.'
     Camera Serial: ''
     Camera Model:  0x00000000
Block: WBAL
  Offset: 0x00000200
    Size: 44
    Time: 6.413000 ms
     Mode:   9
     Kelvin:   3600
     Gain R:   495
     Gain G:   1024
     Gain B:   1024
     Shift GM:   0
     Shift BA:   0
Block: VIDF
  Offset: 0x0000022c
    Size: 2943424
    Time: 74.161000 ms
   Frame: #0
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x002cebec
    Size: 1600
Block: NULL
  Offset: 0x002cf22c
    Size: 36
Block: RTCI
  Offset: 0x002cf250
    Size: 44
    Time: 107.820000 ms
     Date:        02.08.2013
     Time:        21:57:35 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 244
     Daylight s.: 0
Block: EXPO
  Offset: 0x002cf27c
    Size: 40
    Time: 109.232000 ms
     ISO Mode:   0
     ISO:        400
     ISO Analog: 88
     ISO DGain:  0 EV
     Shutter:    20749 µs (1/48.20)
Block: LENS
  Offset: 0x002cf2a4
    Size: 96
    Time: 109.297000 ms
     Name:        ''
     Serial:      ''
     Focal Len:   50 mm
     Focus Dist:  0 mm
     Aperture:    f/5.60
     IS Mode:     0
     AF Mode:     0
     Lens ID:     0x00000000
     Flags:       0x00000000
Block: WBAL
  Offset: 0x002cf304
    Size: 44
    Time: 109.504000 ms
     Mode:   9
     Kelvin:   3600
     Gain R:   495
     Gain G:   1024
     Gain B:   1024
     Shift GM:   0
     Shift BA:   0
Block: VIDF
  Offset: 0x002cf330
    Size: 2943164
    Time: 116.090000 ms
   Frame: #1
    Crop: 256x120
     Pan: 256x118
   Space: 3804
Block: NULL
  Offset: 0x0059dbec
    Size: 1600
Block: VIDF
  Offset: 0x0059e22c
    Size: 2943424
    Time: 157.921000 ms
   Frame: #2
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x0086cbec
    Size: 1600
Block: VIDF
  Offset: 0x0086d22c
    Size: 2943424
    Time: 200.693000 ms
   Frame: #3
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x00b3bbec
    Size: 1600
Block: VIDF
  Offset: 0x00b3c22c
    Size: 2943424
    Time: 241.556000 ms
   Frame: #4
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x00e0abec
    Size: 1600
Block: VIDF
  Offset: 0x00e0b22c
    Size: 2943424
    Time: 282.823000 ms
   Frame: #5
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x010d9bec
    Size: 1600
Block: VIDF
  Offset: 0x010da22c
    Size: 2943424
    Time: 324.598000 ms
   Frame: #6
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x013a8bec
    Size: 1600
Block: VIDF
  Offset: 0x013a922c
    Size: 2943424
    Time: 366.565000 ms
   Frame: #7
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x01677bec
    Size: 1600
Block: VIDF
  Offset: 0x0167822c
    Size: 2943424
    Time: 575.073000 ms
   Frame: #12
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x01946bec
    Size: 1600
Block: VIDF
  Offset: 0x0194722c
    Size: 2943424
    Time: 616.474000 ms
   Frame: #13
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x01c15bec
    Size: 1600
Block: VIDF
  Offset: 0x01c1622c
    Size: 2943424
    Time: 658.341000 ms
   Frame: #14
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x01ee4bec
    Size: 1600
Block: VIDF
  Offset: 0x01ee522c
    Size: 2943424
    Time: 700.022000 ms
   Frame: #15
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x021b3bec
    Size: 1600
Block: VIDF
  Offset: 0x021b422c
    Size: 2943424
    Time: 742.674000 ms
   Frame: #16
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x02482bec
    Size: 1600
Block: VIDF
  Offset: 0x0248322c
    Size: 2943424
    Time: 783.859000 ms
   Frame: #17
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x02751bec
    Size: 1600
Block: VIDF
  Offset: 0x0275222c
    Size: 2943424
    Time: 825.092000 ms
   Frame: #18
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x02a20bec
    Size: 1600
Block: VIDF
  Offset: 0x02a2122c
    Size: 2943424
    Time: 867.115000 ms
   Frame: #19
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x02cefbec
    Size: 1600
Block: NULL
  Offset: 0x02cf022c
    Size: 36
Block: RTCI
  Offset: 0x02cf0250
    Size: 44
    Time: 902.736000 ms
     Date:        02.08.2013
     Time:        21:57:36 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 244
     Daylight s.: 0
Block: EXPO
  Offset: 0x02cf027c
    Size: 40
    Time: 904.250000 ms
     ISO Mode:   0
     ISO:        400
     ISO Analog: 88
     ISO DGain:  0 EV
     Shutter:    20749 µs (1/48.20)
Block: LENS
  Offset: 0x02cf02a4
    Size: 96
    Time: 904.330000 ms
     Name:        ''
     Serial:      ''
     Focal Len:   50 mm
     Focus Dist:  0 mm
     Aperture:    f/5.60
     IS Mode:     0
     AF Mode:     0
     Lens ID:     0x00000000
     Flags:       0x00000000
Block: WBAL
  Offset: 0x02cf0304
    Size: 44
    Time: 904.589000 ms
     Mode:   9
     Kelvin:   3600
     Gain R:   495
     Gain G:   1024
     Gain B:   1024
     Shift GM:   0
     Shift BA:   0
Block: VIDF
  Offset: 0x02cf0330
    Size: 2943164
    Time: 908.885000 ms
   Frame: #20
    Crop: 256x120
     Pan: 256x118
   Space: 3804
Block: NULL
  Offset: 0x02fbebec
    Size: 1600
Block: VIDF
  Offset: 0x02fbf22c
    Size: 2943424
    Time: 950.834000 ms
   Frame: #21
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x0328dbec
    Size: 1600
Block: VIDF
  Offset: 0x0328e22c
    Size: 2943424
    Time: 992.293000 ms
   Frame: #22
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x0355cbec
    Size: 1600
Block: VIDF
  Offset: 0x0355d22c
    Size: 2943424
    Time: 408.019000 ms
   Frame: #8
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x0382bbec
    Size: 1600
Block: VIDF
  Offset: 0x0382c22c
    Size: 2943424
    Time: 1117.426000 ms
   Frame: #25
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x03afabec
    Size: 1600
Block: VIDF
  Offset: 0x03afb22c
    Size: 2943424
    Time: 1158.761000 ms
   Frame: #26
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x03dc9bec
    Size: 1600
Block: VIDF
  Offset: 0x03dca22c
    Size: 2943424
    Time: 1200.825000 ms
   Frame: #27
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x04098bec
    Size: 1600
Block: VIDF
  Offset: 0x0409922c
    Size: 2943424
    Time: 1243.190000 ms
   Frame: #28
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x04367bec
    Size: 1600
Block: VIDF
  Offset: 0x0436822c
    Size: 2943424
    Time: 1284.208000 ms
   Frame: #29
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x04636bec
    Size: 1600
Block: VIDF
  Offset: 0x0463722c
    Size: 2943424
    Time: 1326.281000 ms
   Frame: #30
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x04905bec
    Size: 1600
Block: VIDF
  Offset: 0x0490622c
    Size: 2943424
    Time: 1367.636000 ms
   Frame: #31
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x04bd4bec
    Size: 1600
Block: VIDF
  Offset: 0x04bd522c
    Size: 2943424
    Time: 449.614000 ms
   Frame: #9
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x04ea3bec
    Size: 1600
Block: VIDF
  Offset: 0x04ea422c
    Size: 2943424
    Time: 491.980000 ms
   Frame: #10
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x05172bec
    Size: 1600
Block: VIDF
  Offset: 0x0517322c
    Size: 2943424
    Time: 533.598000 ms
   Frame: #11
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x05441bec
    Size: 1600
Block: VIDF
  Offset: 0x0544222c
    Size: 2943424
    Time: 1409.272000 ms
   Frame: #32
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x05710bec
    Size: 1600
Block: VIDF
  Offset: 0x0571122c
    Size: 2943424
    Time: 1450.895000 ms
   Frame: #33
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x059dfbec
    Size: 1600
Block: VIDF
  Offset: 0x059e022c
    Size: 2943424
    Time: 1493.368000 ms
   Frame: #34
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x05caebec
    Size: 1600
Block: VIDF
  Offset: 0x05caf22c
    Size: 2943424
    Time: 1617.806000 ms
   Frame: #37
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x05f7dbec
    Size: 1600
Block: NULL
  Offset: 0x05f7e22c
    Size: 36
Block: RTCI
  Offset: 0x05f7e250
    Size: 44
    Time: 1652.599000 ms
     Date:        02.08.2013
     Time:        21:57:36 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 244
     Daylight s.: 0
Block: EXPO
  Offset: 0x05f7e27c
    Size: 40
    Time: 1654.119000 ms
     ISO Mode:   0
     ISO:        400
     ISO Analog: 88
     ISO DGain:  0 EV
     Shutter:    20749 µs (1/48.20)
Block: LENS
  Offset: 0x05f7e2a4
    Size: 96
    Time: 1654.199000 ms
     Name:        ''
     Serial:      ''
     Focal Len:   50 mm
     Focus Dist:  0 mm
     Aperture:    f/5.60
     IS Mode:     0
     AF Mode:     0
     Lens ID:     0x00000000
     Flags:       0x00000000
Block: WBAL
  Offset: 0x05f7e304
    Size: 44
    Time: 1654.463000 ms
     Mode:   9
     Kelvin:   3600
     Gain R:   495
     Gain G:   1024
     Gain B:   1024
     Shift GM:   0
     Shift BA:   0
Block: VIDF
  Offset: 0x05f7e330
    Size: 2943164
    Time: 1659.786000 ms
   Frame: #38
    Crop: 256x120
     Pan: 256x118
   Space: 3804
Block: NULL
  Offset: 0x0624cbec
    Size: 1600
Block: VIDF
  Offset: 0x0624d22c
    Size: 2943424
    Time: 1701.822000 ms
   Frame: #39
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x0651bbec
    Size: 1600
~~
~~
~~
Block: NULL
  Offset: 0x66299bec
    Size: 1600
Block: VIDF
  Offset: 0x6629a22c
    Size: 2943424
    Time: 24432.173000 ms
   Frame: #584
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x66568bec
    Size: 1600
Block: VIDF
  Offset: 0x6656922c
    Size: 2943424
    Time: 24474.052000 ms
   Frame: #585
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x66837bec
    Size: 1600
Block: NULL
  Offset: 0x6683822c
    Size: 36
Block: RTCI
  Offset: 0x66838250
    Size: 44
    Time: 24502.724000 ms
     Date:        02.08.2013
     Time:        21:57:59 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 244
     Daylight s.: 0
Block: EXPO
  Offset: 0x6683827c
    Size: 40
    Time: 24504.143000 ms
     ISO Mode:   0
     ISO:        400
     ISO Analog: 88
     ISO DGain:  0 EV
     Shutter:    20749 µs (1/48.20)
Block: LENS
  Offset: 0x668382a4
    Size: 96
    Time: 24504.226000 ms
     Name:        ''
     Serial:      ''
     Focal Len:   50 mm
     Focus Dist:  0 mm
     Aperture:    f/5.60
     IS Mode:     0
     AF Mode:     0
     Lens ID:     0x00000000
     Flags:       0x00000000
Block: WBAL
  Offset: 0x66838304
    Size: 44
    Time: 24504.488000 ms
     Mode:   9
     Kelvin:   3600
     Gain R:   495
     Gain G:   1024
     Gain B:   1024
     Shift GM:   0
     Shift BA:   0
Block: VIDF
  Offset: 0x66838330
    Size: 2943164
    Time: 24515.765000 ms
   Frame: #586
    Crop: 256x120
     Pan: 256x118
   Space: 3804
Block: NULL
  Offset: 0x66b06bec
    Size: 1600
Block: VIDF
  Offset: 0x66b0722c
    Size: 2943424
    Time: 24557.608000 ms
   Frame: #587
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x66dd5bec
    Size: 1600
Block: VIDF
  Offset: 0x66dd622c
    Size: 2943424
    Time: 24599.616000 ms
   Frame: #588
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x670a4bec
    Size: 1600
Block: VIDF
  Offset: 0x670a522c
    Size: 2943424
    Time: 24641.389000 ms
   Frame: #589
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x67373bec
    Size: 1600
Block: VIDF
  Offset: 0x6737422c
    Size: 2943424
    Time: 24682.607000 ms
   Frame: #590
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x67642bec
    Size: 1600
Block: VIDF
  Offset: 0x6764322c
    Size: 2943424
    Time: 24724.385000 ms
   Frame: #591
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x67911bec
    Size: 1600
Block: VIDF
  Offset: 0x6791222c
    Size: 2943424
    Time: 24891.196000 ms
   Frame: #595
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x67be0bec
    Size: 1600
Block: VIDF
  Offset: 0x67be122c
    Size: 2943424
    Time: 24932.799000 ms
   Frame: #596
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x67eafbec
    Size: 1600
Block: VIDF
  Offset: 0x67eb022c
    Size: 2943424
    Time: 24974.609000 ms
   Frame: #597
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x6817ebec
    Size: 1600
Block: VIDF
  Offset: 0x6817f22c
    Size: 2943424
    Time: 24765.842000 ms
   Frame: #592
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x6844dbec
    Size: 1600
Block: VIDF
  Offset: 0x6844e22c
    Size: 2943424
    Time: 24807.931000 ms
   Frame: #593
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x6871cbec
    Size: 1600
Block: VIDF
  Offset: 0x6871d22c
    Size: 2943424
    Time: 24849.782000 ms
   Frame: #594
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x689ebbec
    Size: 1600
Block: VIDF
  Offset: 0x689ec22c
    Size: 2943424
    Time: 25016.513000 ms
   Frame: #598
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x68cbabec
    Size: 1600
Block: VIDF
  Offset: 0x68cbb22c
    Size: 2943424
    Time: 25057.653000 ms
   Frame: #599
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x68f89bec
    Size: 1600
Block: VIDF
  Offset: 0x68f8a22c
    Size: 2943424
    Time: 25099.865000 ms
   Frame: #600
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x69258bec
    Size: 1600
Block: VIDF
  Offset: 0x6925922c
    Size: 2943424
    Time: 25141.592000 ms
   Frame: #601
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x69527bec
    Size: 1600
Block: VIDF
  Offset: 0x6952822c
    Size: 2943424
    Time: 25182.815000 ms
   Frame: #602
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x697f6bec
    Size: 1600
Block: VIDF
  Offset: 0x697f722c
    Size: 2943424
    Time: 21304.286000 ms
   Frame: #509
    Crop: 256x120
     Pan: 256x118
   Space: 4064
Block: NULL
  Offset: 0x69ac5bec
    Size: 1600
Block: NULL
  Offset: 0x69ac622c
    Size: 36
Block: RTCI
  Offset: 0x69ac6250
    Size: 44
    Time: 19186.942000 ms
     Date:        02.08.2013
     Time:        21:57:54 (GMT+0)
     Zone:        ''
     Day of week: 1
     Day of year: 244
     Daylight s.: 0
Block: EXPO
  Offset: 0x69ac627c
    Size: 40
    Time: 19188.471000 ms
     ISO Mode:   0
     ISO:        400
     ISO Analog: 88
     ISO DGain:  0 EV
     Shutter:    20749 µs (1/48.20)
Block: LENS
  Offset: 0x69ac62a4
    Size: 96
    Time: 19188.621000 ms
     Name:        ''
     Serial:      ''
     Focal Len:   50 mm
     Focus Dist:  0 mm
     Aperture:    f/5.60
     IS Mode:     0
     AF Mode:     0
     Lens ID:     0x00000000
     Flags:       0x00000000
Block: WBAL
  Offset: 0x69ac6304
    Size: 44
    Time: 19188.972000 ms
     Mode:   9
     Kelvin:   3600
     Gain R:   495
     Gain G:   1024
     Gain B:   1024
     Shift GM:   0
     Shift BA:   0
Block: VIDF
  Offset: 0x69ac6330
    Size: 2943164
    Time: 19219.000000 ms
   Frame: #459
    Crop: 256x120
     Pan: 256x118
   Space: 3804
Block: NULL
  Offset: 0x69d94bec
    Size: 1600
[i] Reached end of chunk 0/1 after 1379 blocks
[i] Processed 603 video frames
[i] Done


maxotics

I did something to my 50D, now I have these .MLV files and am lost in a sea of forum posts.  I'm on Windows.  Can someone point me to where I can get a program/script, whatever, to get me to RAW so I can RAWanizer it :)  I've read just a thing exists, but have also read many problems.  So don't want to download something old and gnarly.  Thanks!  I just hope I can find my way back to this forum thread! :)

John Kesl

Quote from: maxotics on September 03, 2013, 12:57:03 AM
I did something to my 50D, now I have these .MLV files and am lost in a sea of forum posts.  I'm on Windows.  Can someone point me to where I can get a program/script, whatever, to get me to RAW so I can RAWanizer it :)  I've read just a thing exists, but have also read many problems.  So don't want to download something old and gnarly.  Thanks!  I just hope I can find my way back to this forum thread! :)

check out mlv2dng by gnarr.
https://dl.dropboxusercontent.com/u/3181048/mlv2dng.zip
the program is command line executable on windows something like.
c:> folder/where/mlv2dng.exe c:> file/where/Mxx-xxx1.MLV > c:> folder/where/you/want/xxxxxx.DNG
I make my folder before and drag and drop it onto the DOS prompt window. works good.
mlv_dump, is available from somewhere around here it's linux, but it's got more options (as far as I can tell)
search mlv_dump. or compile it yourself from g3gg0's repository @ bitbucket.org.

maxotics

Thanks John.  I sent the dev a private note.  Don't see why a C++ person (scripting is all this old dog is useful for anymore) couldn't make a quick Windows command utility to parse MRV into RAW.  Anyway. offered to help.  In the meantime, I put my 50D back to one of Andy's stable builds. 

John Kesl

Quote from: maxotics on September 03, 2013, 05:08:11 AM
Thanks John.  I sent the dev a private note.  Don't see why a C++ person (scripting is all this old dog is useful for anymore) couldn't make a quick Windows command utility to parse MRV into RAW.  Anyway. offered to help.  In the meantime, I put my 50D back to one of Andy's stable builds.

Hey man, mlvdng.exe goes all the way to .dng no need for raw inter. Also, i'm pretty sure g3gg0 put up a mlv_dump.exe I may be wrong. but i would check developer g3gg0 threads.

1%

for 50D I made MLV_REC and raw_rec so the choice is yours. raw_rec is still faster, except if you have a 5DIII.

LEVISDAVIS

Thanks for the 50D development! Looking to test out MLV... Wonder how the 50D will handle the extra info??? Thanks for the extra effort.
Levi S. Davis

g3gg0

Quote from: maxotics on September 03, 2013, 05:08:11 AM
Thanks John.  I sent the dev a private note.  Don't see why a C++ person (scripting is all this old dog is useful for anymore) couldn't make a quick Windows command utility to parse MRV into RAW.  Anyway. offered to help.  In the meantime, I put my 50D back to one of Andy's stable builds.

[ x ] you didn't read my first post, where it says: post processing is still done with 'raw2dng' after converting the .mlv into the legacy .raw format using mlv_dump.

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!

dude

Did you read about Scratch? they are going to drop a Raw Player, the specs say that also dslr raw material will be readeable.
http://www.awn.com/news/business/assimilate-launches-scratch-play

NedB

@dude: the link (in the Assimilate press release) for the Scratch player has been pulled by Assimilate, apparently, but I found the new location:

http://www.assimilateinc.com/scratch-play-build

Cheers!
550D - Kit Lens | EF 50mm f/1.8 | Zacuto Z-Finder Pro 2.5x | SanDisk ExtremePro 95mb/s | Tascam DR-100MkII

dude

Nice, thanks!

edit-
installed it, so far it does not load the raw files

maxotics

Quote from: g3gg0 on September 03, 2013, 07:46:24 AM
[ x ] you didn't read my first post, where it says: post processing is still done with 'raw2dng' after converting the .mlv into the legacy .raw format using mlv_dump.

I sent you a private message and you're now publicly saying I don't take the time to read your work?  That's not very nice.  I've read everything you've wrote.  I can't find a mlv_dump.exe for Windows.   All if you have to do is say it doesn't exist and you don't know when it will, OR, point me to it.  Really, g3gg0! :) 

g3gg0

Quote from: maxotics on September 03, 2013, 02:21:32 PM
I sent you a private message and you're now publicly saying I don't take the time to read your work?  That's not very nice.  I've read everything you've wrote.  I can't find a mlv_dump.exe for Windows.   All if you have to do is say it doesn't exist and you don't know when it will, OR, point me to it.  Really, g3gg0! :)

sorry, i read forum and answer there before i check any PMs.


look in the main post and download the pre-built version.
> if you want to test recording, grab my sources from https://bitbucket.org/g3gg0/magic-lantern or use the pre-built ones. (tested on 5D3)

as i update the link when i make new versions, please use the link from the main post.
there is raw2dng.exe, mlv_dump.exe, raw_rec.mo and a few other modules in that zip.
just open the first page, check my post and search for "pre-built". this is a link to the latest version.....
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!

RenatoPhoto

Quote from: maxotics on September 03, 2013, 02:21:32 PM
I sent you a private message and you're now publicly saying I don't take the time to read your work?  That's not very nice.  I've read everything you've wrote.  I can't find a mlv_dump.exe for Windows.   All if you have to do is say it doesn't exist and you don't know when it will, OR, point me to it.  Really, g3gg0! :)

Keep your personal stuff off this board!

If you read this thread you will find this on reply 218:

Quote from: g3gg0 on August 11, 2013, 12:58:06 AM
here is a windows build of mlv_dump

did not test it for 4GiB problems. can someone else try?

and a bit lower you will find this:

Quote from: RenatoPhoto on August 11, 2013, 04:01:16 PM
I just tried the mlv_dump.exe -o mlv.raw -r m10-2205.mlv

and ....  made the mlv.raw file

and ... drag and drop on raw2dng.exe and Yes!!!!!!!

Got dng files!

So try it and see.  If it is not compatible with current build then wait until dev makes it available.
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

maxotics

@g3gg0!

I think the confusion is that you assume someone is going to load your sources and naturally see the utilities, which was natural when you started your effort. 

I ended up with source that creates .MLV, which I didn't realize (and still don't know exactly how that happened).  You might want to edit your first post to make it clear that if someone ends up with MLV files on their camera, that they can download your zip file and get the exe.   Many people like me probably use RAWanizer straight to Cineform to check what they've done, and save on time/space with the whole DNG/TIFF extraction stuff.

I may have missed things, as RenatoPhoto pointed out, but honestly tried very hard.   Again, thanks for all your efforts! 

oddname

I hate sounding like a broken record... buuut :P
Anyone compiling some tests for 5D2 now that 50D seems to be getting some compiles too :)

Andy600

Quote from: oddname on September 03, 2013, 04:39:19 PM
I hate sounding like a broken record... buuut :P
Anyone compiling some tests for 5D2 now that 50D seems to be getting some compiles too :)

Try the 50D one https://bitbucket.org/OtherOnePercent/tragic-lantern-6d/downloads/mlv_rec.mo should work in the 5D2 (at least for testing).
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

1%

That scratch play looks interesting but ads in the free version? Come on! VLC/MPC doesn't put ads in. Quite insulting to have spyware in your media player.

NedB

@dude: If you convert a .raw file (using raw2cdng.exe rather than raw2dng.exe) to CinemaDNG, you can point Scratch to the first .dng file and it will open and play the clip. Pretty cool. Colors are a bit off but Scratch is apparently a huge application, even the player portion, and there's probably a way to insert a LUT somewhere so that the clip will look reasonably like what you shot. Just FYI, haven't played with it for very long. Cheers!

P.S. Not sure anymore where I got raw2cdng.exe, it was on the ML forum somewhere, you should be able to Google it.
550D - Kit Lens | EF 50mm f/1.8 | Zacuto Z-Finder Pro 2.5x | SanDisk ExtremePro 95mb/s | Tascam DR-100MkII

g3gg0

Quote from: maxotics on September 03, 2013, 03:46:27 PM
@g3gg0!

I think the confusion is that you assume someone is going to load your sources and naturally see the utilities, which was natural when you started your effort. 

I ended up with source that creates .MLV, which I didn't realize (and still don't know exactly how that happened).  You might want to edit your first post to make it clear that if someone ends up with MLV files on their camera, that they can download your zip file and get the exe.   Many people like me probably use RAWanizer straight to Cineform to check what they've done, and save on time/space with the whole DNG/TIFF extraction stuff.

well, thats the reason why i pointed out in the main post that one has to convert it to legacy .raw before he can use it in his normal workflow.
i also provided the binaries so one can run the tools without the hassle of cross-compiling.

as this is no release for the masses, i define my assumption to be perfectly fine.
it is for developers, for testers, BUT NOT for productional use yet.
as the board "General Development Discussion" implies, this is yet in development and end users will get a nifty UI, workflow, guide and whatever as soon it is in "New Releases" forum.

i understand that this is not the allround-happy-packet ready for everyone to use which you seem to have expected, but it was never meant to be that.
this will follow as soon this video format and the code is going to be merged into main tree.
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!

maxotics

@g3gg0

Sorry,  I made it sound like it was your fault, and that's not what I mean.  I meant to say that you might not realize that your code is now seeing its way onto more and more cameras (like my 50d) and that you may want to edit the first page a bit, for people like me who don't know a thing about MLV but now have it on their camera.  Again, I'm sorry if I implied that you had done something wrong.  I realize it was all just a big confusion.  I AM all round happy packet!   Please believe me.  And thank you again.

I can already see how MLV will be a big improvement with the EOS-M.  Right now, I have to pick which mode to clean up the files, normal or crop mode.  With your work, future software can figure that out.  Again, if there is anything I can do to help you with MLV, let me know.  So again, please accept my apologies and thanks!

1%

I'm going to go out on a limb and say that MLV will be better for SD cameras in general... they already only go ~40mb so +/- 1MB won't make a difference. On 50D I struggle with 1920x1038 and 1080P where before I had idle time.