Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - RenatoPhoto

Pages: [1] 2
Share Your Videos / Crop Module 1:1 and 3x3 Recording at 10 bit
« on: February 02, 2017, 09:09:06 PM »
Just a short lake video made with 5D3 + Samyang 14mm
First scenes with crop video 1:1 (3x zoom) and final two scenes (time=1.02) with 3x3 bining (no zoom).


Yesterday I got a chance to test 10bit recording using crop module with 5D3 with firmware v.123
Lens 100-400 mm II
ISO between 200 and 3200.
First two scenes recorded at 60 fps at 1920x648 other shots recorded at 1920x1080 30 fps.
Hand held.
Magic Firmware: magiclantern-crop3x.2017Jan13.5D3123
Crop Rec download for testing here:

Share Your Videos / Rufous-bellied Seedsnipe
« on: January 14, 2017, 01:24:05 AM »

Sometimes as a bird guide I get close views of amazing birds.  This Seedsnipe a difficult bird to see and we were very lucky to to have such an encounter at close range (15 meters).  I took a quick video with my 5D3 with 100-400 mm II and the marvelous crop_mo which put me in 3X zoom HD mode as soon as I engaged the video button.

Share Your Videos / Lunar Eclipse September 27 2015
« on: October 09, 2015, 11:21:21 PM »
Took some videos in raw during the lunar eclipse.  Mostly with fps between 1 and 15 fps to adjust for light conditions, iso between 100 and 6400.  Original video with cropped 3X zoom at 2880 x 1320 pixels.  Used raw histogram to monitor over exposure.  Also used dual iso in some videos but proffered to use raw video due to higher resolution.

Equipment used:
Canon 5D M3
Canon 100-400 II
Canon 1.4x Extender
Some takes with additional kenko 2x extender.

