Author Topic: [DONE] New FRAME HEIGHT for 60 fps RAW video Needed??  (Read 8286 times)

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
[DONE] New FRAME HEIGHT for 60 fps RAW video Needed??
« on: May 22, 2013, 08:46:19 PM »
Due to the stretching we need some strange frame heights to come up with 16:9 aspect ratio.  here is a list:

To Get :            need  this
----------------------------------
720x400 =>      720x 239 (240 stretches to 400 when multiplied by 1.67 aprox)
960x540 =>      960x322
1280x720 =>    1280x430
1320x740 =>    1320x442
1440x810 =>    1440x484
1600x900 =>    1600x538
1720x960 =>    1720x574
1880x1060 =>   1880x633
1920x1080 =>   1920x645

Ok so if the stretch ratio (1.674) does not change then we could make use of 239, 322,430, 442, 484, 538, 574, 633, and 645 pixels for frame height.

I tried adding this myself but got errors so we need, when time is available, to have some help from our DEVs.

Thanks for all of this wonderful stuff you are providing us.
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

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #1 on: May 23, 2013, 04:22:38 PM »
This should do the trick (although I didn't try it on 5D3, will do tonight).

http://bitbucket.org/hudson/magic-lantern/commits/2c2ee3590af5

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #2 on: May 23, 2013, 05:48:28 PM »
This should do the trick (although I didn't try it on 5D3, will do tonight).

http://bitbucket.org/hudson/magic-lantern/commits/2c2ee3590af5

Holy Mother of God!  This is way awesome.  Your implementation is brilliant!!

It kills four birds with one gem!

Bird one: Ease of selection for aspect ratio.
Bird two: Simplifies the process of selecting height x width.
Bird three: Optimizes the use of the hardware by selecting just the right height based on aspect ratio.
Bird four: Implements all of the above for squashed frames at 60fps.
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

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #3 on: May 23, 2013, 06:40:47 PM »
I think 720/60FPS is a separate fix.

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #4 on: May 23, 2013, 06:42:03 PM »
Noo 4 in 1
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

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #5 on: May 23, 2013, 06:43:52 PM »
Also dont try on 5D3 the following frame combinations, your camera may explode..

1880x1058 29.9 fps  aspect ratio 16:9
1320X742  29.9 fps  aspect ratio 16:9

ALSO AT 24 FPS
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

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #6 on: May 23, 2013, 06:45:28 PM »
So you have lockups too...

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #7 on: May 23, 2013, 06:56:04 PM »
Yea, Alex will look at it tonight.
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

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #8 on: May 23, 2013, 06:56:49 PM »
We looked so far with no solution. Some Y resolutions get no love from edmac copy rectangle.

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #9 on: May 23, 2013, 09:04:22 PM »
TEsted on 5D3   2c2ee35

OK, so here is the complete list of incompatible camera exploding frames.  Don use them  >:(

Aspect Ratio 3:1
1928x642
1880x626
1720x574

Aspect Ratio 2:39
1928x806
1880x786

Aspect Ratio 2:35
1320x562

Aspect Ratio 16:9
1880x1058
1320X742 

Aspect Ratio 3:2
1928x1286
1880x1254
1720x1146

Aspect Ratio 4:3
1320x990

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

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #10 on: May 23, 2013, 09:54:03 PM »
On 5D3 with e0d9c48

The above frame picks have been corrected.  Than you.  I will be testing the 60 fps frames now.
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

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #11 on: May 23, 2013, 10:21:28 PM »
Test completed on all aspect ratios and frame sizes no crash on 5D3  e0d9c48.
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

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #12 on: May 24, 2013, 08:41:26 AM »
Is it possible to have the width squashed rather then the height?

Anamorphic 1440x1080 for example.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #13 on: May 24, 2013, 08:54:06 AM »
It's not possible we don't know how to change sensor sampling modes.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: [DONE] New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #14 on: June 08, 2013, 11:05:46 PM »
read, compare and understand:
http://upload.g3gg0.de/pub_files/f00fa2c2cea01ee32408009b6e02fcc6/ADTG_CMOS_Writes.7z

this is only the data written to ADTG and CMOS.
try to find out as much about the registers as you can.

if all that is understood, then we have about 10% of the necessary stuff for custom resolutions.

good luck ;)
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!

pascal

  • Freshman
  • **
  • Posts: 90
Re: New FRAME HEIGHT for 60 fps RAW video Needed??
« Reply #15 on: July 04, 2013, 06:02:29 PM »
I think 720/60FPS is a separate fix.
Hi. What is necessary to get that done? I read about 1920x6xx 60 fps, and I read about 1280x720 24fps, so what is the issue with 1280x720 60fps exactly?