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.


Messages - RenatoPhoto

Pages: [1] 2 3 ... 54
1
@reddeercity
I am sure many users will be happy to know that you are working on porting this digic 4 cameras.  Make sure you post a link to the download page when you need testing.  I did not know that you had these builds!  :o

2
General Development Discussion / Re: Pre-recording for the raw_rec module?
« on: February 15, 2017, 02:22:15 PM »
Oh yea! Yet another magic bullet to add to my arsenal.. I will have to test this soon..
Thanks A1ex mk11174!

3
General Development Discussion / Re: 5D3.134 Stubs API test errors
« on: February 15, 2017, 03:06:03 AM »
Bravo!!!


4
If you formated you card then the bootflag has been removed.  Try setting the bootflag on the card again
edit:.. and installing the ML files.
and you can use EOScard to set the flag on the card.. http://pel.hu/eoscard/

5
Raw Video Postprocessing / Re: MLVProducer
« on: February 11, 2017, 05:02:53 PM »
In some circumstances I have seen the tmp file stay after MLVProduces quits.  In this situation MLVProducer has refused to start.  Remove the *.tmp file from the output directory and the problem is fixed.  Maybe MLVprolducer should check for the existance of this file and delete, or have an option to delet it, if it exist in the output directory.

6
Share Your Videos / Re: 5 Axis Timelapse
« on: February 09, 2017, 02:58:04 PM »
Cool stuff here.  Quantum time machine indeed!  ;D

7
Share Your Videos / Re: BAFTA Nominated Short - Consumed, with ML Raw.
« on: February 07, 2017, 02:57:27 PM »
Very nice and inspiring.
Thanks for sharing

8
Also note that the video playback  limit is 3 files as reported here:

http://www.magiclantern.fm/forum/index.php?topic=5601.msg179644#msg179644

9
Yes the addition of  %~n1\%~n1_ puts some relative directory notation since now mlv_dump reports this as follows:

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

Mode of operation:
   - Input MLV file: 'M07-1616.MLV'
   - Enforcing 14bpp for DNG output
   - Convert to DNG frames
   - Output into 'M07-1616\M07-1616_'
File M07-1616.MLV opened
File M07-1616.M00 not existing.
Processing...


Vertical stripes correction:
  1.00000  1.00545  1.00450  1.00774  1.00655  1.00670  1.00664  1.00230
Cold pixels : 0
Reached end of chunk 1/1 after 342 blocks
Processed 161 video frames
Done


Edit:  so that is the extent of my coding contribution.  :D

10
Yes this bug is confirmed.  I have reported it before for 5D3.
Video playback is limited to about 3 videos, probably a problem in raw_twk module.

11
Now it works, I decided to apply the %%~na\%%~na_ as in the original command to my application and changed a couple of things around.  tbh..  I dont know what it does but it works ;)

New command for a single file to create a directory and to dump the dng files to that directory.

Code: [Select]
@echo off
md "%~n1"
"E:\Downloads\00-ML\15-mlv-dump\000000-1-11-2017-utilities\mlv_dump.exe" -o %~n1\%~n1_ --dng %~n1.MLV

You need to replace the "E:\Downloads\00-ML\15-mlv-dump\000000-1-11-2017-utilities\mlv_dump.exe" with your "path-to-the mlv_dump.exe" file.

12
The batch command works well for me.  But sometimes I just want to convert a single file so I tried to create a command file to be added to the "Send To" directory so I can right click on the file and use the send to command to converted to dng in its own directory.

Since I am not a coder I am having a hard time making such command file.  After struggling for hours I got my command to work in creating the directory for the file but always the dng get extrated to the lower directory instead of the new directory.

Here is the code:
Code: [Select]
@echo off
ECHO "%~1"
set str="%~1"
set dir=%str:.MLV=%
md %dir%
E:\Downloads\00-ML\15-mlv-dump\000000-1-11-2017-utilities\mlv_dump.exe -o "%dir%" --dng %str%
cmd

The output of the mlv_dump indicates that the output is going to the correct directory but the dng do not go to that directory.
Here is the output of mlv_dump:

"F:\00-carol\M04-0953.MLV"

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

Mode of operation:
   - Input MLV file: 'F:\00-carol\M04-0953.MLV'
   - Enforcing 14bpp for DNG output
   - Convert to DNG frames
   - Output into 'F:\00-carol\M04-0953'
File F:\00-carol\M04-0953.MLV opened
File F:\00-carol\M04-0953.M00 not existing.
Processing...


Vertical stripes correction:
  1.00000  0.99428  0.99554  0.98544  0.99348  0.98932  0.99408  1.00008
Cold pixels : 0
Reached end of chunk 1/1 after 352 blocks
Processed 98 video frames
Done

Note:  I tried with and without quotation marks on the dir and str variables but there is not change..
I suspect the problem was solved on the original batch command with the strange addition of  %%~na\%%~na_  just after the -o??

13
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).


14
General Development Discussion / Re: Experiment - Dynamic My Menu
« on: February 02, 2017, 09:04:24 PM »
Looks pretty cool.

15
I like crop mode recording but could see it as magic crop module  :D