Old equatorial mount powered with a tiny 9v battery (  I was amazed that this motor could carry my camera and lens following the moon.

Music is computer generated using Cinescore; an old program from Sony.  Youtube claims that the music has copyright!

The Video:

Photos obtained from the video using AutoStakkert:

Raw Video / New and Old Banding Issues
« on: December 14, 2013, 03:02:58 PM »
Here is a summary of the Banding issues that I could find.  Some Posts have been deleted but I was able to recover them using Google cached system.  I have provided the recovered post in zip files containing the html pages.

Any further Banding issues should be discussed here so I will lock the other post.

Weird vertical lines that fade away gradually
Sept 21

Vertical Lines: is it a recognized problem? Can it ruin the photography?
September 15

Banding issues;topicseen#msg67345
August 16

Bad Banding
July 05

[SOLVED!] Dead pixels - Hot pixels - Banding in RAW recording ...
Jun 2
Recovered Here:

[SOLVED] Vertical banding in raw Canon 5D mark III - Magic Lantern
May 23 2013
Recovered Here:

5D MK3 Raw sensor ISO noise samples
May 23

Related Post:

PinkDotRemover tool 650D;topicseen
June 15

Aliasing correction in 60FPS RAW Video
Sept 2

Share Your Videos / Machu Picchu June 21 Raw video test
« on: November 12, 2013, 02:08:12 PM »
One my first videos with ML RAW on 5D3
Lens Samyang 14 mm manual.
Card Lexar 1000X Pro 32 GB
Originally recorded at 1728x972 and 29 fps
Post processing ACR & Sony Vegas
Hand held amateur video

Any constructive criticism is welcome.  I still have a lot to learn!

Feature Requests / Set Deflickering default to xmp
« on: October 29, 2013, 12:45:48 PM »
I dont think many people use UFR so can deflicker be set to XMP as default?

Tragic Lantern / 5DIII Crash Erases Presets
« on: October 28, 2013, 12:30:47 PM »
I had a crash this weekend and erased all of my preset configurations and custom modules loaded. 
This was particular troublesome since I could no longer operate the camera in the mode I intended. 
Very frustrating experience because I did not have a copy of my customized ML and therefore the whole weekend I shot with many issues and problems.

at ./Multicast/PropertyMgr.c:50, task Evf
lv:1 mode:3

Magic Lantern version : Tragic.2013Oct25.5D3113
Mercurial changeset   : ce6ee58aed7a (unified) tip
Built on 2013-10-25 01:32:32 UTC by magiclantern@magiclantern-VirtualBox.
Free Memory  : 219K + 3711K

Feature Requests / [WONTFIX] Delete RAW option on RAW_REC
« on: October 25, 2013, 04:57:36 PM »
The preview option is nice in raw_rec and would also be nice if a delete function is added.
This delete option is available in 1% builds and it is nice to replay and delete without having to move around the ML menu.
Of course there is file_man and that too is very nice.

General Development / RAW Playback speed on 5D3
« on: October 15, 2013, 10:41:19 PM »
Would like to speedup playback of RAW video on 5D3. 
Any simple coding changes I can play with? 
As I recall CPU usage was around 85% but now CPU usage is removed so I cannot check.

Feature Requests / Adjust RAW Exposure Measurement Area
« on: October 14, 2013, 01:17:12 AM »
The raw exposure calculations done by ETTR give erroneous numbers when using a Fisheye lens.  I have a 5D3 and an 8 mm fisheye which produce a circle image and a large black area around the image which ETTR is analyzing as if the black border was part of the image.  As a result the  Midtone SNR and the Shadow SNR will boost the exposure of the image above the required and correct levels.

Analyzing the image at the Canon crop of 3:2 5760x3840 we can inscribe a 3:2 rectangle inside the circle of 3170x2112

The crop factor would be 5760/3170 = 1.82

The same situation occurs with the fisheye and the 7D

Analyzing the image at the Canon crop of 3:2 5184x3456 we can inscribe a 3:2 rectangle inside the circle of 4506x3004

The crop factor would be 5184/4506 = 1.15

Also for my EFs 10-22 Canon on 5D3

Analyzing the image at the Canon crop of 3:2 5760x3840 we can inscribe a 3:2 rectangle inside the circle of 4062x

The crop factor would be 5760/4062 = 1.41

And yet another Tamron 17-50 on my 5D3

The crop factor would be 5760/3920 = 1.46

I assume that there will be other lenses so the option would be to have a user selectable crop factor or just pick some that could benefit all like:
1.2, 1.5, 2, 3

I put the 3 so that we could also measure the correct exposure for 5X cropped mode (equivalent to 3X crop factor).

Feature Requests / Auto Dissable ETTR outside M mode
« on: September 29, 2013, 09:23:21 PM »
Dear Alex:

The functionality of ETTR outside M mode is not good.

In wildlife photography I use TV, C1, C2, C3 for very quick mode change to instantly adapt to the shooting requirements.
For example I program C3 for bird in flight, with shutter at 2000,  AI servo, High speed continuous shooting, 61 pt AF, Auto Iso, +3 EC.
C2 for bird against light, with shutter at 320, AI servo, High speed continuous shooting, AF Area Sorround, Auto Iso, +2 EC.
C1 for bird on the ground, with shutter at 250, AI servo, High speed continuous shooting, AF Spot, Auto Iso, +1 EC (kind-of ETTR).

I use these setting for quickly getting the photo without delays (Auto-power OFF=Disable).

When I have a little more time (the bird is posing for me) then I switch to M and optimize the light situation with ETTR and take a few more pictures.  Then I switch to RAW Video and get the most amazing 5X Cropped video of the birds.

Since ETTR cannot work quickly (instantly) in Tv mode (I use Tv exclusively for bird photography) it forces me to enter ML menu and disable ETTR, therefore slowing the process down, and sometimes I forget if ETTR is enable for when I really wanted ie. in M mode.

My request is to disable ETTR outside M mode as an option (in case that someone wants it back) so I can make use the instant change mode for quick photos between C1, C2, C3.  Also when I switch to M mode my ETTR is sure to be ready for me without having to go into ML menu.

I hope this is possible since it will benefit many users who want that very quick instant reaction of changing per-programmed modes C1, C2, C3

As Always: Thanks for your amazing work.

P.S.  In case it is not clear, I want to leave ETTR ON and not have to turn it OFF (the ETTR module should not work in these modes) when I am in C1, C2, C3, Tv and possible others like Av.

Success!  After a bit of struggling I managed to get a very nice (night to day) timelapse with clean shadows and almost not clipping in the highlights8)


ETTR settings:

