[550D] constant bitrate

257 views
Skip to first unread message

Alex

unread,
Feb 19, 2011, 5:24:39 AM2/19/11
to Magic Lantern firmware development
Hello,

I've implemented some kind of constant bitrate mode, which works by
adjusting qscale on the fly.

There is also a bitrate meter near the recording dot, updated every second.

Warning: it is possible that the constants used by me may be
filsesystem-dependent or cardsize-dependent. So this may only work
with 16GB FAT32 cards. Please test it and report the results (but do
not use it for everyday shooting).

To check if the constants are correct, look at the bitrate meter with
"FW default" setting. It should say around 40. If not, please report.

All the juicy details are in the PDF.

magiclantern-2011Feb19.550d.fw109.AudioMon.bitrate.alex.zip

Lionel Davey

unread,
Feb 19, 2011, 7:00:30 AM2/19/11
to ml-d...@googlegroups.com
Sweet!  Thanks Alex.

Can't wait to try this out tomorrow.

Shawn Wytch

unread,
Feb 19, 2011, 7:40:59 AM2/19/11
to ml-d...@googlegroups.com, Alex
JUST CHECKE IT OUT SEEMS TO NOT HAVE BUGS NO ERROR MESSAGES RUNS SMOOTH!
THANK U FOR THE NEW FEATURE WHAT ELSE ARE U WORKING ON?
 
SOMETHING IM LOOKING FOR IS A GO UOT OF FOCUS SETTINGS.
THE NEW FOLLOW FOCUS IS REAL NICE LOVE IT, IT GOT ME WONDERING IS IT POSSIBLE TO HAVE A GO OUT OF FOCUS FEATURE? I WOULD LOVE THAT WOULD SAVE ALOT OF TIME WHEN SHOOTING?


--
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



--
Email me at too...@gmail.com 
Or call me at 316.312.5584 ask for Shawn

h4nz

unread,
Feb 19, 2011, 8:31:29 AM2/19/11
to Magic Lantern firmware development
WOW. Great work alex!

Shawn Wytch

unread,
Feb 19, 2011, 11:06:00 AM2/19/11
to ml-d...@googlegroups.com, h4nz
yes amazing

WOW. Great work 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

chungdha

unread,
Feb 19, 2011, 2:39:28 PM2/19/11
to Magic Lantern firmware development
Well done this is a great new function, well done Alex!!!
> Email me at tool...@gmail.com

Ba...@aol.com

unread,
Feb 19, 2011, 5:29:09 PM2/19/11
to ml-d...@googlegroups.com
Same feature will go out of focus if you set the follow focus to manual.  Seems easy to me...
 
In a message dated 2/19/2011 4:41:06 A.M. Pacific Standard Time, too...@gmail.com writes:
JUST CHECKE IT OUT SEEMS TO NOT HAVE BUGS NO ERROR MESSAGES RUNS SMOOTH!
THANK U FOR THE NEW FEATURE WHAT ELSE ARE U WORKING ON?
 
SOMETHING IM LOOKING FOR IS A GO UOT OF FOCUS SETTINGS.
THE NEW FOLLOW FOCUS IS REAL NICE LOVE IT, IT GOT ME WONDERING IS IT POSSIBLE TO HAVE A GO OUT OF FOCUS FEATURE? I WOULD LOVE THAT WOULD SAVE ALOT OF TIME WHEN SHOOTING?

On Sat, Feb 19, 2011 at 2:24 AM, Alex <broscu...@gmail.com> wrote:
Hello,

I've implemented some kind of constant bitrate mode, which works by
adjusting qscale on the fly.

There is also a bitrate meter near the recording dot, updated every second.

Warning: it is possible that the constants used by me may be
filsesystem-dependent or cardsize-dependent. So this may only work
with 16GB FAT32 cards. Please test it and report the results (but do
not use it for everyday shooting).

To check if the constants are correct, look at the bitrate meter with
"FW default" setting. It should say around 40. If not, please report.

All the juicy details are in the PDF.
--
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



--
Email me at too...@gmail.com 
Or call me at 316.312.5584 ask for Shawn

--

Alex

