Menu

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.

Show posts Menu

Topics - tecgen

#1
Dear all,

the current lower resolutions in the mlv_rec module are 640, 960, 1280 and so on. My little 550D has an SD Card interface and could theoretically write around 20 MB/s to the card. At the moment I could only choose between 960 and 1280. This is a huge step of 320 pixel. With an aspect ration of 2,39:1 at 24 frames per second I need the following write speeds for continious recording.

960px = 15,4 MB/s
1280px= 27,8 MB/s

In mlv_rec.c I read

,,...

* resolution (in pixels) should be multiple of 16 horizontally (see http://www.magiclantern.fm/forum/index.php?topic=5839.0)
* furthermore, resolution (in bytes) should be multiple of 8 in order to use the fastest EDMAC flags ( http://magiclantern.wikia.com/wiki/Register_Map#EDMAC ),
* which copy 16 bytes at a time, but only check for overflows every 8 bytes (can be verified experimentally)
* => if my math is not broken, this traslates to resolution being multiple of 32 pixels horizontally
* use roughly 10% increments
..."

I think its a good idea to provide finer resolution steps for SD card interface limited cameras.

These are possible new values between 640 and 1280 px where the resolution is a multiple of 32 pixel.
672, 704, 736, 768, 800, 832, 864, 896, 928, 980, 992, 1024, 1056, 1088, 1120, 1152, 1184, 1216, 1248


My SD card has an average write speed of 19,7 MB/s. I compiled a modified version of the mlv_rec module and tested it. Here are some settings near the 20 MB/s limit which are not (all) possible now, but make sense for me.

@24p
aspect ratio / resolution / bandwidth / comment
2,39:1 1088X456px ~ 19,8 MB/s
2,39:1 1120x468px ~ 20,9 MB/s
2,35:1 1088x462px ~ 20,1 MB/s
16:9   928x522px  ~ 19,3 MB/s
4:3    768x576px  ~ 17,7 MB/s (PAL resolution?)
4:3    800x600px  ~ 19,2 MB/s
4:3    832x624px  ~ 20,7 MB/s

To increase the width from 960 to 1088 pixel means 128 more useable pixel in aspect ratio 2,39:1 on cameras with an slow ~20MB/s SD Card interface.

@30p
aspect ratio / resolution / bandwidth / comment
2,35:1 960x408px  ~ 19,5 (already possible now)
2,35:1 992x422px  ~ 20,9
16:9   832x468px  ~ 19,4
16:9   864x486px  ~ 20,9
4:3    736x552px  ~ 20,3

@60p
aspect ratio / resolution / bandwidth
2,35:1 864x220px  ~ 18,9
2,35:1 896x230px  ~ 20,6
16:9   768x260px  ~ 19,9
4:3    672x302px  ~ 20,2
4:3    640x288px  ~ 18,4


https://bitbucket.org/tecgen/magic-lantern/branch/smaller_resolution_increases#diff

What do you think about?

best regards
Marco
#2
General Development / Font used for the icons?
April 08, 2016, 01:21:48 PM
Dear all,

I've got three different DSLRs. 550d, 50d and 5d2. Only the 550d has a Q-button. The function of the Q-button on the 50d is the FUNC.-button. On the 5d2 the picture style button is the Q-button.
I like to see the matching icon within Magic Lantern on each model. Currently the icons/Q-back.png and icons/Q-forward.png files are used. For the 50d and 5d2 builds I like to use different icons in future.

Which font has been used to create the Q icon or other parts of ML?

best regards,
Marco 
#3
General Development / rst2html5 instead of rst2html
March 16, 2016, 01:26:01 PM
Dear all,

I am compiling ML on a Mac running the latest OSX 10.11.3. The build fails because within the file modules/readme2modulestrings.py we use rst2html. I was not able to install rst2html dependency on OSX but I can install rst2html5 without any problems. I am sure many developer use Linux to compile ML.

- Is rst2html5 is also available on Linux?
- Can we simply switch from rst2html to rst2html5?
- Do we need a pull request or could one of the experienced developers simply commit this change? ;)

current line:
txt = run('cat README.rst | grep -v -E "^:([^:])+:.+$" | rst2html --no-xml-declaration | python ../html2text.py -b 700')


OSX compatible line:
txt = run('cat README.rst | grep -v -E "^:([^:])+:.+$" | rst2html5 | python ../html2text.py -b 700')


best regards,
Marco