Author Topic: Danne's crop_rec_4k experiments for EOS M  (Read 152010 times)

aulden

  • New to the forum
  • *
  • Posts: 13
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1075 on: June 14, 2019, 05:10:18 PM »
@Danne,
Is there anything us users can do to help develop a larger real time preview for the 4k rewired anamorphic?
Also, can we help test regs for eliminating the focuspixel field? Or is that a lost cause?

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1076 on: June 14, 2019, 05:46:53 PM »
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

@berechiah
A little bit better regarding FPS override. It will still show wrong when set in mcm mode but it will apply faster canon shutters anyway.

@Danne,
Is there anything us users can do to help develop a larger real time preview for the 4k rewired anamorphic?
Also, can we help test regs for eliminating the focuspixel field? Or is that a lost cause?
You tell me what you can do to help?
If you don´t know how to use adtg_gui I suggest you start learning how to use it. If you ask for what to look for, I don´t know. If I knew it would already be fixed right?
There´s no shortcut into this. If you mean serious help please spend a year or so trying to solve this, starting with what already has been discussed on the topic. Good luck!

2blackbar

  • Senior
  • ****
  • Posts: 492
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1077 on: June 14, 2019, 06:37:03 PM »
Greg here wrote something about being able to find focus pixels table https://www.magiclantern.fm/forum/index.php?topic=23086.msg209902#msg209902

lightspeed

  • New to the forum
  • *
  • Posts: 47
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1078 on: June 14, 2019, 08:25:07 PM »
is there anyway to fix fps override in 3k mode. When ever I set it to 18 fps the preview is scrambled.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1079 on: June 14, 2019, 09:06:48 PM »
Increase reg_6014 in crop mode sub menu, select framing preview. Report back.

lightspeed

  • New to the forum
  • *
  • Posts: 47
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1080 on: June 14, 2019, 10:48:50 PM »
Yes it works when you do it that way. And that’s how I have been doing it but I have to change it every time I turn on the camera. If I could use FPS then it would save the setting I believe

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1081 on: June 14, 2019, 10:58:04 PM »
Find this part in crop_rec.c:
Code: [Select]
  if (ratios == 0x1 || ratios == 0x2)
  {
    switch (reg)
    {
/* will change to 19fps for continous action */
        case 0xC0F06804: return 0x5190310 + reg_6804_width + (reg_6804_height << 16); /* 3008x1280 19fps  x5 Mode(2.35:1) */
        case 0xC0F0713c: return 0x519 + reg_713c;
        case 0xC0F07150: return 0x514 + reg_7150;
        case 0xC0F06014: return 0x7cd + reg_6014;
    }
  }
Change:
Code: [Select]
        case 0xC0F06014: return 0x7cd + reg_6014;to:
Code: [Select]
        case 0xC0F06014: return 0x839 + reg_6014;Then comppile for your camera.

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1082 on: June 14, 2019, 11:02:22 PM »
Thanks Danne for that today. It works perfectly now. Really appreciate your help.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1083 on: June 15, 2019, 05:02:39 PM »
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Commits:
https://bitbucket.org/Dannephoto/magic-lantern/commits/7f1e2337ec69f259bffe378c512fb407f0d7f45b
https://bitbucket.org/Dannephoto/magic-lantern/commits/485593fabdf978710105603b2432e5148ada4586

- Reworked 4k, increased height
- Timelapse presets. Only active in conjuction with 4k preset. Timelapse option allows also for 5k.







On eosm timelapse or reduced fps works also with FPS override and then you´ll get shutter blanking included too. This works through crop rec with 100D straight in crop_rec.c but not with eosm, go figure. So eosm timelapse from crop rec will be slow shutter only. If you have no idea what I´m talking about just grab a beer and start playin´ 8)

dokipen

  • New to the forum
  • *
  • Posts: 13
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1084 on: June 16, 2019, 01:58:06 AM »
here's a few clips, 4k anamorphic, only changed aspect ratio to 16:9 and set 25fps, 1064x1800 resized to 4k, very "clean" videos only selected 3x3 smooth in mlvapp and it was ready to go, @Danne where's the aliasing now? :)
watch in 2k or 4k resolution

I'm on 7th June build and 4k anamorphic mode at 16:9 gives a res of 1064x1975. I could only get that resolution (1064x1800) when setting the aspect ratio to 5:3. Did something change between builds?

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1085 on: June 16, 2019, 06:08:27 AM »
1120x1900 when set to 16:9
Above mode becomes 1064x1800 when bitdepth is set to 12bit.

