Magic Lantern Xmas Edition

658 views
Skip to first unread message

Alex

unread,
Dec 22, 2011, 5:11:33 PM12/22/11
to Magic Lantern firmware development
Hi,

Today I'm announcing the latest Magic Lantern update from 2011. I'll
break the tradition of posting updates here on the google groups, and
you can read the full details here:

http://magiclantern.wikia.com/wiki/Release_2011Dec22

Merry Christmas and a Happy New Year!

Alex

heartbeat

unread,
Dec 22, 2011, 5:14:22 PM12/22/11
to Magic Lantern firmware development
yipiiii

daniel thissen

unread,
Dec 22, 2011, 5:17:00 PM12/22/11
to ml-d...@googlegroups.com
Mi mejor regalo de navidad .
 gracias Alex gracias g3gg0 y todos los del grupo ML.


2011/12/22 Alex <broscu...@gmail.com>

Alex

--
http://magiclantern.wikia.com/

To post to this group, send email to ml-d...@googlegroups.com
To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en

pip

unread,
Dec 22, 2011, 5:22:26 PM12/22/11
to Magic Lantern firmware development
Well done Alex and all involved now its time to sit back and enjoy
your xmas after all your hard work, amazing work :D

Renato Murilo Langona

unread,
Dec 22, 2011, 5:23:46 PM12/22/11
to ml-d...@googlegroups.com
Very nice!!

Just did my donation for this year! Hope to do more next to help with
development!

Best regards!

> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en

--
Renato Murilo Langona - LinuxSecurity Brasil Solutions

xaos

unread,
Dec 22, 2011, 5:41:31 PM12/22/11
to ml-d...@googlegroups.com
Alex, I know that donation should be €2012 EUR... :D Donation done.

X.

John Veto

unread,
Dec 22, 2011, 6:37:46 PM12/22/11
to Magic Lantern firmware development
Awesome work! My 5DII just arrived and donation sent!

Heads Up! For anyone donating you get extras... go the the above link
to find out more info.

After you donate click on the orange button that reads "Return to
Donation Coordinator" to get your free goodies!

Happy Holidays to All!

John v.

MartinOcando

unread,
Dec 22, 2011, 6:58:54 PM12/22/11
to Magic Lantern firmware development
I also hope my donation could be more, but hang in there. You are
changing the world. This is a breakthrough. I never met such talented
group of people as you guys.

Donation sent!!!

Merry Christmas and Happy New Year to you all.

LuckyLuke

unread,
Dec 22, 2011, 7:19:44 PM12/22/11
to Magic Lantern firmware development
Just donated from Austria.
It could be great if there will any HDR workflow description in
future.
As a musician I am not so deeply in software as mostly of U guys.

Marry Christmas and great 2012(don´t belive Maya)


On 22 Dez., 23:11, Alex <broscutama...@gmail.com> wrote:
Message has been deleted

Chris71

unread,
Dec 22, 2011, 8:05:24 PM12/22/11
to Magic Lantern firmware development
Thanks Alex and g3gg0 for this great release and for your latest
improvements in low-level hacking the firmware!

Almost two years ago I sold my 500D and bought a 550D, just to get
more standard frame rates when taking videos. I remember that there
have been discussions on the internet even before the 550D was
announced if it might be possible to hack the 500D to have framerates
other than 30fps in 720p and 20fps in 1080p. People even started
petitions to ask Canon to improve the 500D firmware in this aspect
(which of course they didn't to sell some more of the newer cameras.)

Now you finally did it!

I'm not sorry for having a 550D because I like the input for external
mics, but I'm happy for all 500D users for now being able to shoot at
24 and 25 fps! :-)

Merry Christmas and a Happy New Year to you all!
Chris

scrax

unread,
Dec 22, 2011, 8:10:25 PM12/22/11
to ml-d...@googlegroups.com
Working good on my 600D! Great release...
The wrapper didn't worked on all mac i've tried so I'm looking for a better way to do it.

Rajgopal

unread,
Dec 22, 2011, 10:54:08 PM12/22/11
to ml-d...@googlegroups.com
OMG Simply fantabulistic love it
Donation done .
Merry x mas and a happy new year.

I guess you should be nominated for a nobel prize :)

Regards
Raj

Rajgopal

unread,
Dec 22, 2011, 11:01:16 PM12/22/11
to ml-d...@googlegroups.com
Sorry but just to add is there a mac software for this ? (HDR)


Thanks 
Ragards 
Raj

Begin forwarded message:

Loo

unread,
Dec 23, 2011, 1:05:37 AM12/23/11
to ml-d...@googlegroups.com
After many months of using ML's features and working overtime in order to have a little extra money, I felt compelled, NO! obligated to donate.  

A big THANKS! to Alex and all the others that contribute to the development of such useful features, that allow our cameras to compete with the big boys.

Great Job everyone.

I'm looking forward to using the new FPS control and HDR video features...but I'll definitely wait until I receive the workflow zip so I don't drive myself batty : )

-Luis Martinez




Alex

--
http://magiclantern.wikia.com/

To post to this group, send email to ml-d...@googlegroups.com
To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en



--
-Lu