unread,
Feb 20, 2011, 3:30:46 AM2/20/11
to ml-d...@googlegroups.com
It seems free space is reported in clusters, and cluster size varies
from card to card (and depends on filesystem used). I'm using this
data to estimate the current bitrate (and also the time remaining
display).

Can you test if bitrate displayed by ML with default Canon settings is
around 40mbps on different cards?

Also, does anyone know the address of PROP_CARD2_CLUSTER_SIZE (or
hints on how to find it)?

Chris Barcellos

unread,
Feb 20, 2011, 3:49:33 AM2/20/11
to ml-d...@googlegroups.com
I'm curious what kind of results people are getting with bumping bit rates up using constant. I have two very cheap class ten cards and in my office where not a lot of detail I can go to fifty. But outside with grass and trees it no good. Can anyone report better cards are doing the trick ?

Sent from my iPhone

Alex

unread,
Feb 20, 2011, 3:51:56 AM2/20/11
to ml-d...@googlegroups.com
Fifty? I can go to fifty on my class4 card... (Lexar 16GB)

At 50 there's a buffer overflow indicator (one notch). At 60 it stops.

chungdha

unread,
Feb 20, 2011, 6:16:21 AM2/20/11
to Magic Lantern firmware development
I tried on my Toshiba 16GB Class 4 10mb/s card and set it to 50 set it
on a very color full scene and it kept filming and started actually
from 33 to 45 then to 53 and stayed there. Then turned my camera
towards a white wall and it jumped to 33 then back to 53, then when I
turn it back to the colorfull scene it jumped to 78 or higher and
stopped recording. Same thing happens with my Class 6 card which write
20mb/s.

I have to say also tested slowly panning towards the colorful scene
which make it only go 68 and give it enough time to compensate back to
50. From test its too slow in changing that data rate. Or it does not
limit itself enough.

With standard FW the scene would be filmed 43 then to white wall drop
to 40 and aimed back to the colorful scene it goes back to 43 and not
higher.

On Feb 20, 9:51 am, Alex <broscutama...@gmail.com> wrote:
> Fifty? I can go to fifty on my class4 card... (Lexar 16GB)
>
> At 50 there's a buffer overflow indicator (one notch). At 60 it stops.
>
> On Sun, Feb 20, 2011 at 9:49 AM, Chris Barcellos <ba...@aol.com> wrote:
> > I'm curious what kind of results people are getting with  bumping bit rates up using constant.  I have two very cheap class ten cards and in my office where not a lot of detail I can go to fifty.  But outside with grass and trees it no good.  Can anyone report better cards are doing the trick ?
>
> > Sent from my iPhone
>
> > On Feb 20, 2011, at 12:30 AM, Alex <broscutama...@gmail.com> wrote:
>
> >> It seems free space is reported in clusters, and cluster size varies
> >> from card to card (and depends on filesystem used). I'm using this
> >> data to estimate the current bitrate (and also the time remaining
> >> display).
>
> >> Can you test if bitrate displayed by ML with default Canon settings is
> >> around 40mbps on different cards?
>
> >> Also, does anyone know the address of PROP_CARD2_CLUSTER_SIZE (or
> >> hints on how to find it)?
>
> >> On Sat, Feb 19, 2011 at 11:29 PM,  <Ba...@aol.com> wrote:
> >>> Same feature will go out of focus if you set the follow focus to manual.
> >>> Seems easy to me...
>
> >>> In a message dated 2/19/2011 4:41:06 A.M. Pacific Standard Time,
> >>> tool...@gmail.com writes:
>
> >>> JUST CHECKE IT OUT SEEMS TO NOT HAVE BUGS NO ERROR MESSAGES RUNS SMOOTH!
> >>> THANK U FOR THE NEW FEATURE WHAT ELSE ARE U WORKING ON?
>
> >>> SOMETHING IM LOOKING FOR IS A GO UOT OF FOCUS SETTINGS.
> >>> THE NEW FOLLOW FOCUS IS REAL NICE LOVE IT, IT GOT ME WONDERING IS IT
> >>> POSSIBLE TO HAVE A GO OUT OF FOCUS FEATURE? I WOULD LOVE THAT WOULD SAVE
> >>> ALOT OF TIME WHEN SHOOTING?
>
> >>> On Sat, Feb 19, 2011 at 2:24 AM, Alex <broscutama...@gmail.com> wrote:
>
> >>>> Hello,
>
> >>>> I've implemented some kind of constant bitrate mode, which works by
> >>>> adjusting qscale on the fly.
>
> >>>> There is also a bitrate meter near the recording dot, updated every
> >>>> second.
>
> >>>> Warning: it is possible that the constants used by me may be
> >>>> filsesystem-dependent or cardsize-dependent. So this may only work
> >>>> with 16GB FAT32 cards. Please test it and report the results (but do
> >>>> not use it for everyday shooting).
>
> >>>> To check if the constants are correct, look at the bitrate meter with
> >>>> "FW default" setting. It should say around 40. If not, please report.
>
> >>>> All the juicy details are in the PDF.
>
> >>>> --
> >>>>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
>
> >>> --
> >>> Email me at tool...@gmail.com
> >>> Or call me at 316.312.5584 ask for Shawn
>
> >>> --
> >>>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
>
> >>> --
> >>>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
>
> >> --
> >>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 athttp://groups.google.com/group/ml-devel?hl=en