dokipen

  • New to the forum
  • *
  • Posts: 13
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1086 on: June 16, 2019, 09:47:53 AM »
I'm on 7th June build and 4k anamorphic mode at 16:9 gives a res of 1064x1975. I could only get that resolution (1064x1800) when setting the aspect ratio to 5:3. Did something change between builds?

Never mind, i seem to be getting good results with setting the ratio to 1:2 in raw vid module and 16:9 in crop rec. I get 1120x1900 which expands to 3360x1900 which i guess is '4k'.

dokipen

  • New to the forum
  • *
  • Posts: 13
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1087 on: June 16, 2019, 09:48:40 AM »
1120x1900 when set to 16:9
Above mode becomes 1064x1800 when bitdepth is set to 12bit.

ah just saw your reply too. :) cheers danne.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1088 on: June 16, 2019, 09:55:15 AM »
4k with 2.35:1 preset.

Don't touch the ratio tab in raw video. Instead set it to maximum or run the cinema lua script and then choose the ratio presets in crop mode sub menu.

AF-OFF

  • Member
  • ***
  • Posts: 109
  • 50Dc EOSM
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1089 on: June 16, 2019, 03:53:31 PM »
On eosm timelapse or reduced fps works also with FPS override and then you´ll get shutter blanking included too.  8)

Hey Danne
many thanks for the shutter speeds which were not available with fps override before!
I've noticed this by accident in some may version. I could then for the first time use FPS override with shutter speeds much quicker (1/100 sec for example) at 2.5 fps.
This is awesome!
I've tested the June 04 version extensively and have not had a single corrupt frame in some 70+GB of footage.
Many many thanks for Your incredible efforts and work!

p.s. made with Danne's experimental build
https://www.magiclantern.fm/forum/index.php?topic=24252.0

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1090 on: June 16, 2019, 04:51:21 PM »
No corrupted frames. Sounds great. Keep up the good work and tests.

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1091 on: June 16, 2019, 07:43:43 PM »
Hi Danne
Just did some video today.
I can set any shutter speed now regardless what ever u set my fps to.

But it seems if I go past 36 of 30fps i see a distorted liveview

I did every other type if setting to see if it went away
But the live view is pinky and messed up if I go past 36fps

Any ideas ?
Its not so important it is just an update

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1092 on: June 16, 2019, 08:09:04 PM »
If you refer to mcm rewired mode set to 16:9 in crop mode menu and canon fps set to 30fps I can over here set FPS override to 42fps with good liveview.

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1093 on: June 16, 2019, 10:01:26 PM »
Yes I am in 1080p rewire and I am 37fps all the way to 42fps (40 or 30fps)

and I still see the bad live view

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1094 on: June 16, 2019, 10:03:39 PM »
I have a bit issue

I used my camera today for a cake smash for my 1year old

I am am looking at the video an I see the focus dots

I had them gone before but they seem to be back again

I am doing my best to find old posts to try to fix it

can anyone help me I am totally at a lost I am 1 hour searching and testing

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1095 on: June 16, 2019, 10:54:33 PM »
What preset used? If you're not using dfort's pixel maps try chroma smooth 3x3.

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1096 on: June 16, 2019, 11:04:09 PM »
Dose 3x3 soothing make is softer?

I got the files dfort uploaded
I downloaded the Download repository

I copy all the files in focus_pixel_map_files folder its full of .fpm files

I just pasted them into

/Users/admin/Library/Services/mlvfs/contents

I am most likely doing it wrong but it seems to have made it a bit better

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7235
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1097 on: June 16, 2019, 11:36:06 PM »
Use your eyes and tools to actually look at the file and be your own judge about softness.

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1098 on: June 17, 2019, 12:03:15 AM »
Ok ill do that.
Thaksn

berechiah

  • Freshman
  • **
  • Posts: 84
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #1099 on: June 18, 2019, 01:03:23 AM »
Use your eyes and tools to actually look at the file and be your own judge about softness.

Got it figured out after all.
I went trough the whole form and found step by step instructions how to put the .fpm files in the mlvapp and mlvfs

Also I looked an 3x3 in the mlvapp dose not take away any quality from what I noticed

Sorry its very simple stuff for you guys but it was a great to finally get time to get it sorted.

Thanks for the advice