Fernando Freire

unread,
Dec 23, 2011, 2:09:59 AM12/23/11
to ml-d...@googlegroups.com
Very good work Alex and all the developpers, and a lot of thanks.

The app is very stable since I don't know when, but it's posible to take a timelapse for hours (silent pics), it seems no necessary to remove the battery to kill background processes and preserve battery life on every shut-down, etc...

All of that its' a very difficult goal to achieve in a environment that runs a software (the Canon SW) that don't know that ML is here, and competes for CPU resources without piety. And yo got it !!!!

And one of the most important things, I am learning a lot on this forum from users and developpers, a LOT. The knowledge that we all are sharing it's a big thing.

I'll make another donation to support the hard, very hard and difficult work that you are doing.


Merry Christmas to all:

Fernando

2011/12/23 Loo <looma...@gmail.com>

Alex

unread,
Dec 23, 2011, 5:04:53 AM12/23/11
to Magic Lantern firmware development
Thanks to everybody for your support! I'm very happy to hear it's
stable and runs well, and very surprised by the amount of positive
feedback and coverage all around the 'net.

At some point, the HDR demo video was even compared with the old 4K
joke :)
http://www.youtube.com/watch?v=vkHLbqhwthU

-----------------

I'll be offline until next year, so I wish you Merry Christmas and
Happy New Year!

P.S. If you are already a ML contributor, just drop me an e-mail to
get the extras (HDR workflow and 5D2 port). I didn't want to send
unsolicited e-mail, so I hope you don't mind.


On Dec 23, 9:09 am, Fernando Freire <nangdo...@gmail.com> wrote:
> Very good work Alex and all the developpers, and a lot of thanks.
>
> The app is very stable since I don't know when, but it's posible to take a
> timelapse for hours (silent pics), it seems no necessary to remove the
> battery to kill background processes and preserve battery life on every
> shut-down, etc...
>
> All of that its' a very difficult goal to achieve in a environment that
> runs a software (the Canon SW) that don't know that ML is here, and
> competes for CPU resources without piety. And yo got it !!!!
>
> And one of the most important things, I am learning a lot on this forum
> from users and developpers, a LOT. The knowledge that we all are sharing
> it's a big thing.
>
> I'll make another donation to support the hard, very hard and difficult
> work that you are doing.
>
> Merry Christmas to all:
>
> Fernando
>
> 2011/12/23 Loo <loomarti...@gmail.com>
>
>
>
>
>
>
>
> > After many months of using ML's features and working overtime in order to
> > have a little extra money, I felt compelled, NO! obligated to donate.
>
> > A big THANKS! to Alex and all the others that contribute to the
> > development of such useful features, that allow our cameras to compete with
> > the big boys.
>
> > Great Job everyone.
>
> > I'm looking forward to using the new FPS control and HDR video
> > features...but I'll definitely wait until I receive the workflow zip so I
> > don't drive myself batty : )
>
> > -Luis Martinez
>

Morgan Look

unread,
Dec 23, 2011, 5:06:58 AM12/23/11
to ml-d...@googlegroups.com
Just been playing with the sample HDR footage. I don't seem to be able to post to the vimeo forum so I'm posting this here.

I was able to split the streams simply by using MPEGStreamclip to export at 12.5fps, then repeating the process starting the clip at 00:00:01
I then used cinema tools to conform the 12.5fps clips to 25fps (which makes them playback double speed).
Then I used optical flow in FCP-X slow the clips down to 50% (to make them play normal speed again, with added "predator" effect).
Finally layered the two streams up and offset one frame then blended them with the luma keyer (didn't really understand luma keyer, but it kinda worked).

Took a while to render all that, but generally a pretty simple process.

The optical flow in FCP-X does not really look like it's up to working footage of this type, maybe using HDR to preserve shadows in bright sunlight which a much shorter shutter would get better results.

http://vimeo.com/34120310

Morgan.

Veerragavan N

unread,
Dec 23, 2011, 7:38:24 AM12/23/11
to ml-d...@googlegroups.com
Kudos to alex & team for the amazing additions & to see FPS
over-ride(Thank you g3gg0 for this) on 500D.


--
Thanks and Regards,
Veeraragavan Nandakumar

_Just learnt yesterday that some sharks have started reproducing asexually
since they are not able to find mates. Wonder what triggers such a huge
shift in evolution & how? Wonder what'll happen to us? Can we or will we
evolve if ever there is a crisis?_

*"The history of the world is the history of the triumph of the heartless
over the mindless."*

Jordy Vandeput

unread,
Dec 23, 2011, 12:25:24 PM12/23/11
to Magic Lantern firmware development
Hey Alex,

I've just been testing this build on my 5D2 you sent me. And I am
amazingly impressed. I haven't had any lockups.
All the bugs that where there in AJ 5.9 are ALL fixed! Plus more extra
features from you. I have only found some small bugs, but I will
overlook them in a more detail in the upcoming week.

I tested the build with my external monitor, a very cheap one. All the
features worked on it, and everything was on the correct position like
on the camera LCD. What also surprised me was that I was able to
connect/reconnect my HDMI monitor during the run of my camera.

Another thing that surprised me where the headphones function. When I
had my HDMI monitor plugged in and my headphone, I was able to boot up
the camera and directly going into headphones mode and external
monitor support. Before (with AJ), I had to boot first with HDMI and
then plug in my headphones.

And last, which blew me away, was the resolution of the monitor. Your
fixed resolution works like a charm! The external monitor didn't shut
off for some seconds to change resolution.

I think this build is already ready for release. (a side from those
minor bugs)

Thanks a lot for you legendary work!

Jordy

JeremyOne

unread,
Dec 23, 2011, 1:45:32 PM12/23/11
to Magic Lantern firmware development
I applaud your posting of the release to the Wiki, it makes the
release much easier to find!

Jeremy

mart

unread,
Dec 23, 2011, 4:18:43 PM12/23/11
to ml-d...@googlegroups.com
Thank you Alex!

Just tried new HDR feature with 720@60p. Seems to work well on my 550D (except a few frames from the beginning)
Maybe farther experiments are needed, but sounds very promising !


3pointedit

unread,
Dec 23, 2011, 8:25:35 PM12/23/11
to Magic Lantern firmware development
Thanks again a1ex, has anyone tried speed ramping with the shutter
speed effect? It's fun and very cool, makes EOS DSLR into hand cranked
olde worlde camera ;)