h4nz

unread,
Feb 20, 2011, 7:30:23 AM2/20/11
to Magic Lantern firmware development
on my class 6 scandisc extreme, im not even able to use 50 mbit cbs on
high contrast pictures. so i had to use 40 mbit. so would it be
possible to limit more the max. bitrate peaks?

could it be possible, that the same card in exfat formatted is faster
than in fat32?
i did some tests, and it showed 1,5 megabyte more speed ...


On 20 Feb., 09:51, Alex <broscutama...@gmail.com> wrote:
> Fifty? I can go to fifty on my class4 card... (Lexar 16GB)
>
> At 50 there's a buffer overflow indicator (one notch). At 60 it stops.
>
> On Sun, Feb 20, 2011 at 9:49 AM, Chris Barcellos <ba...@aol.com> wrote:
> > I'm curious what kind of results people are getting with  bumping bit rates up using constant.  I have two very cheap class ten cards and in my office where not a lot of detail I can go to fifty.  But outside with grass and trees it no good.  Can anyone report better cards are doing the trick ?
>
> > Sent from my iPhone
>
> > On Feb 20, 2011, at 12:30 AM, Alex <broscutama...@gmail.com> wrote:
>
> >> It seems free space is reported in clusters, and cluster size varies
> >> from card to card (and depends on filesystem used). I'm using this
> >> data to estimate the current bitrate (and also the time remaining
> >> display).
>
> >> Can you test if bitrate displayed by ML with default Canon settings is
> >> around 40mbps on different cards?
>
> >> Also, does anyone know the address of PROP_CARD2_CLUSTER_SIZE (or
> >> hints on how to find it)?
>
> >> On Sat, Feb 19, 2011 at 11:29 PM,  <Ba...@aol.com> wrote:
> >>> Same feature will go out of focus if you set the follow focus to manual.
> >>> Seems easy to me...
>
> >>> In a message dated 2/19/2011 4:41:06 A.M. Pacific Standard Time,
> >>> tool...@gmail.com writes:
>
> >>> JUST CHECKE IT OUT SEEMS TO NOT HAVE BUGS NO ERROR MESSAGES RUNS SMOOTH!
> >>> THANK U FOR THE NEW FEATURE WHAT ELSE ARE U WORKING ON?
>
> >>> SOMETHING IM LOOKING FOR IS A GO UOT OF FOCUS SETTINGS.
> >>> THE NEW FOLLOW FOCUS IS REAL NICE LOVE IT, IT GOT ME WONDERING IS IT
> >>> POSSIBLE TO HAVE A GO OUT OF FOCUS FEATURE? I WOULD LOVE THAT WOULD SAVE
> >>> ALOT OF TIME WHEN SHOOTING?
>
> >>> On Sat, Feb 19, 2011 at 2:24 AM, Alex <broscutama...@gmail.com> wrote:
>
> >>>> Hello,
>
> >>>> I've implemented some kind of constant bitrate mode, which works by
> >>>> adjusting qscale on the fly.
>
> >>>> There is also a bitrate meter near the recording dot, updated every
> >>>> second.
>
> >>>> Warning: it is possible that the constants used by me may be
> >>>> filsesystem-dependent or cardsize-dependent. So this may only work
> >>>> with 16GB FAT32 cards. Please test it and report the results (but do
> >>>> not use it for everyday shooting).
>
> >>>> To check if the constants are correct, look at the bitrate meter with
> >>>> "FW default" setting. It should say around 40. If not, please report.
>
> >>>> All the juicy details are in the PDF.
>
> >>>> --
> >>>>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
>
> >>> --
> >>> Email me at tool...@gmail.com
> >>> Or call me at 316.312.5584 ask for Shawn
>
> >>> --
> >>>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
>
> >>> --
> >>>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
>
> >> --
> >>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 athttp://groups.google.com/group/ml-devel?hl=en