Trigger mode. Always on
Slowest shutter: 32"
Highlight ignore: 0.5%
Allow clipping: OFF
Midtone SNR limit: 6EV
Shadow SNR limit: 2EV
Link to Canon Shutter: OFF
Link to Dual Iso: ON
Shadow metered areas: OFF
Show debug info: OFF

Dual ISO (enabled)

Take pic every:  1m, Start after: 3 sec, Stop after: Disabled, Manual FocusRamp: OFF

Post Deflicker:

Sidecar file type: Adobe XMP
Deflicker percentile: 50%
Deflicker target level : -4EV

The modules performed very well automatically without any human intervention.  The only thing I noticed is that when Dual Iso kicked in, there were some images that alternated between DUAL ISO 100-200 and no DUAL ISO.  After a while the system stabilized and all of the photos thereafter where DUAL ISO.

POST-PROCESSING with XMP slidecar files (ACR and Photoshop required)
This proved to be the more difficult part since the exposure compensation is not passed through the cr2hdr process.  Maybe this can be updated in a future release making this process a slicker deflicker.  ;)

1. Open all the CR2 files with ACR (xmp files will adjust the exposure) and save them as DNG.
2. Process all of the DNG with cr2hdr
3. Change the extension of all DNG back to CR2.  Make sure the xmp files are put back with the CR2
4. Open the CR2 with ACR (again) and save them as tiff, this will adjust the exposure of the tiff files by the deflicker exposure.   Save then to a separate folder.  Make sure that the exposure compensation is applied in ACR.
5. In Photoshop create a small action to open a file and change the canvas to the correct size of 5760x3840, then save the file.  This is required since the cr2hdr process is increasing the size of the images to 5796x3870. Again this is something that may be able to program in cr2hdr so that the output images do not change in size.
6. In Photoshop open the Batch command (in File, Automate) and select the action you created by selecting the Set and the Action. 
7. Click on Source and select Folder.
8. Click on Choose and select the Folder where you saved the tiff files.
9. Select the Override Action "Open" Commands
10. Select the Override Action  Suppress file Open Options Dialogs.
11. Click on Destination and select Folder
12. Click on Choose and select a folder for the new tiffs
13. Select Override Action "Save As" Command and Click OK.
14. When needed the images are automatically re-sized , you can import these tiffs in your favorite video editor.

Technical Notes;
I also tried sending all the cr2 files directly to the cr2hdr which converted the DUAL ISO images to DNG.  Then rename all the DNG back to CR2 and then along with the xmp open the cr2 to save as tiff.  The problems is that the converted DNGs (converted to CR2) in this manner will never accept the exposure compensation from xmp file.  I tried and tried and could never get them to accept the deflicker exposure.

There are a couple of places (1. and 4. above) where you can adjust shadows, highlights, etc.  I only use tonal curve in ACR to avoid flickering.

Feature Requests / Feature Comparison Matrix
« on: September 20, 2013, 01:40:23 PM »
Here are the existing features for reference:

Update: Sept 17
Note: This is brand new and may not work on all cameras.  It works on 5D3 from my testing.  Please let me know if you have tested this modules with other cameras to update this post

If you know nothing about ETTR then go here:
(Auto) ETTR (Exposure to the Right): -- History & Beginners Guide

If you know nothing about DUAL ISO then go here:
Dual ISO - massive dynamic range improvement

For a comparison of ETTR and DUAL ISO go here:
Dual ISO vs Auto ETTR

What is new?

The Auto Exposure To The Right module has now been expanded to squeeze the last bit of information of the camera sensor by the automatic use of DUAL ISO.  This is best used in situations where the high dynamic range of the scene require DUAL ISO to better capture the details of the image.  The latest implementation analyzes the image and automatically decides when to use DUAL ISO.

For the latest ETTR and DUAL ISO Modules go here:
Nightly Builds - try the very latest stuff here


If you want to enable the bootflag in your camera (550D, 600D, 50D, 60D, 5D2)  then go here:
Magic Lantern v2.3 - Install Guide

For other cameras go here for a starting point.
RAW video & ML -- Beginners Guide, FAQ & Useful Links -- READ FIRST


1. The modules are located in the EXPO tab:  Auto ETTR and Dual ISO

2. Auto ETTR has a simple mode:

Click on the Advanced mode to display all of the settings.

3. ... and an Advanced mode:

4. Trigger mode allows you to select three different methods for triggering the use of the AETTR.

    Press SET means that every time press the SET button the current scene is displayed in the LCD monitor with an analysis of the image.
    HalfS DblClick  means that every time double press the Half Shutter the current scene is displayed in the LCD monitor with an analysis of the image.
    Always on means that every time you take a picture the image is displayed in the LCD monitor with an analysis of the image.
    Auto Snap means that every time you take a picture the image is displayed in the LCD monitor with an analysis of the image, and that if the results are not adequate it will automatically take another image.

5. Slowest shutter: Set the slowest shutter that will allow for the current scene.

6. Exposure Target: A general exposure target for the scene,  cannot be set to zero but it could be set lower to expose darker.  This is not really used very much, usually left at -0.5

7.  Highlight ignore:  Percentage of (highlight) pixels to ignore when calculating ETTR.  This is used if you want to allow overexposure in the highlights, for example room lights.  Typical setting is 0.2% and means ignore almost nothing.   If you want to ignore more highlights try 1, 3, 5 or even 10%.

8.  Allow Clipping:  No clipping  This selection allows to select Clip Green channerl, and Clip ANY channel.   Only used if you want to allow clipping of higlights for any channel or only Green Channel specifically.  Some people will allow for some green channel clipping since there is more detail information on the other channels.  This would allow for the maximum exposure to the right and yet maintaining the highlight details.

9. Midtone SNR limit: Is defined in EV levels of noise in the Midtones form 1 to 8 EV.  The higher the SNR the less noise.  Typical settings from 4 to 8 EV.

10. Shadow SNR limit: Is defined in EV levels of noise form 1 to 4 EV.  The higher the SNR the less noise.  Typical settings from 2 to 4 EV.

11. Link to Canon shutter:  This links the Slowest shutter to the shutter value you set via small scroll wheel.  This is very useful for quickly changing the Slowest shutter without having to go into the ML menu.  Just set the shutter speed and on the next photo Slowest shutter = new shutter.

12.  Link to DUAL ISO: ON or OFF.  In ON position the camera will analyze the scene via Trigger mode (4) and decide if DUAL ISO is required or not.  Requires the DUAL ISO module to be enabled.
Note: If Link to DUAL ISO is set to OFF, the module will not calculate the required DUAL ISO and the image will only be set to meet the ETTR requirements.

13. Show debug info: ON OFF.  Will show some of the important calculation results of this module.

Convergence to results:

a. This module with require at least two images (sometimes three or four) to come up with the proper exposure.  Alternatively you can set the Trigger mode to Set in which case the camera will go to live view, analyze the scene, and return to photo mode with the correct settings.

b. When the algorithm cannot find an adequate exposure it will beep twice and give you a message in the LCD screen. ETTR: expo limits reached, indicating the ISO and speed limits used.

c. When the algorithm finds an adequate exposure it will beep once and give you a message in the LCD screen. ETTR settled at ISO xxx and the shutter speed.
Note: the image review time in the LCD is set via Canon menu in Image Review.  You may want to put 8 seconds so you can see the results in the LCD before it turns off.

Raw histogram use:

It is best to enable RAW Histograms via Global draw.  This will put a little histogram on the LCD during image review.  This histogram can show an ETTR hint (how many EVs are required to reach ETTR), or the Dyanmic Range of the image.  It will also show the clipped channels via colored numbered circles.

If you also enabled RAW zebras via Global draw, you will also see, if any, areas of the image are over-exposed.  Black will be completely overexposed, then you can see red, green, and blue channels clipped areas shown with their respective colors.  White will be dark areas completely under-exposed.

More about SNR Levels:

Here you can find some samples at different SNR levels:

Some test I did here:

Tutorials and Creative Uses / New AETTR Update Improves Usability
« on: September 02, 2013, 02:27:19 PM »
The new AETTR module now has two new options which allow for better control of the highlight exposure function.  I have tested these options and obtained very impressive results..

In the past I had used the highlight ignore function to change the amount of overexposure in the highlights and this worked very well but it was time consuming.  In this update now it is possible to obtain some impressive results by setting the amount of noise that we are willing to accept in the shadows and midtones.  At first this does not lead to a quick understanding of the function and its application but by testing I have a better understanding on how to use it.

