Author Topic: Canon EOS M  (Read 928358 times)

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1525 on: July 01, 2018, 05:33:18 PM »
Interesting. Managed to force my eosm into mv1080p by recording h264 while in modified from now on and while recording I locked the registers. Then turned off recording, selected RAW video and started recording in mv1080p.
Ideas build upon theBilalFakhouri wanting some registers sent and from ideas from A1ex prior instructions, dfort etc.
The file is far from perfect. Plays ok in MlRawViewer while Mlv App gets the picture all distorted. Metadata is probably off:
Mv1080p file:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/M01-1640short.MLV

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1526 on: July 01, 2018, 05:53:55 PM »
Here´s a log where I hit record (H264 mov) and while recording I go to modified from now on and turn that setting on. When I stop recording the camera goes back into mv720p mode and a bunch of stuff is revealed. adtg_gui is really something...
Code: [Select]
Canon EOS M 2.0.2
c0f04808: ff00a38 (was fef6df0)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=1c5f0 addr=1ae6a0
c0f35088:     2d7 (was 4a6)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff27c848 addr=43a9c
c0f09008: 2d6070f (was 4a5070f)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=31fdc addr=1ba1b8
c0f0903c:  280064 (was 200064)   ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=32088 addr=1ba1b8
c0f09040: 2c806f4 (was 4a006f4)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=320a4 addr=1ba1b8
c0f0905c:  280064 (was 200064)   ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=32124 addr=1ba1b8
c0f09060: 2c806f4 (was 4a006f4)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=32140 addr=1ba1b8
c0f08548: e2e152d (was def152d)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=280bc addr=4076c2cc LV resolution * downsize factor? (RAW.height * D | RAW.width * D)
c0f0854c: 7580b04 (was 7200b04)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=280bc addr=4076c2d4
c0f08554: e2f152e (was df0152e)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=280bc addr=4076c2e4
c0f08558: 5050303 (was 3030303)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=280bc addr=4076c2ec
00028172:     3b7 (was 6fd)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=33be8 addr=40481b28 PowerSaveTiming 'on', set to Line count + 1
00028173:     47c (was d71)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=33be8 addr=40481b2c PowerSaveTiming 'off', should be slightly below FPS timer B
00f00008:     800 (was 400)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=33e38 addr=4048258c Unknown, used on 6D
c0f14408:3f000000 (was 1f000000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=menu_redraw_task pc=afbb4 addr=1e9cd0
c0f14808:3f000000 (was 1f000000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=menu_redraw_task pc=afbc0 addr=1e9cd0
c0f03004:80160000 (was 80070002) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984398
c0f03008:80150000 (was 80070004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843a0
c0f03010:80130000 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843a8
c0f03014:80160002 (was 80080000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843b0
c0f03018:80150002 (was 80120000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843b8
c0f03020:80130002 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843c0
c0f03030:80130004 (was 80130000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843c8
c0f03038:80050000 (was 80150000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843d0
c0f0303c:80060000 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843d8
c0f03064:80150004 (was 80130004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843e0
c0f03068:80160004 (was 800b0000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843e8
c0f03070:800b0000 (was 80080004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9843f0
c0f038f0:801c0004 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984520
c0f038f4:801d0004 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984528
c0f038f8:801e0004 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984530
c0f038fc:801f0004 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984538
c0f03900:80200004 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984540
c0f03904:80210004 (was 80210008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984548
c0f03908:80220004 (was 80220008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984550
c0f03934:80280000 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984558
c0f0393c:80250004 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984560
c0f03950:80260000 (was 80230004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984568
c0f03954:80270000 (was 80240004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984570
c0f03958:80280002 (was 80250004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984578
c0f03964:80230004 (was 80280000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984590
c0f03968:80240004 (was 80280002) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984598
c0f030d4:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9845b0
c0f030e4:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9845c0
c0f03a24:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984690
c0f03a28:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff984698
c0f03a2c:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9846a0
c0f03a30:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9846a8
c0f03a34:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9846b0
c0f03a38:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9846b8
c0f03a3c:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9846c0
c0f03a40:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50aaf0 addr=ff9846c8
c0f01034:   f9fe0 (was f9fe1)    ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff2c4cd0 addr=1ae628
c0f01030:   f9fe0 (was f9fe1)    ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff2c4cc4 addr=1ae628
000282b6:     3b4 (was 6f4)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=359a8 addr=40481be8 PowerSaveTiming 'on'? set to Line count - 1
c0f0713c:     6f4 (was 4a7)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=270e0 addr=5df48 HEAD3 timer (ticks?)
0002800c:       4 (was 2)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=341e0 addr=40481c14 Line skipping factor (2 = 1080p, 4 = 720p, 0 = zoom)
00028178:     3b7 (was 6fd)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=359a8 addr=40481bd0 PowerSaveTiming 'on', set to Line count + 1
00028179:     47c (was d71)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=359a8 addr=40481bd4 PowerSaveTiming 'off', should be slightly below FPS timer B
000288c6:     2d4 (was 4a4)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40481fd4
000288ce:     2d4 (was 4a4)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40481fe4
000288d5:     b03 (was 903)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40481ff0
000288d6:     11f (was 1cb)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40481ff4
000288d7:     1d2 (was 2f6)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40481ff8
000288da:     504 (was 201)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482004
000288db:     b0a (was 706)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482008
000288df:       2 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482010
000288e0:       1 (was 2)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482014
000288e1:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482018
000288e7:       5 (was 6)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482020
000288e8:       a (was 9)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35c44 addr=40482024
00028196:     190 (was 12e)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35e74 addr=40481ca0 PowerSaveTiming 'on', set to Line count + 1
00028197:     13a (was 38c)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=35e74 addr=40481ca4 PowerSaveTiming 'off', should be slightly below FPS timer B
c0f37a70: 2d6070f (was 4a5070f)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509198 addr=ff983e28
c0f37b8c: 2d6070f (was 4a5070f)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509198 addr=ff983e68
c0f08184:     2d6 (was 4a5)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509198 addr=ff983f08 LV resolution (RAW.height) aka HIV_V_SIZE
c0f37ad0: 2d6070f (was 4a5070f)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509198 addr=ff984040
c0f37014:      22 (was e)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509198 addr=ff984190 LV raw type (see lv_af_raw, lv_set_raw) - DIGIC V
c0f4200c:       2 (was 12)       ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=AeWb pc=28e3c addr=772d14
c0f38070: 2ba01b5 (was 48801b5)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff71fc48 addr=1ae3e0
c0f38080: 2b80002 (was 4860002)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff71fc98 addr=1ae3e0
c0f38094: 2bb0000 (was 4890000)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff71fd10 addr=1ae3e0
c0f38024: 2d601c3 (was 4a501c3)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff71fb68 addr=1ae3d0
c0f383d4:  1c000e (was 1d000e)   ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff71fbb0 addr=1ae3d0 Preview area (y1 | x1/4)
c0f383dc: 2d701c4 (was 4a601c4)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff71fd44 addr=1ae3e0 Preview area (y2 | x2/4)
c0f38934: 2b701b5 (was 48501b5)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff7216b8 addr=1ae020
c0f38960: 2b70000 (was 4850000)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff721760 addr=1ae020
c0f38998:e4e4e4e4 (was 6c6c6c6c) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff721868 addr=1ae020
c0f3899c:  100000 (was 120001)   ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff721888 addr=1ae020
c0f389a4: 2b701b5 (was 48501b5)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff7218b0 addr=1ae020
c0f389b4: 2b801b6 (was 48601b6)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff721900 addr=1ae020
c0f389d4: 2b701b5 (was 48501b5)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff721954 addr=1ae020
c0f389e4: 2b801b7 (was 48601b7)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff7219a4 addr=1ae020
c0f42014: 2ba01b5 (was 48801b5)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5886e4 addr=1ae5e0
c0f4204c: 2ba01b5 (was 48801b5)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff588748 addr=1ae5e0
c0f3a044:     22c (was 2ac)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff726de0 addr=1ae5d8
c0f3b054: 2b706c7 (was 48506c7)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff719b5c addr=1ae5a0
c0f3b070: 2b70717 (was 4850717)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff719b84 addr=1ae5a0
c0f3b074: 2b10717 (was 47f0717)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff719b98 addr=1ae5a0
c0f3b0dc: 2b1070f (was 47f070f)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff58eefc addr=1ae5d8
c0f1a00c: 2b106bf (was 47f06bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98570c LV resolution (raw.j.width | raw.j.height)
c0f11b88:       0 (was 80000000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985744
c0f11b8c:   50009 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98574c
c0f11b90:   20333 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985754
c0f11b98:     3bf (was 6bf)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985764
c0f11b9c: 2b106bf (was 47f06bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98576c
c0f11bc8:       0 (was 80000000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98578c
c0f11bcc:  400045 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985794
c0f11bd0:   50200 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98579c
c0f11bd8:     27f (was 47f)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9857ac
c0f11bdc: 2b103bf (was 47f06bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9857b4
c0f2c01c: 28003bf (was 48006bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9858a4
c0f2c054: 28103d0 (was 48106d0)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9858d4
c0f2c0b8: 2800000 (was 4800000)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9858ec
c0f2c0c0: 3c20000 (was 6c20000)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9858fc
c0f11a8c:   30004 (was 50006)    ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985924
c0f11a90:   102ab (was 20333)    ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98592c
c0f11a98:     2cf (was 59f)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98593c
c0f11a9c: 27f03bf (was 47f06bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985944
c0f111c4:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985964
c0f11acc:   30004 (was 50006)    ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff985984
c0f11ad0:   102ab (was 20333)    ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98598c
c0f11ad8:     1df (was 3bf)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff98599c
c0f11adc: 27f02cf (was 47f02cf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9859a4
c0f11588:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff509eb8 addr=ff9859cc
c0f04110: 27f0780 (was 47f0d80)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a324 addr=ff985c8c
c0f1197c: 2b106bf (was 47f06bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a6b0 addr=ff988548
c0f11984: 2b106bf (was 47f06bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a6b0 addr=ff988558
c0f11388:    6073 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a6b0 addr=ff9885d0
c0f11394: 2b106bf (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a6b0 addr=ff9885e0 LV resolution (raw.j.height | raw.j.width)
c0f113bc:       1 (was 3)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a6b0 addr=ff9885f0
c0f11a58:       1 (was 3)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff50a6b0 addr=ff988618
c0f07150:     320 (was 46a)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=270f4 addr=5df90 HEAD4 timer (ticks?)
c0f0300c:       0 (was 80040000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b3c
c0f0302c:       0 (was 80020000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b44
c0f03034:       0 (was 80160000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b54
c0f0306c:       0 (was 80050000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b74
c0f030a0:       0 (was 80160004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b7c
c0f030a4:       0 (was 80050003) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b84
c0f030a8:       0 (was 80160006) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b8c
c0f030ac:       0 (was 80050005) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b94
c0f030b0:       0 (was 80040002) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978b9c
c0f030f0:       0 (was 80040004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978ba4
c0f038c8:       0 (was 801c0004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978cdc
c0f038cc:       0 (was 801d0004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978ce4
c0f038d0:       0 (was 801e0004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978cec
c0f038d4:       0 (was 801f0004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978cf4
c0f038d8:       0 (was 80200004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978cfc
c0f038dc:       0 (was 80210004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d04
c0f038e0:       0 (was 80220004) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d0c
c0f0390c:       0 (was 801c0008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d3c
c0f03910:       0 (was 801d0008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d44
c0f03914:       0 (was 801e0008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d4c
c0f03918:       0 (was 801f0008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d54
c0f0391c:       0 (was 80200008) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d5c
c0f03940:       0 (was 80260000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d64
c0f03944:       0 (was 80270000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978d6c
c0f03048:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978dac
c0f03050:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=Evf pc=ff5054f8 addr=ff978db4 Playback: vertical banding / darken?
c0f13048:       0 (was 3)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff2c511c addr=1a7480
c0f13058:       0 (was 1133)     ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff730394 addr=1a7478
c0f03000:       0 (was 80070000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a7750
c0f03024:       0 (was 80070006) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74f0
c0f0301c:       0 (was 80080002) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a7750
c0f03060:       0 (was 80120002) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74f0
c0f03200:       0 (was 80270000) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03204:       0 (was 80270003) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03208:       0 (was 80270006) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0320c:       0 (was 80270009) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03210:       0 (was 8027000c) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03214:       0 (was 8027000f) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03218:       0 (was 80270012) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0321c:       0 (was 80270015) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03220:       0 (was 80270018) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03224:       0 (was 8027001b) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03228:       0 (was 8027001e) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0322c:       0 (was 80270021) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03230:       0 (was 80270024) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03234:       0 (was 80270027) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03238:       0 (was 8027002a) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0323c:       0 (was 8027002d) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03240:       0 (was 80270030) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03244:       0 (was 80270033) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03248:       0 (was 80270036) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0324c:       0 (was 80270039) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03250:       0 (was 8027003c) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03254:       0 (was 8027003f) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03258:       0 (was 80270042) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0325c:       0 (was 80270045) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03260:       0 (was 80270048) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03264:       0 (was 8027004b) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03268:       0 (was 8027004e) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f0326c:       0 (was 80270051) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03270:       0 (was 80270054) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03274:       0 (was 80270057) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48a6cc addr=1a74e8
c0f03074:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48aa9c addr=1a74f8 Playback: horizontal banding (500D only?)
c0f03078:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48aab4 addr=1a7758
c0f030c0:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48ab5c addr=1a74f8
c0f03040:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48ae3c addr=1a74f0
c0f03340:       1 (was 0)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff48ae48 addr=1a74f0
c0f04d08: ddf6088 (was 72dfb0)   ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff73044c addr=1a7478
c0f13008:     101 (was 112)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b47c addr=1a7450
c0f1300c:     280 (was c00)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b4a4 addr=1a7450
c0f13010:     3c0 (was f00)      ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b4d0 addr=1a7450
c0f13014:       0 (was 9)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b4dc addr=1a7450
c0f13018:  77009f (was 44f00bf)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b4f0 addr=1a7450
c0f1301c:       0 (was bf)       ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b4fc addr=1a7450
c0f11094:      13 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff7304a4 addr=1a7478
c0f11114:       3 (was b)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71dc14 addr=1a73e8
c0f11184:       0 (was 7)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71c0f4 addr=1a7430
c0f11188:       0 (was 10000334) ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71c100 addr=1a7430
c0f04408: ddf7348 (was dd4a07c)  ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff7300e0 addr=1a7440
c0f04400:       4 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=RscMgr pc=ff413ff8 addr=27bfa0
c0f13128:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff723ae4 addr=1a74b0
c0f13140:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff72fcb8 addr=1a74b8
c0f1304c:       0 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=MovieRecorder pc=ff71b418 addr=1a74e0
c0f04d00:       4 (was 1)        ISO=800 Tv=60 Av=45 lv=1 zoom=1 mv=1 res=0 crop=0 task=RscMgr pc=ff41402c addr=27bfa0
==================================================================


EDIT:
A few more mv1080p files:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/M01-1731_14bitlossless.MLV
https://bitbucket.org/Dannephoto/magic-lantern/downloads/M01-172912bitlossless.MLV
https://bitbucket.org/Dannephoto/magic-lantern/downloads/M01-173012bitlossless.MLV

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1527 on: July 01, 2018, 06:18:20 PM »
Got an idea for mv1080. After enabling the 3x3 preset in crop_rec, run this from don't click me, while in LiveView 1080p:
Code: [Select]
EngDrvOut(0xC0F06804, 0x4a601d4);

That should change the raw resolution on the fly. This particular register is changed only when switching video modes, so the above should work. I've tested it on 5D3 with magic value 0x528011B starting from 720p 3x3 overridden to 30 fps. It almost worked (with corrupted frames).

Also make sure you have the generic PowerSave stuff enabled in crop_rec on the 3x3 preset. According to your latest log, it might be important. oops, that won't work; PowerSave registers are also set once when switching video modes; still, if you can get valid image with black bars at the bottom, that's a good sign.

Solved the corrupted frames by changing the HEAD timers. That should be done from a crop_rec preset, but first step is to get an image with the right dimensions; expecting only the top half to look fine at this stage.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1528 on: July 01, 2018, 06:44:47 PM »
Oki, I have never put in a line in 'don´t click me'. Is it in debug.c? Could you hand me this one by putting it in a code example  :P?

IDA_ML

  • Hero Member
  • *****
  • Posts: 734
Re: Canon EOS M
« Reply #1529 on: July 01, 2018, 06:53:22 PM »
@theBilalFakhouri

In Danne's build frame override unfortunately produces corrupted videos, so i can adjust (=lower) resolution to get continuous 20.5 fps or 12 fps, or 9.5 fps as defaults in 2.5K, 3K and 4K.

Since i'm most into landscapes 3K+ (because of crop factor) in 2.35:1 and 15/16fps continuous would be ultimate feat :).
It's unbelievable how much you guys can get from these cameras :).

Loknar,

For your information, with Danne's build from June 30-th, on the 100D, I get CONTINUOUS recording with sound at:

     - 3096x1320, 15 fps
     - 3840x2160, 4056x2552, 4 fps


By underexposing by one stop, I can squeeze 1 fps more in both modes but that's it.

In my opinion, it will be very difficult to push 4k to 15/16 fps unless the SD-card interface is overclocked to 80 MB/s write speed and stable recording at 8 ... 11 bit lossless is achieved. 

As far as corrupt frames are concerned, please check whether you are not in 12 or 8 ... 11 bit lossless.  This build works only with 14-bit lossless compression.  At this bit rate recording stops when buffer is full but there is no frame corruption at all.

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3743
Re: Canon EOS M
« Reply #1530 on: July 01, 2018, 07:20:23 PM »
Oki, I have never put in a line in 'don´t click me'. Is it in debug.c? Could you hand me this one by putting it in a code example  :P?

Look for this:

src/debug.c
Code: [Select]
static void run_test()
{
}

Now add the code a1ex told you to run in there:

Code: [Select]
static void run_test()
{
    EngDrvOut(0xC0F06804, 0x4a601d4);
}

I haven't tried this and am not sure if it needs something else before it will work but when you select "Don't click me!" from the debug menu it will run whatever is in that run_test() function.

Code: [Select]
#ifdef FEATURE_DONT_CLICK_ME
    {
        .name        = "Don't click me!",
        .priv =         run_test,
        .select        = run_in_separate_task,
        .help = "The camera may turn into a 1DX or it may explode."
    },
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1531 on: July 01, 2018, 07:26:50 PM »
Tried above dfort when here:
Quote
Got an idea for mv1080. After enabling the 3x3 preset in crop_rec, run this from don't click me, while in LiveView 1080p:
So canon menu set to mv1080p 24 fps counts as LiveView 1080p even since we are are actually in mv720p always. Could get the image to change so croprec 3x3 footage and preview comes out the same. Missing something?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1532 on: July 01, 2018, 08:09:07 PM »
Raw video preview (the slow one) still the same?

Max resolution displayed in the raw video menu still the same?

I don't expect Canon preview to change at all, but recorded raw video should change. The modification is temporary - it only stays there until you exit LiveView; if you do that, you will have to run that snippet again.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1533 on: July 01, 2018, 09:21:46 PM »
Tried the don´t click me snippet in my version of crop_rec and the version from crop_rec_4k_mlv_snd. Nothing seems to bite on eosm. Checked also against "slow preview". As a matter of fact only time I am able to change resolution is while filming H264 mov and during this period entering RAW video(check pic). Old news by now. Of course, by the time I exit back to my ongoing recording mov file liveview freezes.
Are you actually being able to change resolution while also in mv720p mode with this snippet? Over here liveview is probably treated as mv720p also when selecting mv1080p(you know this already)
theBilalFakhouri seems to have some registers working for running mv1080p in mv720p mode. Seems to work on 700D but not on eosm. Maybe he posts his code soon.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1534 on: July 01, 2018, 09:43:32 PM »
Yes, on 5D3 I'm able to change the resolution from 720p (with the 3x3 preset in crop_rec and FPS override to 24 or 30) to 1080p with this method. Can you try on 100D?

Also, if you are able to keep the mv1080 by locking the registers in adtg_gui, can you find a minimal subset of registers that have to be locked? (trial and error: after locking all the registers, deselect some of them with the Q key until it breaks)

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1535 on: July 01, 2018, 10:42:51 PM »
Tested on 100D and the don´t click me snippet is affecting it. I could even get it up to around 1100 vertical but retrying couldn´t get it back. Trying to record gave raw detect error. Then tried some more with eosm against various builds but still no luck here. Will not bite.
Will try the register in mv1080 some more when I get some rest.
THanks

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1536 on: July 02, 2018, 05:55:48 PM »
Alright, here's the io_trace backend for adtg_gui; I'd expect it to help with this mystery.

Write down the values of 0xC0F06804 in standby vs recording (this time I expect different values), and also the fine print.

BTW...

This is probably easier to understand on DIGIC 4 (here, the entire image processing is managed from the main CPU, as far as I could tell). However, that knowledge probably won't help much on D5/6/7; it's very much like all these image effects that only work on DIGIC 4 cameras.

Confirmed on 60D - latest adtg_gui is able to lock the zoom factor between x5 and x10 (so the image no longer doubles). Procedure: simply locking the registers modified between x5 and x10. As expected, this doesn't work on 5D3.


Screenshot: 60D registers specific to x5 (the "was" values are from x10).

Caveat: the iso-research branch does not work out of the box on 60D (fix is not straightforward; for quick tests I just comment out the stuff that locks up).

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1537 on: July 02, 2018, 09:15:30 PM »
Cool. What branch can I drop this version of adtg_gui into? Linking error in crop_rec_4k and iso_research gives this compiling for eosm:
Code: [Select]
[ AR       ]   newlib-libc.a
[ CP       ]   newlib-libm.a
[ CP       ]   gcc-libgcc.a
[ LD       ]   magiclantern
installer.o: In function `copy_and_restart':
/Users/dan/magic-lantern_Daniel/installer/EOSM.202/../../src/installer.c:246: undefined reference to `sync_caches'
fio-ml.o: In function `FIO_WriteFile':
/Users/dan/magic-lantern_Daniel/installer/EOSM.202/../../src/fio-ml.c:554: undefined reference to `sync_caches'
make[1]: *** [magiclantern] Error 1
make: *** [installer_check] Error 2
logout

Wait a minute. Getting the above error also when trying to compile a ML build for eosm in crop_rec_4k branch. Something with the latest update?

theBilalFakhouri

  • Contributor
  • Senior
  • *****
  • Posts: 360
Re: Canon EOS M
« Reply #1538 on: July 02, 2018, 09:22:20 PM »
@Danne

Compile a new build from crop_rec_4k branch .
There is also a new commit.

EDIT: Tried to compile from crop_rec_4k I also got an error.

Code: [Select]
C:\cygwin\home\Bilal4Fakhouri\magic-lantern\installer\700D.115/../../src/installer.c:246: undefined reference to `sync_caches'
fio-ml.o: In function `FIO_WriteFile':
C:\cygwin\home\Bilal4Fakhouri\magic-lantern\installer\700D.115/../../src/fio-ml.c:554: undefined reference to `sync_caches'
make[1]: *** [../../src/Makefile.src:198: magiclantern] Error 1
make[1]: Leaving directory '/home/Bilal4Fakhouri/magic-lantern/installer/700D.115'
make: *** [../../platform/Makefile.platform.extras:53: installer_check] Error 2
700D 1.1.5 | no more ISOless LV err 8

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1539 on: July 02, 2018, 09:38:17 PM »
Yes, that´s the branch I compiled from. Not working here.
I lack time right now. If you get it to compile maybe pm me a version?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1540 on: July 02, 2018, 09:42:58 PM »
Even after "make clean; make" ? Can you show the full log? I've tried with gcc-arm-none-eabi-5_4-2016q3, gcc-arm-none-eabi-6-2017-q2-update, gcc-arm-none-eabi-7-2017-q4-major and gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi, from platform/EOSM.202, commit 378698f. Couldn't get this error...

edit: ok, found; it appears only when building with "make zip"; use _sync_caches (add an underscore) in installer.c until I'll figure out how to fix it.

theBilalFakhouri

  • Contributor
  • Senior
  • *****
  • Posts: 360
Re: Canon EOS M
« Reply #1541 on: July 03, 2018, 01:27:31 AM »
The value of 0xC0F06804 while recording H.264 in EOS M is 0x4a601d4 the same in 700D at 1080p and the others registers values too (PowerSaveTiming & ReadOutTiming) .

I made a preset in crop_rec "mv1080 in EOS M" in this commit which is working fine to bring mv1080 @ 25fps in mv720 with stretched LiveView and without corrupted frames unlike EOS M the resolution hasn't changed .

A new register here ?

This how it's look like in 700D:

700D 1.1.5 | no more ISOless LV err 8

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1542 on: July 03, 2018, 07:12:47 AM »
Yeah; the mystery is why that value doesn't change in standby vs recording in adtg_gui. EOS M has some unique behavior: when not recording, LiveView is always in 720p30, regardless of Canon menu setting. However, register 0xC0F06804, which sets the captured raw image size, doesn't show up as "modified" in adtg_gui when you start recording H.264 1080p (it's not in this log, for example); furthermore, there is a hardcoded exception in raw.c near line 558 that suggests this register might be modified in some way other than EngDrvOut or engio_write. It is this hypothesis that I'd like to check with the latest adtg_gui.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1543 on: July 03, 2018, 08:02:19 AM »
Soon have a few hours here to fiddle on this. Yesterday was hectic  8)

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1544 on: July 03, 2018, 11:40:05 AM »
edit: ok, found; it appears only when building with "make zip"; use _sync_caches (add an underscore) in installer.c until I'll figure out how to fix it.

This:
Code: [Select]
    // Make sure that our self-modifying code clears the cache
    sync_caches();
To this?:
Code: [Select]
    // Make sure that our self-modifying code clears the cache
    _sync_caches();
Stiil won´t let me copmile from iso_research branch. I can compile the the adtg_gui alone but not the full eosm version.

Compiled a eosm build in crop_rec_k and then added the adtg_gui.mo from iso-research branch. Getting undefined sybol 'sync_caches' issue.
By the way, how are you compiling without make zip?
If I could get a working adtg_gui.mo linked I could get going asap.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1545 on: July 03, 2018, 12:11:17 PM »
If you compile from some branch derived from crop_rec_4k (anything other than 5684ac8 or ba4ffcc at the time of writing), make sure you sync with the latest one (hg pull && hg merge crop_rec_4k). Or just with patchmgr.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1546 on: July 03, 2018, 12:14:52 PM »
Ok, a1ex, back on it.
Got a version from theBilalFakhouri to test.

By the way. Erasing the exception below in raw.c is opening up to vertical 1160. However footage is corrupted but this coul be the restriction issue?
Code: [Select]
#ifdef CONFIG_EOSM
    /* EOS M exception */
    /* http://www.magiclantern.fm/forum/index.php?topic=16608.msg176023#msg176023 */
    if (lv_dispsize == 1 && !video_mode_crop && !RECORDING_H264)
    {
        *height = 727;
    }
#endif

136x1160:
corruption every other frame comrrupted, lines at bottom. All bits shows corruption:



Tested against code registers found by theBilalFakhouri:
https://bitbucket.org/Dannephoto/magic-lantern/commits/1f80cf380404622d39d3ca6a750281c7a18f9e37?at=crop_rec_4k_mlv_lite_snd_sd_uhs_HDR_croprec

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1547 on: July 03, 2018, 12:23:03 PM »
Does the corruption look like this, or different? https://www.magiclantern.fm/forum/index.php?topic=16608.msg176083#msg176083

"By the way. Erasing the exception below in raw.c is opening up to vertical 1160." -> does this happen even right after startup, or only after recording a H.264 clip?

Also try to change these:

Code: [Select]
case 0xC0F0713c: return 0x6f4;  /* unsure; also try deleting */
case 0xC0F07150: return 0x46a;

Maybe also try not to change the FPS (delete entries for 0xC0F06008 ... 0xC0F06014) or override it to some low value (10 fps or so).

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6266
Re: Canon EOS M
« Reply #1548 on: July 03, 2018, 12:38:10 PM »
Ok, will try registers provided:


Footage looks osmething like lnked to:
In regular mv720p(or canon mv1080p for that matter)
https://bitbucket.org/Dannephoto/magic-lantern/downloads/default_liveview_mv720p.MLV

Original 3x3_crop_rec code:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/mv3x3_720p.MLV

bilal tryout:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/mv1080p_in720p_mode.MLV
Quote
"By the way. Erasing the exception below in raw.c is opening up to vertical 1160." -> does this happen even right after startup, or only after recording a H.264 clip?

Raw video is set to 0x0 when starting up camera. When fiddling with crop_rec settings I´m still kept with 1736x1160 after turning crop_rec off but not before.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12359
  • Quarantined
Re: Canon EOS M
« Reply #1549 on: July 03, 2018, 12:43:28 PM »
Quote
Raw video is set to 0x0 when starting up camera.

Okay, that starts ringing a bell. So, with the exception erased, without enabling H.264 or crop_rec, are you able to get some valid resolution in the raw video menu?