Shawn Wytch

unread,
Feb 20, 2011, 8:00:15 AM2/20/11
to ml-d...@googlegroups.com, h4nz
yes alex i will stop posting here seems like alot of the guys posting here arnt developers but ill leave thats funny u say that after i say all these good things about you. lol funny have a nice life alex wow thats crazy
Email me at too...@gmail.com 

Ba...@aol.com

unread,
Feb 20, 2011, 1:16:46 PM2/20/11
to ml-d...@googlegroups.com
Yeah,  that's the point.   I am trying to see what kind of performance different testers are getting with what cards.  
 
I think its clear from my testing in Qscale and this constant bitrate,  that it really depends on the scene and various settings as to whether camera will stay running.   I went out to a bird sactuary a couple of weeks back,  and set 10 on the Qscale,   mounted on tripod with a wide shot.   No movement fine.  Then, while still running camera I tilted down,   and camera stopped.   I then pointed camera at patch of grass blowing in the wind, focused,  and then started camera, it would not start for more than a second or two.
 
Admittedly I am using cheap Centon 16 GB  Class 10 card I paid $ 20 for,  and that is why I am asking how others are doing with performance with the bitrate changes/adjustments.   Your post about clusters may have something to do with it.
 
Chris

chungdha

unread,
Feb 20, 2011, 5:06:58 PM2/20/11
to Magic Lantern firmware development
It seem at the moment it let itself make too big jumps even set on 40
and 45 from test it can not handle going from simple or low contrast
scene to a high contrast one. But it does not matter if you go from a
high contrast to a low contrast. Or continuesly filming a high
contrast scene even with movements it would keep the bitrate the same.
It seem with 30 it can handle just getting into the buffer zone but
able to restore in time to set itself back.

Think just need to be able to adjust itself faster or able to limit
itself from moving the jumps or doing big jumps.

Cause I understand how it works, cause when it start filming it start
with low 30 bitrate and goes up to 50 and calculate the shot to use
that bitrate. When going to a low contrast which is less bitrate and
then amp up the bitrate to 50 on it own. Then when goes to a higher
contrast scene it would go up in bitrate and tries to get back to what
it was set to. But if it does not set itself back to 50 fast, it would
hit the buffer zone and stop recording.

It either need to be faster in changing the bitrate on it own or need
some kind of pre set option, able to set the high contrast scene to
use bitrate 50 and if you go to a low contrast setting let it go lower
and not auto adjust it to go up to 50.

On Feb 20, 7:16 pm, Ba...@aol.com wrote:
> Yeah,  that's the point.   I am trying to see what kind of  performance
> different testers are getting with what cards.  
>
> I think its clear from my testing in Qscale and this constant  bitrate,  
> that it really depends on the scene and various settings as to  whether camera
> will stay running.   I went out to a bird sactuary a  couple of weeks back,
>  and set 10 on the Qscale,   mounted on  tripod with a wide shot.   No
> movement fine.  Then, while still  running camera I tilted down,   and camera
> stopped.   I  then pointed camera at patch of grass blowing in the wind,
> focused,  and  then started camera, it would not start for more than a second or
> two.
>
> Admittedly I am using cheap Centon 16 GB  Class 10 card I paid $ 20  for,  
> and that is why I am asking how others are doing with performance  with the
> bitrate changes/adjustments.   Your post about clusters may  have something
> to do with it.
>
> Chris
>
> In a message dated 2/20/2011 12:52:24 A.M. Pacific Standard Time,  
>

Alex

