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

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3166
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1625 on: March 25, 2014, 12:22:50 PM »
Hi, I have similar issues with the mlv_rec (green effect, corrupt files, challenge opening some files on mlrawviewer).

thanks for your feedback.

i think the green issue - as reported earlier - is just a result of some changes to the raw backend and maybe some timing issues in combination with the hacks.
(wasnt able to reproduce a single video with green cast after 15-20 tries the last week)
this has always been a wrong black level since then, thats the reason why mlv_rec now hardcodes that field to the most probable value.
for existing footage this can also be fixed using mlv_dump that writes you a .mlv again.

for the crash it would be helpful if you can tell me the settings so i can reproduce.
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!

Canon eos m

  • Hero Member
  • *****
  • Posts: 562
  • 5D Mark III, Canon EOS M
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1626 on: March 25, 2014, 02:35:21 PM »
Like just now. I was shooting casual footage with my family. The camera was on 1920x1080 snd.mo on. Kept each instance below 20 secs. Things appear to work like a breeze. But there was no prior warning that the card was about to fill up. The last bit ran out the capacity and the camera drew a blank screen and the camera stopped responding. Had to pull the battery out. Likewise, when shooting beyond what the CF card can handle (in those situations when I shoot high fps with large frames sizes), I often face the camera freeze issue. Please let me know if you want me to send you the settings on the camera when it froze last.

Don't know whether it is green or not but there are some batches from the footage I got that are black (blown). Can get one of the files to you if that will help. In some cases the files just won't open with mlrawviewer.
Canon 5D Mark III, Gopro Hero Blacks with 3D Casing, A Few Lenses, Adobe CC 2014, MacBook Pro, Windows 8 PC, Lots of Video Rig!

Started Nuke. Loved it but then the 15 day trial ran out. Back to After Effects and loving it :-)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3166
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1627 on: March 25, 2014, 03:32:27 PM »
please, those are important to me for reconstructing what is wrong.

use mlv_dump in.mlv -f [start]-[end] -o out.mlv to export the bad frames.
please add 2-3 frames in front of the problematic section.
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!

Canon eos m

  • Hero Member
  • *****
  • Posts: 562
  • 5D Mark III, Canon EOS M
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1628 on: March 25, 2014, 03:47:55 PM »
Sorry to be a dud but do I use this code you provided in c: prompt dos shell or some place else.
Canon 5D Mark III, Gopro Hero Blacks with 3D Casing, A Few Lenses, Adobe CC 2014, MacBook Pro, Windows 8 PC, Lots of Video Rig!

Started Nuke. Loved it but then the 15 day trial ran out. Back to After Effects and loving it :-)

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3654
  • Blunt and to the point
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1629 on: March 25, 2014, 03:54:24 PM »
Yes.  Download this:  http://ml.g3gg0.de/pub_files/be40d197edf4f979415584de63e4251b/mlv_rec.zip

Extract the contents to a HDD, say C: drive.  Copy the MLV files to the same place on the HDD.

Open a command prompt (windows key + x on windows 8 ), navigate to the same place as the files earlier,  (type "cd\" to navigate to C: drive), and then run the command line g3gg0 posted above.

Change the in.mlv and out.mlv sections to the name of your input MLV (MLV8000.MLV or whatever), and output mlv.

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1630 on: March 25, 2014, 07:24:33 PM »
on the 7D, when using max resolution in crop mode, 2496 x1200  2:1  and 2496 x1134  2.20:1
using MLV sound the recording will not stop properly and will need a battery pull.

Normal stop of recording is possible with MLV Sound OFF or at lower res starting at 2496 x1062  2.35:1.
5DmkII  / 7D
www.ramasolaproductions.com
Texas

tonybeccar

  • Senior
  • ****
  • Posts: 319
  • 7D
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1631 on: March 25, 2014, 11:36:31 PM »
Why is mlv_dump much slower than e.g. mlv2dng or raw2dng? Is there any plans to speed it up like multi-core support?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3166
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1632 on: March 25, 2014, 11:37:50 PM »
oh, it is slower?didnt realize.
especially as it uses raw2dng code for writing dng's.
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!

gravitatemediagroup

  • Member
  • ***
  • Posts: 246
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1633 on: March 26, 2014, 01:15:45 AM »
every 1st clip recorded each startup is killed with green footage, that's the pattern I notice so far with the latest build, maybe I need to turn something off or on?

tonybeccar

  • Senior
  • ****
  • Posts: 319
  • 7D
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1634 on: March 26, 2014, 02:24:32 AM »
oh, it is slower?didnt realize.
especially as it uses raw2dng code for writing dng's.

Than mlv2dng yes, like 10-15 times.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3166
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1635 on: March 26, 2014, 10:45:25 AM »
every 1st clip recorded each startup is killed with green footage, that's the pattern I notice so far with the latest build, maybe I need to turn something off or on?

did you try the latest nightly of mlv_rec? (after 25.03.)
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!

Canon eos m

  • Hero Member
  • *****
  • Posts: 562
  • 5D Mark III, Canon EOS M
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1636 on: March 26, 2014, 11:37:59 AM »
I check the nightly section twice a day. Last I checked today afternoon (there were no new updates after the 17th March nightly). Checked now and see the 26th March bleeding edge version. Will load today and report results on mlv_raw.

I still owe you the samples for the dark images, skipped frames. Will do this also tonight and send whatever I can.
Canon 5D Mark III, Gopro Hero Blacks with 3D Casing, A Few Lenses, Adobe CC 2014, MacBook Pro, Windows 8 PC, Lots of Video Rig!

Started Nuke. Loved it but then the 15 day trial ran out. Back to After Effects and loving it :-)