The midtones SNR limit varies from 1EV to 8EV.  I think of it 1EV = lots of noise and 8EV = no noise.  So if you want strict control of the noise in midtones then set it to 8 and the module will raise the highlight ignore until the midtones are perfectly exposed to the right.  If the scene has lots of dynamic rang then the highlights will be blown out (ignored) to maintain a proper exposure to the right in the midtones.

Here you can find a more details on this subject and excellent  samples by Audionut  on the midtones exposure:
The shadows SNR limit varies from 1EV to 4EV.  I think of it 1EV = lots of noise and 4EV = no noise in the shadows.   So if you want strict control of the noise in shadows then set it to 4 and the module will raise the highlight ignore until the shadows are perfectly exposed to the right.

The most important feature of this options is that you can independently control these two limits, one is how much noise is in the shadows, and the other is how much noise in the midtones.  If we use both functions then the resulting image will depend on which of the two limits will be hit first.  By having two options measured at once, there is better control of the highlight ignore function in a much quicker way than setting the h.i. from  0 to 50%.

The module is enabled as default midtones at 6EV and shadows at 3EV.  This will ignore a great amount of the highlights in return of properly exposed midtones and shadows.   This is the equivalent of setting highlight ignore of 2 to 3%.  But if the scene has lots of shadows then the shadow limit  will kick in and raise the highlight ignore to say 10%.  This means that the module is automatically adjusting the highlight ignore to meet my shadow requirements.

By using these two settings now we have a much more usable module which adjusts the highlight ignore to meet our requirements.

From my testing:
Indoor photography ignoring highlights from windows set midtones = 6, shadows =3
For outside photography in bright lights only ignoring extreme highlights m=4,  s=2
I have also used it for night-to-day Timelapse and found that m=4 and s=2 gives some nice results.  Usually the shadows are very dark when the sun starts to come up, with this setting I get enough light in the shadows to bring them up in post for a good final compromise.  If I use m=6 and s=3 the night will be overexposed but the shadows in the transition will be better.  I don't like this option because it forces the camera to use very high ISO at night.

Feature Requests / Aliasing correction in 60FPS RAW Video
« on: September 02, 2013, 02:11:32 PM »
Can the aliasing research included in the cr2hdr be applied to stretched 60/50/48 fps video?
I tried to use it with the DNG but it is not a dual iso file so it does not processes it. 

Tutorials and Creative Uses / Dual ISO vs Auto ETTR
« on: August 22, 2013, 08:20:56 PM »
By increasing the highlight ignore in the Auto ETTR module it is possible to significantly improve the quality of the shadows in situations where the dynamic range of the scene is beyond the capabilities of the camera sensor.  The cost is the lost details in the highlights.

In my testing, I found that the DUAL ISO module increased the dynamic range of the camera but the noise in the shadows and sharpness in the brights is better by using Auto ETTR technique if some of the highlight details can be sacrificed.

If you must capture all highlight details and are not bothered by noise in the shadows and some loss of detail in the brights then DUAL ISO is capable of delivering the goods.
Here is the setup I used to test Dual ISO vs Auto ETTR

With Canon metering (Evaluative metering) the image has very deep shadows with lots of noise and the highlights were slightly overexposed

With the Auto ETTR (AETTR) module enabled in default settings (02.% h.i.) there is a slight improvement in the highlights (better exposed) while the shadows are a bit deeper.  This has been my experience with AETTR, if there are highlights, then it always meters them accurately to prevent any highlight overexposure.  I all cases where there is an excessive Dynamic Range then the AETTR will always underexpose the image to protect the highlights.  To counteract this issue, if the highlights are not so important, then I raise the highlight ignore setting until the image looks right.  In most situations with bright clouds I can get away with a 5 to 10% in the highlight ignore and still get good results.

AETTR default (0.2% h.i.)

AETTR  +5%

AETTR +10%

Now if we use the DUAL ISO module we will see how the shadows are lifted while the highlights are not overexposed and the benefits of increasing the second ISO.

Dual ISO 100-200

Dual ISO 100-400  Notice that the shadows are lifted slightly more than 100-200 image

Dual ISO 100-800  Notice that the shadows are lifted slightly more than 100-400 image