unread,
Feb 20, 2011, 5:09:43 PM2/20/11
to ml-d...@googlegroups.com
Yes, I've explained why this happens in PDF manual. Finding how to
change bitrate in true CBR mode would fix this (I did it once by
mistake, but I have no idea how I did it... because I've noticed a few
days after some experimenting which resulted in lots of err70's)

chungdha

unread,
Feb 20, 2011, 6:22:11 PM2/20/11
to Magic Lantern firmware development
At the moment seem to be useful shooting scenes without too much
movement until true CBR mode is done. However find it very useful for
using at 20 which would able to record full half hour and when moving
to high contrast it would go to 50 but not way to high and get back to
20 after a few seconds.

On Feb 20, 11:09 pm, Alex <broscutama...@gmail.com> wrote:
> Yes, I've explained why this happens in PDF manual. Finding how to
> change bitrate in true CBR mode would fix this (I did it once by
> mistake, but I have no idea how I did it... because I've noticed a few
> days after some experimenting which resulted in lots of err70's)
>

Lionel Davey

unread,
Feb 21, 2011, 12:20:48 AM2/21/11
to ml-d...@googlegroups.com
Alex, I wonder if you could implement a VBV (Video Buffer Verifier) type system as used by x264.

http://mewiki.project357.com/wiki/X264_Encoding_Suggestions#VBV_Encoding

It works on a leaky bucket type principle.

Bucket size is controlled by --vbv-bufsize
The maximum rate the bucket can be filled is controlled by --vbv-maxrate

x264 doesn't have a true CBR mode.  So it uses the VBV method for streaming and such.

I'm sure the devs at irc://freenode.net #x264 would be willing to help.

Although having said this, I imagine it will be a fairly time consuming project.

Alex

unread,
Feb 21, 2011, 2:15:27 AM2/21/11
to Magic Lantern firmware development
The big problem is that I can only estimate the bitrate once per
second, which is enough to fill the buffer before my algorithm even
notices it...

Tech note: qscale can only be changed around 10 times per second (or
maybe at most once per frame), and only by one unit at a time
(otherwise => err70).

Alex

unread,
Feb 21, 2011, 4:57:17 PM2/21/11
to ml-d...@googlegroups.com
I've found the buffer indicator, updated for every movie frame. This
should allow ML to react faster to buffer overflows.

Here's a very experimental build. QScale and CBR are broken; the
algorithm just tries to keep buffer within reasonable levels. It's not
very well tested, since my card socket from the camera seems to have
failed mechanically. The PC card reader seems OK. I'll take a closer
look tomorrow to see what happened.

DO NOT use this build for regular shooting!

Also, please don't ask me to disable ML by toggling write-protect
switch, since the cards are very fragile.

magiclantern-2011Feb21.550d.fw109.AudioMon.bitrate-test.DEBUG.alex.zip

Ba...@aol.com

unread,
Feb 21, 2011, 6:14:34 PM2/21/11
to ml-d...@googlegroups.com
Alex:
 
Loaded this latest and note that readouts for bitrate running seem to be consistent with the scene.  The more complex, the higher rate.   Seem to be running between  37 and 47 consistently.    No  stops in the few I ran.
 
As you also note,   Qscale and CBre are broken on this version.
 
Chris Barcellos

Alex

unread,
Feb 21, 2011, 6:29:40 PM2/21/11
to ml-d...@googlegroups.com
CBRe seems to work a bit better in my test. When the buffer algorithm
doesn't take any decision, CBRe will adjust the bitrate towards the
prescribed one.

Alex

unread,
Feb 21, 2011, 6:39:27 PM2/21/11
to ml-d...@googlegroups.com
Just tried with another card: camera is alive, card is broken and
refuses to stay there :)

Looking for a new card; maybe a 32GB with higher speed.

Fernando Freire

unread,
Feb 22, 2011, 2:49:20 PM2/22/11
to ml-d...@googlegroups.com
Humm, and the plastic of my 16GB class 6 card is aging very fast: the cards don't resist so many insertions and extractions.

It's better go for microsdhc (only we can break the less expensive adapter), and they are compatible with a huge amount of devices.

We are waiting for this one. It's no more expensive than the SDHC equivalent:

http://www.alternate.es/html/product/Sticks_y_memorias_microSDHC/Patriot/microSDHC_Card_16_GB/495661/?tn=HARDWARE&l1=Tarjetas+de+memoria&l2=Secure+Digital

This is class 10, but regardless that, it's possible than we reach the speed limits between cam and card drive.


chungdha

unread,
Feb 22, 2011, 4:40:21 PM2/22/11
to Magic Lantern firmware development
Just need to buy good brands which outlast the cheaper ones with
cheaper plastic. Have seen allot of cards with crazy loose lock switch
which I never touch or change settings, while my the current Toshiba I
am using got plenty of use and they seem to be holding and outlasting
most of the other SD card brand I have used.

On Feb 22, 8:49 pm, Fernando Freire <nangdo...@gmail.com> wrote:
> Humm, and the plastic of my 16GB class 6 card is aging very fast: the cards
> don't resist so many insertions and extractions.
>
> It's better go for microsdhc (only we can break the less expensive adapter),
> and they are compatible with a huge amount of devices.
>
> We are waiting for this one. It's no more expensive than the SDHC
> equivalent:
>
> http://www.alternate.es/html/product/Sticks_y_memorias_microSDHC/Patr...

Alex

unread,
Feb 23, 2011, 7:45:03 AM2/23/11
to ml-d...@googlegroups.com
> Just need to buy good brands which outlast the cheaper ones with
> cheaper plastic.

Which means Lexar is cheap :)
(that's my card).

I'm also looking for a way to upload new autoexec.bin files via USB in
order to reduce card wear and tear. For this, I'm trying to understand
how PTP works. Discussion here:
http://chdk.setepontos.com/index.php?topic=3290.msg62079#msg62079

Alex

unread,
Feb 23, 2011, 9:24:51 AM2/23/11
to ml-d...@googlegroups.com
Here's a new build:

* I've found the number of bytes written, updated after each frame =>
feedback loop refreshes faster and less aggressive. Only 5 fps for
now, as there's a bit of noise and dead time which screw up the
feedback loop. Still not perfect, but I was able to record at 55mbps
on my class4 card :)