gideonplus

  • New to the forum
  • *
  • Posts: 35
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1637 on: March 26, 2014, 03:26:06 PM »
in MLV crop mode(x3) it crashed after about 2 minutes with a lot of text writen on screen.

The LOGFILE:

ML ASSERT:
hdr->blockSize >= (sizeof(mlv_vidf_hdr_t) + hdr->frameSpace + frame_size)
at mlv_rec.c:1990 (process_frame), task Evf
lv:1 mode:3


Magic Lantern version : Nightly.2014Mar26.5D3123
Mercurial changeset   : 48e7ddebc1b9 (5D3-123) tip
Built on 2014-03-26 09:05:23 UTC by jenkins@magiclantern.fm.
Free Memory  : 149K + 3753K

My card is Komputerbay 64GB x1000 , No Memory Hack,GD on,FPS
1920x1080 25p

seb3dge

  • New to the forum
  • *
  • Posts: 3
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1638 on: March 27, 2014, 12:09:45 AM »
Hey... Finally I found out what was wrong!

I shot an entire 32GB CF full of nice steadicam shots, came back home, converted the MLVs to DNG... and they were all pink! Not the usual "Premiere Pro" pink... they are pink in ACR, Resolve 10... everywhere. After some trial and error I figured out it was caused by the "Fix black level" set to ON... But since (I guess?) all the data is still there... is there a way to fix it in post (as far as I understood, you can get your "green" shots to "normal" with mlv_dump... so the opposite should be possible too, right?)?

Thanks in advance! :)

Seb

jose_ugs

  • Member
  • ***
  • Posts: 243
  • 5DM3
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1639 on: March 27, 2014, 10:50:54 AM »
@g3gg0, testing 1920x508 @ 50fps for more than 4/5minutes str8 and i must say the new builds are much faster/more stable. Goooood Job man!!! :)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3166
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1640 on: March 27, 2014, 08:34:23 PM »
Hey... Finally I found out what was wrong!

sorry, which problem are you referring to?
(camera model etc)
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!

GooDween

  • New to the forum
  • *
  • Posts: 17
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1641 on: March 28, 2014, 01:15:26 PM »
what i am doing wrong?
123 bleeding edge 5d mk3 32gb transcend 1000x. Can't record 1920-1080 29.97 even 2 seconds=|
in crystaldiskmark cf show 154 for read, 114 for write
internal in camera shows 112 for read and only 72 for write.
I am confused
And now he shows me that i should expect around 0 frames and only on 1504h continious, and no info like before about 300 frames or so. only 2 option.

ewinemiller

  • New to the forum
  • *
  • Posts: 45
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1642 on: March 28, 2014, 03:34:15 PM »
what i am doing wrong?
123 bleeding edge 5d mk3 32gb transcend 1000x. Can't record 1920-1080 29.97 even 2 seconds=|
in crystaldiskmark cf show 154 for read, 114 for write
internal in camera shows 112 for read and only 72 for write.
I am confused
And now he shows me that i should expect around 0 frames and only on 1504h continious, and no info like before about 300 frames or so. only 2 option.

Is the card selector set to the SD card? That one catches me every now and then.

GooDween

  • New to the forum
  • *
  • Posts: 17
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1643 on: March 28, 2014, 03:46:16 PM »
preferred card cf, magic lantern installed on sd.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3166
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1644 on: March 28, 2014, 08:28:12 PM »
can you please:
 - enable trace module (trace.mo)
 - enable tracing in mlv_rec menu
 - record a video

and send me the raw_rec.txt in your SD cards root?
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!

arturochu

  • Member
  • ***
  • Posts: 129
  • Filmmaker based in Mexico City
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1645 on: March 28, 2014, 08:58:35 PM »
any one having this kind of problem?

jpg: https://www.dropbox.com/s/9v0uut63qawuqhb/101.jpg [ edit: http://a1ex.magiclantern.fm/bleeding-edge/raw/101.jpg ]

original dng: https://www.dropbox.com/s/epbkuhd9j13ncgi/101.dng [ edit: http://a1ex.magiclantern.fm/bleeding-edge/raw/101.dng ]

its present in all my takes of that scene, always around the highlights, first i thought it was a debayer problem in resolve, but it happens the same in after effects and in lightrooom.

any ideas on how to fix it?
Chu

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1646 on: March 28, 2014, 09:02:38 PM »
Can you upload an underexposed version of the same scene?

arturochu

  • Member
  • ***
  • Posts: 129
  • Filmmaker based in Mexico City
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1647 on: March 28, 2014, 09:25:40 PM »
Chu

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1648 on: March 28, 2014, 09:27:21 PM »
underexposed == capture fewer photons, please

arturochu

  • Member
  • ***
  • Posts: 129
  • Filmmaker based in Mexico City
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1649 on: March 28, 2014, 09:29:50 PM »
i dont think i have a different exposure for that scene, i really wanted those white spots blown out cause afterwards my subject come into frame and i wanted him well exposed. I could upload the original mlv file if you want.
Chu