Just alter speed value while recording.

Morgan Look

unread,
Dec 23, 2011, 8:45:21 PM12/23/11
to ml-d...@googlegroups.com
Would it be possible to make it take one frame of video for every half press of the shutter button?

This should allow one to sync two cameras with a clock generator in the remote port (time code sync?).

Morgan.

01101011

unread,
Dec 24, 2011, 1:34:41 AM12/24/11
to Magic Lantern firmware development
super great work you people as always.

if anyone is interested, there is a small error with the matrices and
the color space conversions in the script.
this is the cause of the heavy banding.

also, interframe works much better with Preset="Placebo"
Tuning="Film" may help but i am not sure.

but in order to use Preset="Placebo" you have to download interframe
from here:
http://www.spirton.com/interframe/
and copy EEDI2.dll to the \Avisynth-plugins\ folder

so, here is the corrected hdr_split.avs :

SetMemoryMax(1024)
Import(ScriptDir()+"..\Avisynth-plugins\InterFrame.avsi")
LoadPlugin(ScriptDir()+"..\Avisynth-plugins\ffms2.dll")
LoadPlugin(ScriptDir()+"..\Avisynth-plugins\EEDI2.dll")
Import(ScriptDir()+"..\Avisynth-plugins\FFMS2.avsi")
LoadPlugin(ScriptDir()+"..\Avisynth-plugins\RemoveGrainSSE3.dll")
LoadPlugin(ScriptDir()+"..\Avisynth-plugins\mvtools2.dll")

A = FFVideoSource("..\RAW.MOV")
A = selecteven(A)
A = assumefps(A, 25)
A = InterFrame(A, NewNum=50, NewDen=1, GPU=false, Preset="Placebo",
Tuning="Film", FlowPath=ScriptDir()+"..\Avisynth-plugins\")
A = assumefps(A, 25)
A = trim(A, 1, 0)
A = ConvertToRGB(A, matrix="PC.601", interlaced=false)
A = ImageWriter(A, "..\frames\A", type = "jpg")

B = FFVideoSource("..\RAW.MOV")
B = selectodd(B)
B = assumefps(B, 25)
B = InterFrame(B, NewNum=50, NewDen=1, GPU=false, Preset="Placebo",
Tuning="Film", FlowPath=ScriptDir()+"..\Avisynth-plugins\")
B = assumefps(B, 25)
B = ConvertToRGB(B, matrix="PC.601", interlaced=false)
B = ImageWriter(B, "..\frames\B", type = "jpg")

return Interleave(A,B)
B = ImageWriter(B, "..\frames\B", type = "jpg")

return Interleave(A,B)

JeremyOne

unread,
Dec 24, 2011, 7:01:27 AM12/24/11
to Magic Lantern firmware development
Regarding FPS override, if the maximum FPS is a limitation of the
processor alone, and how many pixels a second it can process, it seems
like we could get more than 60FPS in 640x480 mode.

Again, if this is only a limitation of processing power, my quick and
dirty calculations make it seem possible to do 640x480 at 200fps.

1920x1080 x30fps = 62,208,000 pixels/sec
1280x720 x60fps = 55,295,000 pixels/sec
640x480 x200fps = 61,440,000 pixels/sec

Not sure if it is feasible otherwise, but it would be an interesting
test. However, in the current version I can't select more than 60fps
in the override.

Jeremy

On Dec 22, 2:11 pm, Alex <broscutama...@gmail.com> wrote:

g3gg0

unread,
Dec 24, 2011, 8:45:35 AM12/24/11
to Magic Lantern firmware development
Hi,

i am investigating the internal communication for sensor setup.

a) 640x480 seems to have the same limitations as 1920x1080 (640 is a
1920 just downsampled in encoder?), so it might be the wrong
resolution to start with
b) 1280x720 with 50 fps seems to configure the controllers different
from 1920 and 640 modes and thus may be a good point to start at
c) until now i am not sure if the resolution is programmable at all.
but that would be necessary to get more FPS.
d) the processing speed is also limited by the main processor, the IO
controller and the MPEG encoder. all participating components have to
be "fps-overclocked"
e) when looking at the main processor code, i am not sure if the the
main firmware can do higher fps - it does far too much processing for
*every* *single* frame IMHO.