* Color display for native (100, 200, 400...) and low-gain (160,
320...) ISO values in ML menu

* Bugfixes:
- rack focus (no more conflict with follow focus; it's also a bit
slower now and smoother on kit lens, not sure for others)
- LCD backlight keys fix in playback mode (+ option to disable it)
- auto ISO does not remove the 16:9 bars any more
- audio meters (the dB scale was wrong after making them smaller)

Time display for the entire card may be incorrect on certain cards.
Time until 4 GB should be OK.

magiclantern-2011Feb23.550d.fw109.AudioMon.bitrate-test-2.alex.zip

chungdha

unread,
Feb 23, 2011, 9:26:41 AM2/23/11
to Magic Lantern firmware development
Hey Alex would it be possible if ML was inside the MISC folder cause I
can access that when the camera is plugged in to my laptop. And mostly
that folder is always made but not quite sure what that is for
especially its empty the whole time.

On Feb 23, 1:45 pm, Alex <broscutama...@gmail.com> wrote:
> > Just need to buy good brands which outlast the cheaper ones with
> > cheaper plastic.
>
> Which means Lexar is cheap :)
> (that's my card).
>
> I'm also looking for a way to upload new autoexec.bin files via USB in
> order to reduce card wear and tear. For this, I'm trying to understand
> how PTP works. Discussion here:http://chdk.setepontos.com/index.php?topic=3290.msg62079#msg62079
>

Alex

unread,
Feb 23, 2011, 9:30:48 AM2/23/11
to ml-d...@googlegroups.com
No, autoexec.bin has to stay in the root of the card. I can move only
the other files there.

Can you change files from that folder via USB? That would be very nice
for testing new builds without removing the card.

K.

unread,
Feb 23, 2011, 12:48:29 PM2/23/11
to ml-d...@googlegroups.com
I can see improvement cause constant bitrate now lets me use 40 with my class 4 card,previously i was able to use 35 and on 40 it would stop because of buffer,now buffer appears on 40 for a short time but doesnt stop recording cause its filled with only 1 dot so its on screen for 1 second and disappears.Great work.

2011/2/23 Alex <broscu...@gmail.com>

K.

unread,
Feb 23, 2011, 12:51:32 PM2/23/11
to ml-d...@googlegroups.com
Tried to go a bit higher and 45 works too,its stops on 50 with my class 4 card.

2011/2/23 K. <justyna...@gmail.com>

K.

unread,
Feb 23, 2011, 12:55:32 PM2/23/11
to ml-d...@googlegroups.com
Tried to go a bit higher and 45 works too,its stops on 50 with my class 4 card.With class 6 card i can record 50 without buffer meter showing up,then its 60 but it stops recording, i think 55 might work too if 50 works so well but i dont have 55 to choose from,theres 50 and 60.

2011/2/23 K. <justyna...@gmail.com>

chungdha

unread,
Feb 23, 2011, 1:42:19 PM2/23/11
to Magic Lantern firmware development
When I open the camera it will actually directly go into the picture
folder but wierd thing is that it shows a seperate folder of the MISC
inside the folder. While if you place the SD card in a reader the MISC
folder in not in that folder but outside. Might be possible for you to
change that into opening the root instead.

On Feb 23, 3:30 pm, Alex <broscutama...@gmail.com> wrote:
> No, autoexec.bin has to stay in the root of the card. I can move only
> the other files there.
>
> Can you change files from that folder via USB? That would be very nice
> for testing new builds without removing the card.
>

Morgan Look

unread,
Feb 23, 2011, 2:46:49 PM2/23/11
to ml-d...@googlegroups.com
Could autoexec.bin be a bootloader for MISC/magic.bin?

Morgan Look

unread,
Feb 23, 2011, 2:51:30 PM2/23/11
to ml-d...@googlegroups.com
Morning

Is it possible to implement some buffer protection?  Drop the bitrate if the buffer fills too much.

Or put another way; a "max bitrate this card can handle" mode.

Morgan

Ba...@aol.com

unread,
Feb 23, 2011, 2:57:14 PM2/23/11
to ml-d...@googlegroups.com
On my crappy class 10,  starts crashing at around 55, saw some peaks into 70s but it could sustain it for any length over 55.

Ba...@aol.com

unread,
Feb 23, 2011, 3:00:05 PM2/23/11
to ml-d...@googlegroups.com
I think at sustained 50 we are running into the write limits of this camera.   Canon did set their firmware the way they did for nothing.    They knew the limitations.
 
Chris

Alex

unread,
Feb 23, 2011, 3:17:30 PM2/23/11
to ml-d...@googlegroups.com
> Is it possible to implement some buffer protection? Drop the bitrate if the
> buffer fills too much.

I've tried, but it was very aggressive (i.e. bitrate fluctuates too
much). You should know what speed your card has.