16
General Development Discussion / Re: Experiment - Dynamic My Menu
« on: February 01, 2017, 02:08:38 AM »
Yes looks interesting.  I use My menu in Canon menu for quick access to the most important functions.
What happens when you switch from one config file to the next?  I use multiple config files for specific recording options.. will this menu be built across all of the config files or will it only be specific to each config file.

17
@dfort I am sure many users will be very happy of your findings.  Thanks for your great help.

18
Thanks Walter, that explains very well all the problems regarding the quotation marks some people experienced with this command.

19
Well it looks like in Windows 10 you need to use the quotation marks "" around the path portion of the command line.
I use it win Windows 7 ultimate and do not use  quotation marks.

20
Share Your Videos / Re: Kuwait Timelapse & Hyperlapse
« on: January 30, 2017, 10:33:01 PM »
Beautiful and stunning work!  Congratulations to you and to the ML team that turn these canon cams into real beast!

21
Also I found this on on Crop_rec code specific to 3x3:

           
Code: [Select]
/* 3x3 binning in 720p (in 1080p it's already 3x3) */
            case CROP_PRESET_3x3_1X:
                /* ADTG2/4[0x800C] = 2: vertical binning factor = 3 */
                adtg_new[0] = (struct adtg_new) {6, 0x800C, 2};
                break;


and this:

           
Code: [Select]
/* 3x3 binning in 720p */
            /* 1080p it's already 3x3, don't change it */
            case CROP_PRESET_3x3_1X:
                if (is_720p())
                {
                    /* start/stop scanning line, very large increments */
                    cmos_new[1] = PACK12(8,29);
                }
                break;


and this on adtg_gui.c:

Code: [Select]
static int crop_mode_reg(int reg)
{
    if (regs[reg].dst == DST_CMOS)
    {
        switch (regs[reg].reg)
        {
            case 1:                     /* CMOS[1]: vertical position and size */
                return (video_mode_resolution)
                    ? PACK12(14,10)     /* 720p,  almost centered */
                    : PACK12(11,11);    /* 1080p, almost centered */

            case 2: return 0x10E;       /* CMOS[2]: horizontal position and downsizing factor */
            case 6: return 0x170;       /* CMOS[6]: ISO related? */
        }
    }
    else if (regs[reg].dst == 2)        /* ADTG 2 */
    {
        switch (regs[reg].reg)
        {
            case 0x8000: return 5;      /* it's 5 in zoom mode and 6 in 1080p; this also overrides ADTG4 */
            case 0x8806: return 0x6088; /* without this, you get some weird artifacts; this should only go to ADTG2, not 4 */
        }
    }

    return 0;
      


So then I realize that I dont know which registers should be changed to try to increase the vertical resolution of the resulting video in 3x3 bining.

I am not a coder so I will leave this to those who have a better understanding of what is going on.

22
This is the most straight forward summary of the registers posted by you for 5d3 here (The code on adtg_gui.c just shows how extensive is the information so far obtained.  :o):

http://www.magiclantern.fm/forum/index.php?topic=10111.msg145036#msg145036      
April 14 2015   

For 5D3, a configuration that appears to work is:
      
Code: [Select]      
CMOS[1]                 0xB8B           vertical position and size      
CMOS[2]                 0x10E           horizontal position and downsizing factor      
CMOS[6]                 0x170           ISO related? pink highlights without it      
ADTG2[0x8000]           0x5             it's 5 in zoom mode and 6 in 1080p      
ADTG4[0x8000]           0x5             same      
ADTG2[0x8806]           0x6088          without this, you get some weird artifacts      
                                        note: ADTG4[0x8806] should not be changed (default 0x6048)   


23
Well certainly it would help if adtg_gui  is required to to try some register modifications.  I would do it if I knew what registers and what range to try.
Currently I have loaded Iso_regs and will probably try some of the iso changes..

24
@A1lex:
Do you think it is still possible to find new settings for  CMOS/ADTG/Digic that could lead to larger height on the 3x3 bining settings.  Right now it is limited to 672 px height. 
Have you reached then end of possibilities to improve this recording method?
I ask because this seems like a very useful finding and maybe others can explore further if you think there is still room for improvement.

25
Testing of 3x3 crop module recording at 60 fps with 5D3-123
Test to evaluate the lower noise and higher definition of 3x3 bining recording.
Build: magiclantern-crop3x.2017Jan13.5D3123

For comparison below are three frames from recordings at standard (stretch) 60 fps recording, 3x3 bining, and 1:1 recording.



First thing to notice is that 3x3 bining produces an image that is not zoomed like 1:1 and that it has a reduced height (1920x648).

Now the corresponding crops to see more details of each:



The 3x3 recording shows better definition than the stretched images but not as high as 1:1.
The 3x3 recording shows a little less color saturation.
The 3x3 recording shows less noise.

This 3x3 recording module gives a higher image quality for the situations in which the zoom (3x) cannot be used.  The restricted resolution of 1920x648 can be maxed out to 1920x672 by changing the aspect ratio to almost 5:3.  This gives a usable video of 1920x665.

Here are some sample videos recorded with stretch mode, at 3X3, and 1:1 mode.  The videos where slowed down to 25% speed by twixtor and slightly sharpened.

Stretch

3x3 bining

1:1 Recording

Pages: [1] 2 3 ... 54