when i started, my initial intention indeed was to get 200 fps at
640 ;)
and this is still in focus. i am just a little less optimistic now.

BR,
g3gg0

Giovanni Di Cello

unread,
Dec 24, 2011, 8:46:27 AM12/24/11
to Magic Lantern firmware development
I don't know if it's about processing power, it could be that the
sensor can't "refresh" that fast.
Actually, i went up to 39 fps with the 50D while testing but i don't
know why A1ex topped it to 31 (there must have been an issue of some
sort) .
I guess we'll know more after New Year's Eve unless g3gg0 wants to
spend the holidays on here :P

Antony Newman

unread,
Dec 24, 2011, 1:41:29 PM12/24/11
to ml-d...@googlegroups.com
g3gg0,

I've not experimented with this myself - but if you alter the
priorities of the various Dryos threads (I think there's a call to
alter exisiting priorities) - You may be able to allocate more
resources to the tasks required for encoding, and less for less
essential tasks. (you might even be able to kill some of those
processes)

Another option (again - I've not tred) could be to find the video mode
that you are in / get the current engio list send to the DIGIC and
experiment with some of the parameters - eg (reduce) the image
resolution ones.

http://magiclantern.wikia.com/wiki/2.0.4_DIGIC_config_for_Zoom

054 0x4f3 0xC0F08214 -> Resolution = 1267
056 0x7f7 0xC0F08188 -> Resolutoin = 2039

0x467 = 1127
0x967 = 2407

+) These numbers (I think) have to match with each occurance in the
list. (so change all the occurances)
+) You might be able to just directly change the DIGIC address
(0xC0F0....) without calling the Engio setup. But there did seem to be
a protocol to tell the DIGIC that a change was about to be made (top
bit set of a certain address) followed by the changes (might have had
an list terminator too).
+) Come to think of it, the SIO code had a similar way of exchanging data.

Merry Xmas.
AJ

Giovanni Di Cello

unread,
Dec 24, 2011, 4:39:19 PM12/24/11
to Magic Lantern firmware development
Looks like i can't get proper 24 fps with my 50D.
The recording time was 3:11 and when i set the video to be played at
24 fps i only got 3:06.
If i remember correctly it was fine the first time A1ex adjusted them,
then i saw you made some changes to the clocks that might not be good
for the 50D.
Can it be this?

JeremyOne

unread,
Dec 24, 2011, 4:55:21 PM12/24/11
to Magic Lantern firmware development
Were you able to get any higher than 60fps, even if just a few frames
higher?

I would be willing to do some extensive tests on my 550d to try and
debug the behavior in various modes (720, 640, 640crop) to see where
the limits are.

I looked around the latest magic.cfg and did not see an entry for the
FPS override. I suspect this means that it is not saved or loaded, but
if it were I could change the override there for testing purposes.

Jeremy

g3gg0

unread,
Dec 24, 2011, 7:50:42 PM12/24/11
to Magic Lantern firmware development
Hi AJ.

nice to see that there is already some investigation done :)
how did you trace the engio calls? did you hook the engio function?
i was afraid i would have to use the MPU and traps to log the writes.
for now i am just dumping static register lists from flash.

i found some of the resolution related registers there:
[0xC0F0D014] <- [0x02CF0760] (719,1888)
[0xC0F0D014] <- [0x049D0760] (1181,1888)

those are dumped from Prepro_SelectPath-functions of the video modes.

BR,
g3gg0

Antony Newman

unread,
Dec 24, 2011, 8:40:14 PM12/24/11
to ml-d...@googlegroups.com
g3gg0,

I did the analysis in IDA statically on the 2.0.4 version of the 5D2 firmware.
(went a bit mad on the commenting side with an ida file of around 20MB)

I annotated quite a lot of the engio functions (which you might find of use).

I also combed quite a few engio structures / and labelled some of them
(might help)

If you're using IDA. I can of course share you what I had.

AJ

01101011

unread,
Dec 24, 2011, 8:55:43 PM12/24/11
to Magic Lantern firmware development
so, the camera cannot change between shutter speeds that quickly for
the hdr video?
changing the iso is the only way?

clint

unread,
Dec 24, 2011, 11:54:33 PM12/24/11
to Magic Lantern firmware development
Unlike static and timelapse HDR shots, changing the shutter speed
would be less desirable, as it would present contrast in the amount of
motion blur between the higher and lower exposed frames. This might
not be a large concern for some (something I would need to try myself
before commenting), it could be a major issues for others. Imagine an
extreme case where you're shooting exposure 1 at 60fps, 1.8f, 1/125
and exposure 2 at 60fps, 1.8f, 1/50. That would be a huge change in
motion blur that could cause some noticeable inconsistencies...again
though, I would need to see the results in person before I confirm
this and there very well could be other issues I'm not aware of
someone else might be able to elaborate on more than myself, this is
just the first issue that comes to mind.