Pash0k

unread,
Feb 23, 2011, 3:41:25 PM2/23/11
to Magic Lantern firmware development
iso.round.only = 1 not work.
If I press the button Q, autoiso work like - 100 110 125 170

In release 2011Feb20.550d.fw109.AudioMon.round-iso - work fine.
> > On Tue, Feb 22, 2011 at 10:40 PM, chungdha <chung...@gmail.com> wrote:
> >> Just need to buy good brands which outlast the cheaper ones with
> >> cheaper plastic. Have seen allot of cards with crazy loose lock switch
> >> which I never touch or change settings, while my the current Toshiba I
> >> am using got plenty of use and they seem to be holding and outlasting
> >> most of the other SD card brand I have used.
>
> >> On Feb 22, 8:49 pm, Fernando Freire <nangdo...@gmail.com> wrote:
> >>> Humm, and the plastic of my 16GB class 6 card is aging very fast: the cards
> >>> don't resist so many insertions and extractions.
>
> >>> It's better go for microsdhc (only we can break the less expensive adapter),
> >>> and they are compatible with a huge amount of devices.
>
> >>> We are waiting for this one. It's no more expensive than the SDHC
> >>> equivalent:
>
> >>>http://www.alternate.es/html/product/Sticks_y_memorias_microSDHC/Patr...
>
> >>> This is class 10, but regardless that, it's possible than we reach the speed
> >>> limits between cam and card drive.
>
> >> --
> >>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 athttp://groups.google.com/group/ml-devel?hl=en
>
>  magiclantern-2011Feb23.550d.fw109.AudioMon.bitrate-test-2.alex.zip
> 1223KПросмотретьЗагрузить