In the following comparisons I have brought all of the RAW photos into Photoshop via ACR 7.1  and used the Auto exposure function which automatically does its magic to raise the shadows and lower the highlights to some predetermined "magical value".  I use this to quickly bring all the images to the same magical look as a standard point for comparison.  In am hopefully comparing images that have been adjusted to the same standard look of "Auto".

The following comparisons show various areas of the images where each feature will show its advantages and disadvantages.  The side-by-side comparisons will be made in the highlights, brights, Mids, and Low lights areas of the photo.  I have not used any technical definition for these exposure areas just my perception of what is highlights, brights, Mids, and Low lights.

Here are the camera settings for each photo:

DUAL ISO 100-200,  1/25,  f/14
DUAL ISO 100-400,  1/25,  f/14
AETTR +5%,  1/25,  f/14, ISO 100
AETTR +10%,  1/25,  f/13, ISO 400

Note: I did not record the exposure compensation for each image.

First, look at the highlights:

By increasing the highlight ignore of the AETTR module obtained the following comparison between Dual ISO and  AETTR.

Clearly at AETTR+10% we lose some of the details in the fog, in this case this does not represent any significant loss in my perception for this image.  AETTR+5% looks better but not as good as ISO 100-200.

The Dual ISO feature has conserved the highlights very well.

Second, lets consider the brights:

A problem of DUAL ISO  here becomes evident (due to aliasing) with the loss of resolution in the high contrasting areas of the chart.  This is probably due to the aliasing reduction algorithms which reduce the details at the expense of resolution.   The sharpness defects become much more pronounced with the 100-1600 and 100-3200.

Third, now looking at the Mids and low lights:

In this area of the image the noise becomes more evident and the clear winner is the AETTR+10% (at ISO 400).  The Dual ISO images are not so good and there is some horizontal noise banding appearing in the smooth brick areas.  Look below the "1" on the 100-400 image.  This banding becomes much more apparent after denoising and sharpening.

Fourth, finally the Low Light area:

The winner is AETTR+10% with less noise. Horizontal banding is still evident in the Dual ISO images.

I have also compared the AETTR+10% with the 100-800 and the 100-1600 and the 100-3200.  In the image below I raised the shadows by 10% to get a bit more detail.  Again the AETTR+10% is a very good results giving higher sharpness and very little noise.  The 100-3200 is also very good but I would not consider this option as ideal since it has lost too much details in the brights due to aliasing.  Note that horizontal banding is not evident at these higher ISOs.


1. If you have a scene with large dynamic range and need the details of the highlights and shadows then Dual ISO will be the only option.
2. If you can sacrifice a bit of details in the highlights then AETTR is better suited for the job since the noise is lower and there are no problems with aliasing.

I hope that my analysis is correct and if there is something wrong I would like to know what I did wrong to correct it!

General Development / Quick Guide and Solutions for VirtualBox
« on: August 09, 2013, 07:08:25 PM »
Hope to resolve some issues for me and for other Windows users who want to compile in their windows machines.

For a Guide for those who want to install VirtualBox and contribute with their programming skills go here:

For solutions to the following problems just skip the Quick Guide:

1. Cannot empty trash
2. How to set up Shared Folders between Windows 7 Host and my guest Ubuntu
3. How to add Virtual Hard Drive to VM
4. How to re-size the VirtualBox HD (found on post no. 5) here:
5. "make install" command found here:

Quick Guide HOWTO VirtualBox

1. Downloaded the VirtualBox here:

2. Downloaded Oracle VirtualBox here:

3. Installed VirtualBox on Windows 7 ultimate 64 bit

4. Unzipped the contents of

5. Ran VirtualBox, click on New, Typed a name, Selected Type: Linux, Version: Unbutu

6. On next screen set Memory to 1024 (I have 12 GB)

7. On next screen clicked on Use an existing virtual hard drive file, clicked on the folder icon, and selected the MagicLantern.vdi

8. Now I have the new machine on the left menu in VBox.

9. Click on Start and accept all default settings.

10. Now I have Unbutu Running

11. Double click on Home (Top left)

12. Right-mouse click on magic-lantern and select open terminal here

13. Type hg pull

14.  When done type hg update

15.  Double click on magic-lantern folder

16. Double click on Makefile.user file

17. After GCC_VERSION= add "-" sign should now read:

18. Below the GCC add:
      CONFIG_TCC = Y

19. I had also added  CONFIG_MEMCHECK   = y  but this gave me some errors so I took it out!  (Is it needed?)