That said, being able to shift shutter speed for HDR video could be
handy for some situations and might present some interesting results.

Clint

clint

unread,
Dec 25, 2011, 12:05:30 AM12/25/11
to Magic Lantern firmware development
Has anyone used Ocula to align the content of the two exposures for
the HDR video? Using Optical Flow to correct and align the content
should noticeably sharper results for the final rendered output of the
HDR footage.

Rajgopal

unread,
Dec 25, 2011, 12:10:58 AM12/25/11
to ml-d...@googlegroups.com
Hi All,


Please forgive my ignorance , but can anyone tell me the workflow in a mac for merging HDR video?

Thanks in advance. Merry christmas and a very Haapy new year


Regards
Raj

Malcolm Debono

unread,
Dec 25, 2011, 3:34:22 AM12/25/11
to ml-d...@googlegroups.com
Hi Raj,
There is some interesting info regarding HDR workflows on the Vimeo group here:

On a side note, I would like to wish a very joyful Christmas to everyone here, and a prosperous New Year! :-)

Malcolm

Deke Kincaid

unread,
Dec 25, 2011, 1:28:47 PM12/25/11
to ml-d...@googlegroups.com
Ocula can auto vertically align images for stereo but there isn't any horizontal align option.  I guess you could use it in conjunction with the newView and warp one eye to fi the othert.  I will have to experiment with it.  Maybe this is in need of a gizmo because the current workflow is only meant for 2 stereo images, not a bunch of brackets.

Personally I use Jack's jops plugins on nukepedia.  It has a HDR bracket note which has auto alignment.  Also it is free where Ocula is 10k.

-deke

Carl Lovén

unread,
Dec 25, 2011, 6:01:11 PM12/25/11
to Magic Lantern firmware development
Great work man.

I donated what I could spare but uhm....any chance on getting that
preview code? :)

g3gg0

unread,
Dec 25, 2011, 7:58:54 PM12/25/11
to Magic Lantern firmware development
Hi AJ,

I dumped all the register initialisation sets for all available video
modes.
https://magiclantern.wikia.com/wiki/600D_ENGIO_writes_for_different_video_modes

These are just the dumps for *one* out of 9 monitor configurations.
Monitor setup: "LCD", "VIDEO(NTSC)", "VIDEO(PAL)", "HDMI(1080i FULL)",
"HDMI(1080i INFO)", "HDMI(720p FULL)", "HDMI(720p INFO)", "HDMI(480)",
"HDMI(576)"

Video modes: LVx1, RecStandby_x1_60fps, LVx5, LVx10, LV_VgaTele,
LVx1_Ta10, LVx5, LVx10, Rec_DZ_Crop_HD, Rec_HD, Rec_720p, Rec_Vga,
Rec_VgaTele, Rec_DZ_Crop_HD, RecStandby_x1, RecStandby_x1_60fps,
RecStandby_x1


(i expect that) They contain all the timings, pixel clocks etc for
every [videomode] x [monitor] combination.
i.e. LCD with HD movie, HDMI(780) with HD movie, LCD with 720p movie
etc etc.

I think they also contain setups for downsampling cropped modes,
zooming modes and such.
The entry "Name: [PATH] LVx1_GetQuarkParam(W:%d H:%d)" is retrieved
via my emulator and is just a hint to
know that all next data comes from the "LVx1" video mode setup.


Any idea how to compare that (really) huge amount of data?
Do you have any further information from your research?

BR,
g3gg0



On 25 Dez., 02:40, Antony Newman <antony.new...@gmail.com> wrote:
> g3gg0,
>
> I did the analysis in IDA statically on the 2.0.4 version of the 5D2 firmware.
> (went a bit mad on the commenting side with an ida file of around 20MB)
>
> I annotated quite a lot of the engio functions (which you might find of use).
>
> I also combed quite a few engio structures / and labelled some of them
> (might help)
>
> If you're using IDA.  I can of course share you what I had.
>
> AJ
>

scrax

unread,
Dec 26, 2011, 1:19:07 PM12/26/11
to ml-d...@googlegroups.com
I'm working on a wine wrapper for mac, it's not working on all the mac i've tested it so I'll try more options. I've found that with ffmpeg is possible to to split the frames and I'm trying to write a script for that, but I've not yet found how to make the interpolation of missed frames, so for now a native solution is not ready.

The wrapper for now needs to be in /Applications/HDR-workflow/ folder with the RAW.MOV to convert in it.

the script for ffmpeg is based on the one posted on vimeo for mplayer:

ffmpeg -i $1 %7d.jpg
mkdir frames
rm frames/*
i=1
while [ $i -le $(ls -1|wc -l) ]
do 
a=$(printf "%07d\n" "$i")
mv $a.jpg frame/A$a.jpg
i=$[$i+1]
a=$(printf "%07d\n" "$i")
mv $a.jpg frame/B$a.jpg
i=$[$i+1]
done

this is really more faster than using wine, VD and avisynth but probably because of no interpolation.

The biggest problem for the actual workflow is that avisynth is not yet ported on mac and so we need to find another way to interpolate the frames.
I'm also testing the scripts posted by Ro-Man on the vimeo group, 'cause I think they can work on a mac too with some modifications.


Message has been deleted

Veerragavan N

unread,
Dec 26, 2011, 10:38:18 PM12/26/11
to ml-d...@googlegroups.com
On my 500D, the FPS over-ride setting doesn't go beyond 21 fps when I set the camera to 1080p record. Anybody else having the same problem. Is anyone else seeing the same issue?


Thanks and Regards,
Veeraragavan Nandakumar

_Just learnt yesterday that some sharks have started reproducing asexually since they are not able to find mates. Wonder what triggers such a huge shift in evolution & how? Wonder what'll happen to us? Can we or will we evolve if ever there is a crisis?_

*"The history of the world is the history of the triumph of the heartless over the mindless."*




On Tue, Dec 27, 2011 at 4:30 AM, clint <clinton...@gmail.com> wrote:
Deke,
Right, someone was mentioning that a simplified gizmo geared more
towards this method of producing hdr would be handier, compared to
using something like Ocula.  I'd love to see some properly aligned
footage without all the blurry activity.

Mohammad Abou-Basha

unread,
Dec 27, 2011, 1:39:58 AM12/27/11
to Magic Lantern firmware development
I have the same issue, also the mov file says it's 20fps and not 21fps
Same for 720p 32fps, the file says 32fps

Is that an issue in ML? or what is the exact process for increasing
the fps, also how to do 24fps on 1080p?

Giovanni Di Cello

unread,
Dec 27, 2011, 12:04:28 PM12/27/11
to Magic Lantern firmware development
Nobody said the 500D could do 24 fps in fullHD mode.
It's not possible, not yet at least.
The header of the produced file is unchanged so it will always be
played back at its standard framerate (30 for HD and 20 for fullHD so
you have to process the video again to "stretch it" so it'll have the
correct lenght.
Follow the methods suggested by the other users, there are so many
ways to do it.

ValdisKrumins

unread,
Dec 27, 2011, 7:55:45 PM12/27/11
to Magic Lantern firmware development
I have similar problem, with my 550D if i set it to 4fps i can only
record for about 1 sec and then buffer gets full ... :(

On 27 dec., 19:04, Giovanni Di Cello <giovannidice...@gmail.com>
wrote:

Adityo Jiwandono

unread,
Dec 27, 2011, 8:23:44 PM12/27/11
to ml-d...@googlegroups.com
On Wed, Dec 28, 2011 at 7:55 AM, ValdisKrumins <vaut...@gmail.com> wrote:
> I have similar problem, with my 550D if i set it to 4fps i can only
> record for about 1 sec and then buffer gets full ... :(

Try disabling audio recording.


--
Adityo Jiwandono

Mohammad Abou-Basha

unread,
Dec 28, 2011, 1:18:27 AM12/28/11
to Magic Lantern firmware development
May be that part of sentence is misleading
"On the other hand, 500D and 50D can now record at 24p!" @
http://magiclantern.wikia.com/wiki/Release_2011Dec22
And thanks for your reply

On Dec 27, 7:04 pm, Giovanni Di Cello <giovannidice...@gmail.com>
wrote:

Neil Camara

unread,
Dec 28, 2011, 1:47:27 AM12/28/11
to ml-d...@googlegroups.com
Giovanni,

I'm noticing a minor issue with my 50D. When I set FPS to 24, the first few frames are dim then goes back to proper exposure. When I turn off FPS, the dimming goes away.

Veerragavan N

unread,
Dec 28, 2011, 2:03:14 AM12/28/11
to ml-d...@googlegroups.com
Are you sure about that? The wiki says that we can do it now.  "On the other hand, 500D and 50D can now record at 24p!" in the Dec 22 release. What does that mean? I tried dis-abling audio. Still the FPS is stuck at 21@1080p. I use a class 10 extreme sd card.

Thanks and Regards,
Veeraragavan Nandakumar

_Just learnt yesterday that some sharks have started reproducing asexually since they are not able to find mates. Wonder what triggers such a huge shift in evolution & how? Wonder what'll happen to us? Can we or will we evolve if ever there is a crisis?_

*"The history of the world is the history of the triumph of the heartless over the mindless."*




Neil Camara

unread,
Dec 28, 2011, 3:28:27 AM12/28/11
to ml-d...@googlegroups.com
I have another question. I extracted each frame using ffmpeg from the hdr .MOV file that ML created. I noticed that frame 1 and frame 2 are not the same in terms of position. Won't it affect the output quality of the newly generated file that enfuse created?

Malcolm Debono

unread,
Dec 28, 2011, 3:39:49 AM12/28/11
to ml-d...@googlegroups.com
Yep. Try using Photomatix and using the align feature. The only problem I foresee is when creating the final output since the blended frames might then be different from each other.

Neil Camara

unread,
Dec 28, 2011, 3:56:12 AM12/28/11
to ml-d...@googlegroups.com
Ok.

I just looked at few of the files that enfused created, so far it looks good. However, my original video length of 7 seconds became 3.5 seconds. I see that enfuse uses 2 input files to create one file which made the video half faster. What are your solutions to this? I can write a script to replicate each frame but I am not sure if that is the proper solution.



On Wed, Dec 28, 2011 at 2:39 AM, Malcolm Debono <mdeb...@gmail.com> wrote:
Yep. Try using Photomatix and using the align feature. The only problem I foresee is when creating the final output since the blended frames might then be different from each other.

--

Malcolm Debono

unread,
Dec 28, 2011, 4:09:08 AM12/28/11
to ml-d...@googlegroups.com
Best way till now to get the same speed is to shoot at 720p. If you're shooting in PAL, choose 50fps so that your final output is 25fps, while if you're shooting in NTSC choose 60fps so that your final output becomes 30fps.

Neil Camara

unread,
Dec 28, 2011, 4:11:09 AM12/28/11
to ml-d...@googlegroups.com
I only see 1920x1088@30fps and 640x480@30fps. My camera is Canon 50D. Looks like I don't have those resolutions you mentioned.

On Wed, Dec 28, 2011 at 3:09 AM, Malcolm Debono <mdeb...@gmail.com> wrote:
Best way till now to get the same speed is to shoot at 720p. If you're shooting in PAL, choose 50fps so that your final output is 25fps, while if you're shooting in NTSC choose 60fps so that your final output becomes 30fps.

--

Malcolm Debono

unread,
Dec 28, 2011, 4:12:44 AM12/28/11
to ml-d...@googlegroups.com
I see. Didn't know the 50D lacked this resolution, sorry.

M.v.M.

unread,
Dec 28, 2011, 4:25:00 AM12/28/11
to ml-d...@googlegroups.com
 Just a short note,

You must use a slow-motion effect when recreating the HDR shot, that is the downside, so first you separate over and underexposed frames, then you need to make a 50 slowdown creating new interpolated frames of under and over frames creating new clips, then you can blend those two clips together 
to HDR

Matthias

Neil Camara

unread,
Dec 28, 2011, 4:46:30 AM12/28/11
to ml-d...@googlegroups.com
Did you mean that I must reencode the video again like at 15000/1001?

--

Alvaro F R Santos

unread,
Dec 28, 2011, 4:34:08 AM12/28/11
to ml-d...@googlegroups.com
Hi,

Changing the FPS doens't disable audio recording?

By the way, how can we disable audio recording with "normal" fps recording?

Thanks
Ribeiro

2011/12/28 Adityo Jiwandono <jiwa...@gmail.com>:

derkiki

unread,
Dec 28, 2011, 10:39:37 AM12/28/11
to Magic Lantern firmware development
Hi,
I made a little app to split hdr-movies automatically. You can also
conform to a new frame rate. Hope you find it useful:
http://tshit.de/hdr-splitter/

I haven't tested the windows version.

Regards,
George

Alvaro F R Santos

unread,
Dec 28, 2011, 10:53:04 AM12/28/11
to ml-d...@googlegroups.com
Hi,

Cannot open on Windows7 (64) give me the error:
loaderX86.cpp:282
Failure Condition: functionEntry
Could not resolve function 'GetMovieDuration' in qtmlClient.dll

If I click "Ok" more erros messages of type "Could not resolve function..."

Ribeiro Santos

2011/12/28 derkiki <gurk...@googlemail.com>:

printscreen.jpg

heartbeat

unread,
Dec 28, 2011, 11:53:53 AM12/28/11
to Magic Lantern firmware development
hi devs,

in the last version there i a bug, maybe

by starting a record it interrupt after 2-5 seconds

after interrupt it wokrs good till next switch off

Ramt

unread,
Dec 28, 2011, 12:08:08 PM12/28/11
to ml-d...@googlegroups.com
Keep on with the great work you're doing there! I donated a few bucks and am gonna make my friends do so.

I have two questions. (550d)

1. I can see that there are presets in the HDR video menu like 1ev 2ev. Is there a way to choose ANY iso settings like 320/1250 ?

2. When using fps override the buffer is full in a few seconds. I've been using transcend 32gb class 10 and tried to bring down cbr to 0.8X but couldn't shoot for more than a few seconds.

BTW you can see here my first HDR video test. More to come this in the weekend.

Ramtin

Justin Williamson

unread,
Dec 28, 2011, 12:14:43 PM12/28/11
to Magic Lantern firmware development
Thought I would share some of my HDR techniques. I shoot in 60p
cranked down to 48fps. I then have 2 bracketed images to merge to 24p
(photomatix)

Of course I haven't fully experimented with other methods. This is
just what I knew would work.

Neil Camara

unread,
Dec 28, 2011, 2:03:56 PM12/28/11
to ml-d...@googlegroups.com
Tell me what's wrong with my work flow:

My camera is a Canon 50D which records 1920x1088 at 30fps.

1. I extract each frame(odd and even) as jpg or png using ffmpeg. The odd numbered frames are low iso and the even numbered frames are high iso. I can see the difference in brightness too
2. I wrote a script that renames all the odd numbered filenames consecutively and so with the even numbered filenames
ex.
frameA000.png frameB000.png
frameA001.png frameB001.png
frameA002.png frameB002.png
......
3. I enfuse the two input files which creates a new file. Output is good.
4. Finally, I use ffmpeg to reencode the series of output files as either mov, mp4 or mkv. I can use any of them.

The minor problem I was having is the duration. The original mov file was 7 seconds. My new video file became 3.5 seconds since the 2 input files were combined into a single file.

I was told above to do slow motion but I didn't understand that part. I was also told to record in 720p but my Canon 50D doesn't support it.

Any help would be greatly appreciated.

Morgan Look

unread,
Dec 28, 2011, 4:32:09 PM12/28/11
to ml-d...@googlegroups.com
Hi Neil.

The issue is that after you split the streams, then merge them together, you effectively only have half as many frames.  When played back at your original frame rate (30fps), it appears at double speed.

One solution would be to tell ffmpeg to make your new file 15fps instead of 30.  This would then play back at the correct speed.
Another option would be to make two copies of every frame (this is the same as slow-motion), so that you have the correct number of frames after merging them together.
This will work fine for fairly static scenes.

However, there is more to it than that, especially if there are moving subjects in the scene.  The issue arises from the fact that your A and B frames are exposed at different times, so will not align perfectly. 

A00 A01 A02 A03
B00 B01 B02 B03

What you really want is a new A frame that fits halfway between A00 and A01 to align with B00.
You can use either frame-blending (mix 50% of A00 and 50% of A01), or some motion vector technique such as Optical Flow to generate this frame.

Hope this helps, Morgan.

Neil Camara

unread,
Dec 28, 2011, 4:48:38 PM12/28/11
to ml-d...@googlegroups.com
I actually did your first 2 options last night
- at 15fps, the duration is fine but playback is not smooth as the original
- I copied each frame, duration went back to original but playback is not as smooth the original

I would like to try your last work around but not sure how to do it. I wish Canon 50D supported 60fps.

Thanks.

Dremelv21

unread,
Dec 31, 2011, 12:57:56 PM12/31/11
to Magic Lantern firmware development
I heard from a friend, that his frozen 50D!for others I wish you a
Merry Christmas with this video that I made at this time!

http://www.youtube.com/watch?v=L-ovYtvjKj8&list=PLC54961E485A9A18F&feature=plcp

Giovanni Di Cello

unread,
Dec 31, 2011, 1:21:23 PM12/31/11
to Magic Lantern firmware development
Put it in direct sunlight then.

Neil Camara

unread,
Dec 31, 2011, 5:06:07 PM12/31/11
to ml-d...@googlegroups.com
I did some image manipulation experiment of each frames from video created by Magic Lantern via my Canon 50D but should be applicable to any video clip

10th second - is the original clip created by ML
47th second - is the clip that I darkened
1:14th min- is the clip that I lightened
2:00th min - is the merged dark and lightened clip

Not an ideal solution especially when taking landscapes shots unless ND grads are used. So far, it worked for my sample scene.

http://www.youtube.com/watch?v=s44o8MBfGg0

HAPPY NEW YEAR EVERYONE!!!!!!

Alfi

unread,
Jan 8, 2012, 10:19:41 AM1/8/12
to Magic Lantern firmware development
Hello,

I would like to ask whether it would be possible to have an option to
use only white font color on the ML infobar in bottom?

I know I may sound stupid, but all those colors kinda distracts me - I
found myself forgot to record a scene, because the "RED dot" isn't
that visible now because of the many information & colors.


BTW I love the "REC" sign in latest ML - which will hopefully solve my
problem - but if this isn't a big problem to implement, it might be
useful :)

Anyway, Thank you for all your great work!

Neil Camara

unread,
Jan 8, 2012, 10:38:14 AM1/8/12
to ml-d...@googlegroups.com
You can turn the square with X box. It gets displayed in the center of your lcd screen when you are recording.

Stifa

unread,
Jan 9, 2012, 1:36:44 AM1/9/12
to Magic Lantern firmware development
When's the new version? :))

Андрей Басов

unread,
Jan 15, 2012, 12:03:58 PM1/15/12
to Magic Lantern firmware development
Good afternoon.
My method of handling HDR video in After Effects
http://www.youtube.com/watch?v=bxF9hzaYjeA&feature=youtu.be

Veerragavan N

unread,
Jan 27, 2012, 12:08:30 AM1/27/12
to ml-d...@googlegroups.com
I'm just brain-storming here. Is it possible to do external control as in the following scenarios - 
  1. Control of magic lantern from a PC/laptop without ever touching the camera other than focus/ frame adjust?
  2. Scripting of parameter changes over shots including start,stop, duration, fps ramping, shutter ramping.
I dunno how hard this is but judging the way self-test runs, I thought it is doable already! 


Thanks and Regards,
Veeraragavan Nandakumar

_Just learnt yesterday that some sharks have started reproducing asexually since they are not able to find mates. Wonder what triggers such a huge shift in evolution & how? Wonder what'll happen to us? Can we or will we evolve if ever there is a crisis?_

*"The history of the world is the history of the triumph of the heartless over the mindless."*




Reply all
Reply to author
Forward
0 new messages