Alex

unread,
Feb 23, 2011, 4:35:15 PM2/23/11
to ml-d...@googlegroups.com
> If I press the button Q, autoiso work like - 100 110 125 170

Is that a problem? Press SET after Q.

2011/2/23 Pash0k <bench...@gmail.com>:

Ryan Novak-Smith

unread,
Feb 23, 2011, 4:43:59 PM2/23/11
to Magic Lantern firmware development
Would it be possible to show battery percentage in video mode? or even
just the bars?

On Feb 23, 4:35 pm, Alex <broscutama...@gmail.com> wrote:
> > If I press the button Q,  autoiso work like - 100 110 125 170
>
> Is that a problem? Press SET after Q.
>
> 2011/2/23 Pash0k <benchpa...@gmail.com>:

Pash0k

unread,
Feb 23, 2011, 5:29:41 PM2/23/11
to Magic Lantern firmware development
Sorry for my English. But you don't understand me.
I'll try to explain another.
In previous post I mean:
Does not work iso "round" i.e. 100, 160, 200, 320, 400, 640, ...



On 23 фев, 23:35, Alex <broscutama...@gmail.com> wrote:
> > If I press the button Q,  autoiso work like - 100 110 125 170
>
> Is that a problem? Press SET after Q.
>
> 2011/2/23 Pash0k <benchpa...@gmail.com>:

Alex

unread,
Feb 23, 2011, 5:37:08 PM2/23/11
to ml-d...@googlegroups.com
Wakarimashita.

2011/2/23 Pash0k <bench...@gmail.com>:

K.

unread,
Feb 23, 2011, 6:41:12 PM2/23/11
to ml-d...@googlegroups.com
round iso is not 400 or 200

2011/2/23 Alex <broscu...@gmail.com>

Alin Simionoiu

unread,
Feb 23, 2011, 7:23:01 PM2/23/11
to ml-d...@googlegroups.com
i'm curious: have you managed to set ISO to 50 on 550d or the camera rejects the value?

2011/2/23 K. <justyna...@gmail.com>

Alex

unread,
Feb 24, 2011, 2:29:56 AM2/24/11
to ml-d...@googlegroups.com
It rejects any value under ISO 100.

2011/2/24 Alin Simionoiu <alin.si...@gmail.com>:

Torben Scharling

unread,
Mar 1, 2011, 8:49:56 AM3/1/11
to Magic Lantern firmware development
Thanks, I installed the feb 25 build after this one, since the auto
save config wasn't working in this build. Works like a charm now. The
Qscale problem I had was, as you mentioned, because I didn't read the
manual and thought It was just gone from the menu since last time I
updated the build.

You rock! :)
> > On Tue, Feb 22, 2011 at 10:40 PM, chungdha <chung...@gmail.com> wrote:
> >> Just need to buy good brands which outlast the cheaper ones with
> >> cheaper plastic. Have seen allot of cards with crazy loose lock switch
> >> which I never touch or change settings, while my the current Toshiba I
> >> am using got plenty of use and they seem to be holding and outlasting
> >> most of the other SD card brand I have used.
>
> >> On Feb 22, 8:49 pm, Fernando Freire <nangdo...@gmail.com> wrote:
> >>> Humm, and the plastic of my 16GB class 6 card is aging very fast: the cards
> >>> don't resist so many insertions and extractions.
>
> >>> It's better go for microsdhc (only we can break the less expensive adapter),
> >>> and they are compatible with a huge amount of devices.
>
> >>> We are waiting for this one. It's no more expensive than the SDHC
> >>> equivalent:
>
> >>>http://www.alternate.es/html/product/Sticks_y_memorias_microSDHC/Patr...
>
> >>> This is class 10, but regardless that, it's possible than we reach the speed
> >>> limits between cam and card drive.
>
> >> --
> >>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 athttp://groups.google.com/group/ml-devel?hl=en
>
>
>
>  magiclantern-2011Feb23.550d.fw109.AudioMon.bitrate-test-2.alex.zip
> 1223KViewDownload
Reply all
Reply to author
Forward
0 new messages