20. Under File menu click on save and then quit

21. Now Click on magiclantern on the left side with the home symbol

22. Right mouse click on the magic-lantern folder on the right and select Open Terminal Here

23. Type: make clean and when done make 5D3

24. It should work.  It compiled.

25. Now go back to the File Manager and open the magic-lantern folder and then the modules folder

26. Right-mouse click on each module that you want to use and select the Open Terminal Here

27. For each one do a make clean and when finished type make.

28. When done.. Go to File Manager, open magic-lantern folder and platform folder and 5D3.113 folder

29. Copy the 5D3_113.sym and the autoexec.bin files to ... USB drive.

Here I had some problems but these problems were solved in the following way.. Insert the usb drive and close the windows automatic usb recognition.  Then go to VBOX click on Devices, USB Devices, and select the USB drive inserted.  Now Vbox adds this drive to the File manager.

30. Open the USB drive shown on the File manager.  When you see the drive then proceed as follows:

31. Select the 5D3_113.sym and the autoexec.bin files, right-mouse and click on send: select the usb drive.

32. Click on magic-lantern folder (above the main window), double click on Modules.

33. Go into each module generated and copy  each by selecting it (right-mouse click) and sending it to the usb drive.

34. When done click on Devices, USB Devices, and on the usb drive.  This removes the drive from the Vbox.  In my system then Windows recognizes the USB drive, and then I can copy and transfer these files to the card reader.

------------------------- Solutions found --->>>>

1. Cannot empty trash..

I am not sure why this happen but I suspect it has to do with deleting files in USB stick, then removing the stick (from linux) without emptying the trash, and then deleting all files under windows including the hidden .Trash-1000 hidden file which is created by linux.

1. With VM running use Terminal and run command: sudo rm -rf ~/.local/share/Trash
2. Go to Virtualbox menu and click on Machine, ACPI Shutdown.
3. Start the same machine.
4. A new screen will appear that informs of an error press continue and the (I think) press the F to fix the error.  After a while the machine will reboot and the Trash can will have been fixed.
5. My problem is that I never shutdown the machine so the system could not fix the problems.

a. If you delete files from USB stick, empty the trash before you disconnect it from Linux.
b. It is always a good idea to shutdown or reset the machine when trying to fix some of the problems.

------------------------- Solutions found --->>>>

2. How to set up Shared Folders between Windows 7 Host and my guest Ubuntu

To install the guest additions first you have to get the required files not included in the system!

1. Open Terminal
2. type the following command and hit enter:
apt-get install dkms build-essential linux-headers-generic
... this will download and install the required packages.

More questions answered here:

3. When finished type in the terminal and hit enter
sudo sh ./

This will install the Guest Additions in the machine...

4. Go to Devices, Shared Folders, click on Machine folders and click on the green folder icon with a + sign.
5.Click on Folder Path, Other, and select the folder in Windows that you want to share.  Can be an entire drive if you just select the drive letter.
6. Type a simple folder name i.e shared
6. Select Automount and Make Permanent, ok
7. In the terminal now type:
sudo mount -t vboxsf name-of-folder /media

Make sure the name-of-the-folder (this is the name that you type when adding the shared folders in 5. above) has no spaces then leave a space after it and before /media
/media is the directory where the shared folder will be mounted.  Could be any other directory.

This will mount the shared windows folder to the media folder which is inside the File System.
More questions about this subject answered here:

To remove a previously shared dir shut down the machine and remove the shared folder in the settings of the VM.  The run the VM and use rmdir sf_nameofdir command to remove it from the /media directory.


The above mounting procedure (7.) will have to be repeated every time the machine is started form shutdown condition.  If you want to to auto loaded then it is necessary to add the mount command to the  file /etc/r.local with:

sudo nano /etc/rc.local  (This allows to edit the rc.local)
note: If this is the first time take out the # sign on the first line
sudo mount -t vboxsf name-of-folder /media
before the last line i.e. exit 0
Ctrl+x to close
y to save
enter to write

The nano terminal should close saving the change.

Reset the machine and test it..  Make sure that the sudo command on 7. is working (shared folder is available in linux) before you add the command to the rc.local file.

------------------------- Solutions found --->>>>

3. How to add Virtual Hard Drive to VM:

Since I am still struggling to get more space added to my virtualbox, I have opted to add a second hard drive to my machines so I have the necessary space when I can process videos in linux.

This is not absolutely necessary if you use the shared folders on your windows machine to store all of your big stuff.  Additionally you can run the linux raw2dng, cr2hdr, and mlv_dump in the shared folders.
But if you still want to add a second virtual hard drive to the VM the follow these instructions.

1. Open Oracle VM Virtualbox Manager and click New
2.  Name : 50GB-HD, Type:Linux, Version:Ubuntu, Click Next
3. In Memory size just click Next
4. In Hard drive, select Create a virtual hard drive now, click Create
5. Select the VDI (VirtualBox Disk Image), click Next
6. Select Dynamically allocated, click Next
7.  With the slider change the size of the disk and click Create.
     This will put a VM-disk on the list.
8. Next step is to add this disk to our MagicLantern machine.  Select the MagicLantern VM machine.  Make sure this machine is Powered Off.  If your machine is not Powered Off: selected it, right mouse click, and select the Discard saved state icon.  Can also be done from the main menu.
9.  Click on Settings in main menu.
10. Click on Storage and the new screen will show the drives mounted on the right.
11.  Select the hard drive controller (not the disk)  where you want to add, usually the one that already has the virtual machine. 
12. Note that there are two icons right of the controller, the first one is to add a CD/DVD and the second is to add Hard Disk.  If you hoover your mouse over these icons, the description will show.  Click on the add Hard Disk plus Icon.
13. Select  Choose existing disk now navigate to the directory to where you saved the disk created in step 7.  In my machine this is stored in C:\Users\RE\VirtualBox VMs\10gb-hd.  There will be a .vdi file with the name of the hard drive form step 2. ie 50GB-HD.  Click Open.
14. The new HD is added to the machine and it is automatically assigned to the controller. Click OK and now Click on Start in the main menu.
The new drive is added to the machine but it needs to be formatted.
15. First we need to confirm that the HD has been added and where it is located.
   Open Terminal and type: sudo fdisk -l  <<-- is a minus (L) no-caps
You will need to enter the password for magiclantern: 123456
16. This will bring up the disk and partitions detail of the machine:
Disk /dev/sda: 21.0 GB, 20971520000 bytes
255 heads, 63 sectors/track, 2549 cylinders, total 40960000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b6f22

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    12582911     6290432   83  Linux
/dev/sda2        14682102    18872311     2095105    5  Extended
/dev/sda5        14682104    18872311     2095104   82  Linux swap / Solaris

Disk /dev/sdb: 54.8 GB, 54766731264 bytes
255 heads, 63 sectors/track, 6658 cylinders, total 106966272 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table
Notice the last line:
Disk /dev/sdb doesn't contain a valid partition table

This is the new disk that has installed but does not have a partition, the disk is installed in the directory /dev and the name is sdb i.e.  /dev/sdb

17. In Terminal and type:
mkfs -t ext3 /dev/sdb   (In your case type whatever the fdisk command showed for the dirve on the last line.)
18. After the password the terminal will ask you that /dev/sdb is enire device, not just one partition!
Proceed anyway (y,n)
Type y
now ...the drive will be formated for you
When done the drive will appear on the desktop and in the file system
19. to confirm installation right-mouse click on the new drive and open.  It should automatically mount and open.
20.  Notice that you cannot copy or paste any files to this disk....  As a windows user I want total access to this drive so I will change! the read write permissions to this drive.  I thought this would be easy but noooooo!!!  This is linux.. everything is hard.. get used to it.  I tried so many things but nothing worked until I installed this nautilus utility.
21. Open Terminal type: sudo apt-get install nautilus
22. I dont remember all of the details about the installation but when done reset your machine, open terminal and type:
sudo gksu nautilus
23. Navegate to the /media folder in the file system
24. Right click on the drive and open Properties
25. Under the Permissions tab change permissions to read/write
25. Same place change the owner and group to MagicLantern and magiclanter respectively.  These should be selectable from drop down menu.
26. Click Apply permissions to enclosed folders.
27.  Whala!  check your new drive by creating a new folder o copying something to it.

This drive will act as a External drive to any VM machine.  So if you want to add this HD to another VM just do steps 8. through 14.

Pages: [1] 2