any Ext monitor fix?

239 views
Skip to first unread message

cristian paradiso

unread,
Jan 13, 2011, 7:18:05 PM1/13/11
to Magic Lantern firmware development
Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
ML, when you have time please try to do something for it. thanks

Alex

unread,
Jan 14, 2011, 6:02:54 AM1/14/11
to ml-d...@googlegroups.com
Run the focus peaking build, connect the external display, click Video
-> [debug] dump vram and send the vram dump to me.

On Fri, Jan 14, 2011 at 2:18 AM, cristian paradiso <gui...@yahoo.it> wrote:
> Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
> ML, when you have time please try to do something for it. thanks
>

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

cacasodo

unread,
Jan 14, 2011, 9:46:26 AM1/14/11
to Magic Lantern firmware development
thanks for checking into this Alex,
'sodo

cristian paradiso

unread,
Jan 14, 2011, 11:16:39 AM1/14/11
to Magic Lantern firmware development
Sorry Alex which on is the one with focus peaking? is the one with no
audiomonitoring? let me know please. thanks. once I know I do what you
asked me to do. WIll the vram dump create a file in the sd card? how
will that be called?

cristian paradiso

unread,
Jan 14, 2011, 11:25:44 AM1/14/11
to Magic Lantern firmware development
Sorry I got my LOG000 file but I dont know how to attache it here,
have you got an email?

On Jan 14, 2:46 pm, cacasodo <cacasodo...@gmail.com> wrote:

cristian paradiso

unread,
Jan 14, 2011, 11:29:59 AM1/14/11
to ml-d...@googlegroups.com
There is my file, I hope that's the right way to send it to the forum. I did it by mail


Da: cristian paradiso <gui...@yahoo.it>
A: Magic Lantern firmware development <ml-d...@googlegroups.com>
Inviato: Ven 14 gennaio 2011, 16:16:39
Oggetto: [ML] Re: any Ext monitor fix?
--
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+unsub...@googlegroups.com
LOG000.LOG

cristian paradiso

unread,
Jan 14, 2011, 11:32:24 AM1/14/11
to Magic Lantern firmware development
I installed the noaudiomonitoring one, I run it with the monitor and
then I had done what you told me to do and I've sent the file it
created to here. I hope I did it right.

On Jan 14, 4:29 pm, cristian paradiso <guit...@yahoo.it> wrote:
> There is my file, I hope that's the right way to send it to the forum. I did it
> by mail
>
> ________________________________
> Da: cristian paradiso <guit...@yahoo.it>
> A: Magic Lantern firmware development <ml-d...@googlegroups.com>
> Inviato: Ven 14 gennaio 2011, 16:16:39
> Oggetto: [ML] Re: any Ext monitor fix?
>
> Sorry Alex which on is the one with focus peaking? is the one with no
> audiomonitoring? let me know please. thanks. once I know I do what you
> asked me to do. WIll the vram dump create a file in the sd card? how
> will that be called?
>
> On Jan 14, 2:46 pm, cacasodo <cacasodo...@gmail.com> wrote:
>
> > thanks for checking into this Alex,
> > 'sodo
>
> --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
>
>  LOG000.LOG
> 350KViewDownload

Alex

unread,
Jan 14, 2011, 12:23:57 PM1/14/11
to ml-d...@googlegroups.com
Thanks. The dump is called VRAM.BIN. Focus peaking build is the thread
with focus assist experiments.

> --

cristian paradiso

unread,
Jan 14, 2011, 6:17:51 PM1/14/11
to ml-d...@googlegroups.com
Thanks Alex, I've done the thing you told me but the only extra file that it's generated after dump the vram it is this. If I'm doing something wrong give me some instruction.thanks


Da: Alex <broscu...@gmail.com>
A: ml-d...@googlegroups.com
Inviato: Ven 14 gennaio 2011, 17:23:57
Oggetto: Re: [ML] Re: any Ext monitor fix?

Thanks. The dump is called VRAM.BIN. Focus peaking build is the thread
with focus assist experiments.

On Fri, Jan 14, 2011 at 6:32 PM, cristian paradiso <gui...@yahoo.it> wrote:
> I installed the noaudiomonitoring one, I run it with the monitor and
> then I had done what you told me to do and I've sent the file it
> created to here. I hope I did it right.
>
> On Jan 14, 4:29 pm, cristian paradiso <guit...@yahoo.it> wrote:
>> There is my file, I hope that's the right way to send it to the forum. I did it
>> by mail
>>
>> ________________________________
>> Da: cristian paradiso <guit...@yahoo.it>
>> A: Magic Lantern firmware development <ml-d...@googlegroups.com>
>> Inviato: Ven 14 gennaio 2011, 16:16:39
>> Oggetto: [ML] Re: any Ext monitor fix?
>>
>> Sorry Alex which on is the one with focus peaking? is the one with no
>> audiomonitoring? let me know please. thanks. once I know I do what you
>> asked me to do. WIll the vram dump create a file in the sd card? how
>> will that be called?
>>
>> On Jan 14, 2:46 pm, cacasodo <cacasodo...@gmail.com> wrote:
>>
>> > thanks for checking into this Alex,
>> > 'sodo
>>
>> --http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to

>> For more options, visit this group athttp://groups.google.com/group/ml-devel?hl=en
>>
>>  LOG000.LOG
>> 350KViewDownload
>
> --
> 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+unsub...@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+unsub...@googlegroups.com
LOG001.LOG

Alex

unread,
Jan 15, 2011, 2:53:13 AM1/15/11
to ml-d...@googlegroups.com
* The focus peaking build is in this thread:
http://groups.google.com/group/ml-devel/browse_thread/thread/d29edd39ae8db9ae
* The menu item you need is in Video menu, and spelled exactly like
this: [debug] dump vram
* What you have sent me was created from Debug -> dump dmlog, which is
a different thing.

>>> ml-devel+u...@googlegroups.com


>>> For more options, visit this group
>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>
>>>  LOG000.LOG
>>> 350KViewDownload
>>
>> --
>> 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

cristian paradiso

unread,
Jan 15, 2011, 5:31:51 AM1/15/11
to ml-d...@googlegroups.com
Ok thanks I'll try again. cheers

Inviato: Sab 15 gennaio 2011, 07:53:13

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

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

> 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

> 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+unsub...@googlegroups.com

cristian paradiso

unread,
Jan 15, 2011, 5:37:19 AM1/15/11
to ml-d...@googlegroups.com
Thanks Alex, there you are your file

Inviato: Sab 15 gennaio 2011, 07:53:13

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

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

> 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

> 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+unsub...@googlegroups.com
VRAM.BIN

Alex

unread,
Jan 15, 2011, 5:48:16 AM1/15/11
to ml-d...@googlegroups.com
Wow, the VRAM increases to 1920, not 960 like I thought. That's a lot
of RAM, I'm afraid I can't allocate that much...

This means:
- only vector cropmarks can work here
- zebras and focus markers will overwrite Canon menus (and I can't fix that)

Can you post a screenshot of Magic Lantern screen on the external monitor?

How to decode VRAM.BIN (may be useful for developers working on other
cameras, like 60D/500D)
Code: http://magiclantern.wikia.com/wiki/VRAM/550D
In [1]: s = readseg("VRAM.BIN", 0, 691200)
In [2]: guesspitch(s)
3840.0

>>>> ml-devel+u...@googlegroups.com


>>>> For more options, visit this group
>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>
>>>>  LOG000.LOG
>>>> 350KViewDownload
>>>
>>> --
>>> 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 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

Alex

unread,
Jan 15, 2011, 5:54:06 AM1/15/11
to ml-d...@googlegroups.com
Can you do again the VRAM dump with this build? If you can focus the
camera on something, that's even better.

This time, the VRAM file will have around 4 MB.

Diff (what I've changed in the code since the last build):
- dump_seg(YUV422_IMAGE_BUFFER, 720*480*2, "B:/VRAM.BIN");
+ dump_seg(YUV422_IMAGE_BUFFER, 1920*1080*2, "B:/VRAM.BIN");

magiclantern-2011Jan15.550d.fw109.NoAudioMon.hdmi-dump.alex.zip

cristian paradiso

unread,
Jan 15, 2011, 9:48:31 AM1/15/11
to ml-d...@googlegroups.com
Hi Alex, I sent you the file but I got a message of failure sending as the file it's too big 3.95mb. Is there any other way I can send you the file? could u give me an email?

Inviato: Sab 15 gennaio 2011, 10:54:06

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

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

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

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

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

>> 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+unsub...@googlegroups.com

Alex

unread,
Jan 15, 2011, 9:53:59 AM1/15/11
to ml-d...@googlegroups.com

>>>>>> ml-devel+u...@googlegroups.com


>>>>>> For more options, visit this group
>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>
>>>>>>  LOG000.LOG
>>>>>> 350KViewDownload
>>>>>
>>>>> --
>>>>> 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 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 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

cacasodo

unread,
Jan 15, 2011, 11:24:52 AM1/15/11
to Magic Lantern firmware development
Cristian,
Alternatively, there are a number of different upload services you can
use for files that are larger than the average email host allows:
http://mashable.com/2007/05/23/7-ways-to-send-huge-files-25x-bigger-than-gmail/

A buddy of mine uses StrongSpace, which has a nice simple interface:
https://www.strongspace.com/

sodo

On Jan 15, 9:48 am, cristian paradiso <guit...@yahoo.it> wrote:
> Hi Alex, I sent you the file but I got a message of failure sending as the file
> it's too big 3.95mb. Is there any other way I can send you the file? could u
> give me an email?
>
> ________________________________
> Da: Alex <broscutama...@gmail.com>
> A: ml-d...@googlegroups.com
> Inviato: Sab 15 gennaio 2011, 10:54:06
> Oggetto: Re: [ML] Re: any Ext monitor fix?
>
> Can you do again the VRAM dump with this build? If you can focus the
> camera on something, that's even better.
>
> This time, the VRAM file will have around 4 MB.
>
> Diff (what I've changed in the code since the last build):
> -    dump_seg(YUV422_IMAGE_BUFFER, 720*480*2, "B:/VRAM.BIN");
> +    dump_seg(YUV422_IMAGE_BUFFER, 1920*1080*2, "B:/VRAM.BIN");
>
>
>
> On Sat, Jan 15, 2011 at 12:48 PM, Alex <broscutama...@gmail.com> wrote:
> > Wow, the VRAM increases to 1920, not 960 like I thought. That's a lot
> > of RAM, I'm afraid I can't allocate that much...
>
> > This means:
> > - only vector cropmarks can work here
> > - zebras and focus markers will overwrite Canon menus (and I can't fix that)
>
> > Can you post a screenshot of Magic Lantern screen on the external monitor?
>
> > How to decode VRAM.BIN (may be useful for developers working on other
> > cameras, like 60D/500D)
> > Code:http://magiclantern.wikia.com/wiki/VRAM/550D
> > In [1]: s = readseg("VRAM.BIN", 0, 691200)
> > In [2]: guesspitch(s)
> > 3840.0
>
> > On Sat, Jan 15, 2011 at 12:37 PM, cristian paradiso <guit...@yahoo.it> wrote:
> >> Thanks Alex, there you are your file
>
> >> ________________________________
> >> Da: Alex <broscutama...@gmail.com>
> >> A: ml-d...@googlegroups.com
> >> Inviato: Sab 15 gennaio 2011, 07:53:13
> >> Oggetto: Re: [ML] Re: any Ext monitor fix?
>
> >> * The focus peaking build is in this thread:
> >>http://groups.google.com/group/ml-devel/browse_thread/thread/d29edd39...
> >> * The menu item you need is in Video menu, and spelled exactly like
> >> this: [debug] dump vram
> >> * What you have sent me was created from Debug -> dump dmlog, which is
> >> a different thing.
>
> >> On Sat, Jan 15, 2011 at 1:17 AM, cristian paradiso <guit...@yahoo.it> wrote:
> >>> Thanks Alex, I've done the thing you told me but the only extra file that
> >>> it's generated after dump the vram it is this. If I'm doing something
> >>> wrong
> >>> give me some instruction.thanks
>
> >>> ________________________________
> >>> Da: Alex <broscutama...@gmail.com>
> >>> A: ml-d...@googlegroups.com
> >>> Inviato: Ven 14 gennaio 2011, 17:23:57
> >>> Oggetto: Re: [ML] Re: any Ext monitor fix?
>
> >>> Thanks. The dump is called VRAM.BIN. Focus peaking build is the thread
> >>> with focus assist experiments.
>
> >>> On Fri, Jan 14, 2011 at 6:32 PM, cristian paradiso <guit...@yahoo.it>
> >>> wrote:
> >>>> I installed the noaudiomonitoring one, I run it with the monitor and
> >>>> then I had done what you told me to do and I've sent the file it
> >>>> created to here. I hope I did it right.
>
> >>>> On Jan 14, 4:29 pm, cristian paradiso <guit...@yahoo.it> wrote:
> >>>>> There is my file, I hope that's the right way to send it to the forum. I
> >>>>> did it
> >>>>> by mail
>
> >>>>> ________________________________
> >>>>> Da: cristian paradiso <guit...@yahoo.it>
> >>>>> A: Magic Lantern firmware development <ml-d...@googlegroups.com>
> >>>>> Inviato: Ven 14 gennaio 2011, 16:16:39
> >>>>> Oggetto: [ML] Re: any Ext monitor fix?
>
> >>>>> Sorry Alex which on is the one with focus peaking? is the one with no
> >>>>> audiomonitoring? let me know please. thanks. once I know I do what you
> >>>>> asked me to do. WIll the vram dump create a file in the sd card? how
> >>>>> will that be called?
>
> >>>>> On Jan 14, 2:46 pm, cacasodo <cacasodo...@gmail.com> wrote:
>
> >>>>> > thanks for checking into this Alex,
> >>>>> > 'sodo
>
> >>>>> --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
>
> >>>>>  LOG000.LOG
> >>>>> 350KViewDownload
>
> >>>> --
> >>>>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 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 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

cristian paradiso

unread,
Jan 15, 2011, 8:22:25 PM1/15/11
to ml-d...@googlegroups.com
Inviato: Sab 15 gennaio 2011, 10:54:06

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

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

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

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

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

>> 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+unsub...@googlegroups.com
IMG_1784.JPG

Alex

unread,
Jan 16, 2011, 4:21:27 AM1/16/11
to ml-d...@googlegroups.com
* the BMP VRAM is 960x540, just like Trammell found in the 5D2.
* the LiveView VRAM (which is 720x480 without ext monitor) is 1920x1080.

Now, questions:

* Does the ML display center itself when you press Record? (with HDMI
monitor attached)
(from Cropmarks wiki page: "While recording it will switch back to 480p")

* Now I'm curious what happens with the other buffer, which we use for
silent pictures. Take a silent picture with the HDMI connected and
send it to me.

* The other unknown is how do we know when the monitor is connected.
To find this, you need to follow this procedure:
- I assume HDMI can be connected while the camera is on (there are
entries about this in hotplug_task)
- If anything goes wrong, take the battery out quickly
- Put a second camera to record the screen of your 550D (there will be
some very small text, so focus it well).
- Press Debug->Toggle draw_prop (you will see codes on the screen)
- Connect/disconnect HDMI display a few times
- After that, disable draw_prop and do a Debug -> dump dmlog

* If the camera display goes off when plugging the ext monitor, you
need to repeat the same thing by recording the HDMI display.

- Send me the movie(s) and the LOGxxx.LOG file(s) from your SD card.

See http://vimeo.com/groups/magiclantern/forumthread:236295 for an
example of how to do it (there's a link to a movie like the one you
should get)

>>>>>> ml-devel+u...@googlegroups.com


>>>>>> For more options, visit this group
>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>
>>>>>>  LOG000.LOG
>>>>>> 350KViewDownload
>>>>>
>>>>> --
>>>>> 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 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 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

000-odd.png

Alex

unread,
Jan 16, 2011, 4:23:17 AM1/16/11
to ml-d...@googlegroups.com
The example video is here: http://vimeo.com/18518114

cristian paradiso

unread,
Jan 16, 2011, 9:39:15 AM1/16/11
to ml-d...@googlegroups.com
Hi Alex, I've done it, but unfortunately the video I shot it is not great so you are not able to see the small numbers, But I send it you anyway it might still be helpful for you. I'm waiting for my iphone to be repaired so then I will record it with it and I'm sure the quality to see the numbers will be alright. I just want you tell that my monitor smallhd dp6 has a system to resize its screen when is into recording mode as goes from 1080 to 480 so that might complicates things even more for you, this is the tutorial that might give you an idea how it works: http://videos.smallhd.com/ in this page you need to watch the scale+customscale go straight at 2.30 to see dslr scaling. that's the way it works. I'm going to get my iphone in few days and I will redo the video so you can see clearly next time. I actually forgot to take a silent picture, but i didnt quite understand if you want me to send you the picture or something else.there is my video for the moment http://vimeo.com/18840011

Inviato: Dom 16 gennaio 2011, 09:21:27

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

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

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

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

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

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

> 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

> 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+unsub...@googlegroups.com
LOG001.LOG

Alex

unread,
Jan 16, 2011, 9:44:00 AM1/16/11
to ml-d...@googlegroups.com
Yes, send me the 422 picture.

>>>>>>> ml-devel+u...@googlegroups.com


>>>>>>> For more options, visit this group
>>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>>
>>>>>>>  LOG000.LOG
>>>>>>> 350KViewDownload
>>>>>>
>>>>>> --
>>>>>> 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 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 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 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

cristian paradiso

unread,
Jan 16, 2011, 10:01:46 AM1/16/11
to ml-d...@googlegroups.com
I got the 422-jpg.py extra from the ML files on the card and 0804-003.422 inside the dcmi folder with the other movie and picture file

Inviato: Dom 16 gennaio 2011, 14:44:00
>>>>>>> ml-devel+unsub...@googlegroups.com

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

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

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

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

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

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

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

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

> 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

> 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+unsub...@googlegroups.com
422-jpg.py
0804-003.422

Alex

unread,
Jan 16, 2011, 12:25:42 PM1/16/11
to ml-d...@googlegroups.com
The 422 file is still at low resolution (which is strange). Did you
take it while the HDMI monitor was connected?

>>>>>>>> ml-devel+u...@googlegroups.com


>>>>>>>> For more options, visit this group
>>>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>>>
>>>>>>>>  LOG000.LOG
>>>>>>>> 350KViewDownload
>>>>>>>
>>>>>>> --
>>>>>>> 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 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 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 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 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

Fernando Freire

unread,
Jan 16, 2011, 2:19:35 PM1/16/11
to ml-d...@googlegroups.com
Hi, with HDMI the pitch that change is the one of segment 0x40D07800: 1440 pitch, 720x420 of the wiki?

¿is it the overlay segment? ¿from where dumps the bmp of display? if it is so we have a issue with HDMI output, not only we need scale all ML graphics (menues and so on) but also make aspect ratio corrections from 3:2 to 16:9.


Alex

unread,
Jan 16, 2011, 2:27:36 PM1/16/11
to ml-d...@googlegroups.com
> 0x40D07800
Yes.

¿is it the overlay segment?

No. It's the segment from which are computed the zebra and histogram
=> can be downscaled.

The overlay becomes 960x540: http://magiclantern.wikia.com/wiki/Cropmarks

I believe the BMP gets cropped.

Cristian, can you take a pic of your HDMI screen outside LV mode? (in
M mode, for example).

cristian paradiso

unread,
Jan 16, 2011, 5:42:05 PM1/16/11
to ml-d...@googlegroups.com
yes it was


Inviato: Dom 16 gennaio 2011, 17:25:42
>>>>>>>> ml-devel+unsub...@googlegroups.com

>>>>>>>> For more options, visit this group
>>>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>>>
>>>>>>>>  LOG000.LOG
>>>>>>>> 350KViewDownload
>>>>>>>
>>>>>>> --
>>>>>>> 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+unsub...@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

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

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

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

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

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

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

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

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

> 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

> 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+unsub...@googlegroups.com

cristian paradiso

unread,
Jan 16, 2011, 5:49:20 PM1/16/11
to ml-d...@googlegroups.com
Sorry alex I didnt get it, first of all what's LV mode? do you want me to take a silent picture in M mode? the picture I sent you it was with the hdmi monitor connected in M mode. Could you explain me step by step what you need? sorry but I m a bit slow on understanding certain things. "can you take a pic of your HDMI screen...." i m sure you didnt mean a picture of the monitor itself, right? :)

Inviato: Dom 16 gennaio 2011, 19:27:36

Oggetto: Re: [ML] Re: any Ext monitor fix?

> 0x40D07800
Yes.

¿is it the overlay segment?
No. It's the segment from which are computed the zebra and histogram
=> can be downscaled.

The overlay becomes 960x540: http://magiclantern.wikia.com/wiki/Cropmarks

I believe the BMP gets cropped.

Cristian, can you take a pic of your HDMI screen outside LV mode? (in
M mode, for example).

On Sun, Jan 16, 2011 at 9:19 PM, Fernando Freire <nang...@gmail.com> wrote:
> Hi, with HDMI the pitch that change is the one of segment 0x40D07800: 1440
> pitch, 720x420 of the wiki?
>
> ¿is it the overlay segment? ¿from where dumps the bmp of display? if it is
> so we have a issue with HDMI output, not only we need scale all ML graphics
> (menues and so on) but also make aspect ratio corrections from 3:2 to 16:9.
>
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to

> 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+unsub...@googlegroups.com

sawomedia

unread,
Jan 17, 2011, 4:38:38 PM1/17/11
to Magic Lantern firmware development
Do you need any other dumps from different monitors (got a lilliput
here), or is it all the same?

On 14 Jan., 12:02, Alex <broscutama...@gmail.com> wrote:
> Run the focus peaking build, connect the external display, click Video
> -> [debug] dump vram and send the vram dump to me.
>
> On Fri, Jan 14, 2011 at 2:18 AM, cristian paradiso <guit...@yahoo.it> wrote:
> > Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
> > ML, when you have time please try to do something for it. thanks
>
> > --
> >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

Alex

unread,
Jan 17, 2011, 4:40:24 PM1/17/11
to ml-d...@googlegroups.com
I believe it's the same for all HD monitors, but may be different with
SD monitors.

If you can do another movie where I could read the fine print, that
would be perfect.

cristian paradiso

unread,
Jan 17, 2011, 4:47:30 PM1/17/11
to ml-d...@googlegroups.com
Hi Alex any news with the tests we made?


Da: sawomedia <audio...@web.de>

A: Magic Lantern firmware development <ml-d...@googlegroups.com>
Inviato: Lun 17 gennaio 2011, 21:38:38
Oggetto: [ML] Re: any Ext monitor fix?

Do you need any other dumps from different monitors (got a lilliput
here), or is it all the same?

On 14 Jan., 12:02, Alex <broscutama...@gmail.com> wrote:
> Run the focus peaking build, connect the external display, click Video
> -> [debug] dump vram and send the vram dump to me.
>
> On Fri, Jan 14, 2011 at 2:18 AM, cristian paradiso <guit...@yahoo.it> wrote:
> > Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
> > ML, when you have time please try to do something for it. thanks
>
> > --
> >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+unsub...@googlegroups.com

> > For more options, visit this group athttp://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+unsub...@googlegroups.com

Alex

unread,
Jan 17, 2011, 4:58:10 PM1/17/11
to ml-d...@googlegroups.com
Yes, like you said before, I can't read the fine print from your video.

On Mon, Jan 17, 2011 at 11:47 PM, cristian paradiso <gui...@yahoo.it> wrote:
> Hi Alex any news with the tests we made?
>
> ________________________________
> Da: sawomedia <audio...@web.de>
> A: Magic Lantern firmware development <ml-d...@googlegroups.com>
> Inviato: Lun 17 gennaio 2011, 21:38:38
> Oggetto: [ML] Re: any Ext monitor fix?
>
> Do you need any other dumps from different monitors (got a lilliput
> here), or is it all the same?
>
> On 14 Jan., 12:02, Alex <broscutama...@gmail.com> wrote:
>> Run the focus peaking build, connect the external display, click Video
>> -> [debug] dump vram and send the vram dump to me.
>>
>> On Fri, Jan 14, 2011 at 2:18 AM, cristian paradiso <guit...@yahoo.it>
>> wrote:
>> > Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
>> > ML, when you have time please try to do something for it. thanks
>>
>> > --
>> >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
>>
>>
>
> --
> 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

sawomedia

unread,
Jan 17, 2011, 5:00:02 PM1/17/11
to Magic Lantern firmware development
What fine print are you exactly referring to?

i can choose between draw_prop, draw-event and dump vram

i can do a video for sure, just want to clear it up

On 17 Jan., 22:40, Alex <broscutama...@gmail.com> wrote:
> I believe it's the same for all HD monitors, but may be different with
> SD monitors.
>
> If you can do another movie where I could read the fine print, that
> would be perfect.
>

Alex

unread,
Jan 17, 2011, 5:05:22 PM1/17/11
to ml-d...@googlegroups.com
It's the draw_prop one. I want to find the property which tells
whether the HDMI monitor is plugged in or not.

JaKoB

unread,
Jan 17, 2011, 5:20:06 PM1/17/11
to ml-d...@googlegroups.com
alex 
if you got a hdtv and a mini hdmi to hdmi you can test it out yourself =)

Antony Newman

unread,
Jan 17, 2011, 5:21:52 PM1/17/11
to ml-d...@googlegroups.com
Maybe I can help a little.

----------
When you look at the back of the camera there you see a detailed moving image stored in a video ram segement (vram).   (I'll call this the ML vram  .. as this is the one that Trammell used to calculate the Zebras)

When Canon help (or ML help) is displayed, it is stored in the overlay.

The is a nice mapping between the LCD screens 'overlay data' and the ML_Vram (1:1 pixel)
----------

Plug in an STD-def HDMI screen and you may everything goes a bit mad - but its actually ok.

What happens now is that the ML_VRram has empty black borders on the left and the right, and the image in the centre is squeezed in a bit.   Its still the same resolution as the Overlay.

So ... if you do zebras .. there is still a 1:1 mapping.  (720 horizontal resolution in both)

----------

Plug in an HD HDMI screen.

The ML_Vram now has a resolution of 1920 (I think) - including the bars on the side, and the Overlay resolution goes up form 720 -> 960 pixels.


Based on this ... I have  wild guess that what you are seeing is the Zebras (or cropmarks) shifted to the right by ... (vram has twice as many pixels horizontally).


Based in my earlier guesswork (some may call theories), I guess all that is needed is for the Zebras or Cropmarks to now write their output to every other horizontal pixel (ie stretch by two).


Hope this helps!  (Note:  haven't got around to testing properly with a HD monitor yet .. )

AJ


Antony Newman

unread,
Jan 17, 2011, 5:31:52 PM1/17/11
to ml-d...@googlegroups.com
FYI:

Here is an extract from my vector cropmark code so that I can stretch/shrink my cropmarks.

It is not 100% perfect.  Probably +- pixel in the Y axis, and +-2 pixels in the X axis.

I haven't learnt how to use DryOs properties yet  ** , and so there is a bug in this code when using a HD_HDMI screen in Record mode ... which is that is doesn't register the fact that they screen resolution is zapped down to 480p (I'll sort this out later!).


   /****************************************************************
   *  Cropmarks should take into account if in HDMI mode or not    *
   ****************************************************************/

   // 00001AE0 aAJ_0x1AA4_hotplug_struct_0x3C_hotplug_HDMI_state % 4

   unsigned int HDMI_hotplug_address = 0x1AA4 + 0x3C;

   g_HDMI_connected = (* (unsigned int*) HDMI_hotplug_address) & 1;
  
   if (g_HDMI_connected == 1 )
   {  // here if in HDMI ... then X gets compressed.  Y does too in HD HDMI mode

      if ( g_vram_pitch == 1920)   // HD - so need to compress Y too. (540 lines 480 displayed)
      {       
         unsigned int x_start = 76;
         unsigned int x_width = 808;

         unsigned int y_start = 0;
         unsigned int y_height = 540;

         g_cropmark_x_start = ((g_cropmark_Master_x_start * x_width)/720 + x_start)    &(~3);
         g_cropmark_x_end   = ((g_cropmark_Master_x_end   * x_width)/720 + x_start)    &(~3);
         g_cropmark_y_start = ((g_cropmark_Master_y_start * y_height)/425 + y_start)   ;
         g_cropmark_y_end   = ((g_cropmark_Master_y_end   * y_height)/425 + y_start)   ;
      }
      else // here if HDMI 480p - Y same, only need to squeeze x
      {
         unsigned int x_start = 40;
         unsigned int x_width = 640;
         unsigned int y_start = 26;
         unsigned int y_height = 386; 

         g_cropmark_x_start = ((g_cropmark_Master_x_start * x_width)/720 + x_start)    &(~3);
         g_cropmark_x_end   = ((g_cropmark_Master_x_end   * x_width)/720 + x_start)    &(~3);
         g_cropmark_y_start = ((g_cropmark_Master_y_start * y_height)/425 + y_start)   ;
         g_cropmark_y_end   = ((g_cropmark_Master_y_end   * y_height)/425 + y_start)   ;

      }
   }
   else // this is on the LCD .. Cropmarks do not need frigging!
   {
      g_cropmark_x_start = g_cropmark_Master_x_start  &(~3);
      g_cropmark_x_end   = g_cropmark_Master_x_end    &(~3);
      g_cropmark_y_start = g_cropmark_Master_y_start  ;
      g_cropmark_y_end   = g_cropmark_Master_y_end    ;
   }


**  but I will later this week to create grovy icon for Moira.

AJ

Alex

unread,
Jan 17, 2011, 5:33:01 PM1/17/11
to ml-d...@googlegroups.com
Just like you did in previous video.

On Tue, Jan 18, 2011 at 12:30 AM, cristian paradiso <gui...@yahoo.it> wrote:
> Ok Alex, today I got my iphone back so I'm going to redo the test tomorrow,
> How long do you want me to do the test for? how many time do I need to
> remove and put back the hdmi connection? anything else you need? tell me in
> details and tomorrow I ll do it! thanks again
>
> ________________________________
> Da: Alex <broscu...@gmail.com>
> A: ml-d...@googlegroups.com
> Inviato: Lun 17 gennaio 2011, 22:05:22
> Oggetto: Re: [ML] Re: any Ext monitor fix?

sawomedia

unread,
Jan 17, 2011, 5:38:12 PM1/17/11
to Magic Lantern firmware development
Is a photo enough? I did plug in the monitor, and as soon as the
picture shows up on the external hdmi mon,
the numbers dont change. When i do a half-shutter press the numbers
update.

Dont know exactly what i should record now :D

On 17 Jan., 23:05, Alex <broscutama...@gmail.com> wrote:
> It's the draw_prop one. I want to find the property which tells
> whether the HDMI monitor is plugged in or not.
>

cristian paradiso

unread,
Jan 17, 2011, 5:40:21 PM1/17/11
to ml-d...@googlegroups.com
ok I'll do it tomorrow and I'll post the video at lunch time


Inviato: Lun 17 gennaio 2011, 22:33:01
>>> >> > ml-devel+unsub...@googlegroups.com

>>> >> > For more options, visit this group
>>> >> > athttp://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

>>> > For more options, visit this group
>>> > athttp://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

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

> 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

> 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+unsub...@googlegroups.com

Alex

unread,
Jan 17, 2011, 5:40:26 PM1/17/11
to ml-d...@googlegroups.com
One of them should change (e.g. 1 when external monitor is connected,
0 otherwise, or something like this).

When I've connected the USB-RCA cable, I've noticed this property changes:

#define PROP_EXTERNAL_MONITOR 0x80030018 // not sure

Can you confirm this is the one?

cristian paradiso

unread,
Jan 17, 2011, 5:42:24 PM1/17/11
to ml-d...@googlegroups.com
Sorry Antony but i m not very good on anything rather then imstall the ML on the sd card, is there any simple way how to do it?


Da: Antony Newman <antony...@gmail.com>
A: ml-d...@googlegroups.com
Inviato: Lun 17 gennaio 2011, 22:31:52
Oggetto: Re: [ML] Re: any Ext monitor fix?

Antony Newman

unread,
Jan 17, 2011, 5:48:28 PM1/17/11
to ml-d...@googlegroups.com
Cristian,

Apologies for the 'jibberish' - what I was trying to write down was a possible software solution to the problem.

The question I had for you was ... is what you are seeing that the zebras appear at twice the distance expected from the left side of the screen (but at the correct height).

AJ




 

sawomedia

unread,
Jan 17, 2011, 6:03:30 PM1/17/11
to Magic Lantern firmware development
No, i checked and cant find the value

check out these two pictures:

first from t2i screen, the other from hdmi

http://www.sawomedia.de/share/img/ml/hdmi_unplugged.jpg

http://www.sawomedia.de/share/img/ml/hdmi_pluggedin_ext.jpg

a value seems to change, 3002e

@ antony, check

http://www.sawomedia.de/share/img/ml/zebra_on_hdmi_full.jpg

this is a full screenshot of the hdmi screen, with zebras enabled.

perhaps this is any help

On 17 Jan., 23:40, Alex <broscutama...@gmail.com> wrote:
> One of them should change (e.g. 1 when external monitor is connected,
> 0 otherwise, or something like this).
>
> When I've connected the USB-RCA cable, I've noticed this property changes:
>
> #define PROP_EXTERNAL_MONITOR 0x80030018 // not sure
>
> Can you confirm this is the one?
>

Antony Newman

unread,
Jan 17, 2011, 6:11:49 PM1/17/11
to ml-d...@googlegroups.com
Ok .. this doesn't look like a HD HDMI image .. it must be something other than what I was expecting.

AJ

sawomedia

unread,
Jan 17, 2011, 6:19:47 PM1/17/11
to Magic Lantern firmware development
Its the 668Gl

http://www.lilliputlcd.com/lilliput-668gl70nphy-7-lcd-on-camera-field-monitor-w-hdmi-bnc-ypbpr-new_p657.html

Its especially built for a Field Monitor with high Brightness and
built-in battery.

Resolution is 800 x 480 natively.

JaKoB

unread,
Jan 17, 2011, 6:30:41 PM1/17/11
to ml-d...@googlegroups.com
be nice to get this to work.. what can i help with if anything lol ? i got that same Monitor to

sawomedia

unread,
Jan 17, 2011, 6:38:55 PM1/17/11
to Magic Lantern firmware development
I found out now that when i record, the resolution and overlays seem
to fit somehow.
But the Image is shifted to the top a few pixels, i can only see one
of the two audiometer bars.

I made a video of menu, then recording, then stopping the rec.

http://www.sawomedia.de/share/img/ml/hdmi_norec_rec_norec.mp4

cristian paradiso

unread,
Jan 17, 2011, 7:02:47 PM1/17/11
to ml-d...@googlegroups.com
u're lucky mine zoom in a lot and squeeze the image a lot



Da: sawomedia <audio...@web.de>
A: Magic Lantern firmware development <ml-d...@googlegroups.com>
Inviato: Lun 17 gennaio 2011, 23:38:55
Oggetto: [ML] Re: any Ext monitor fix?
--
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+unsub...@googlegroups.com

sawomedia

unread,
Jan 17, 2011, 7:06:22 PM1/17/11
to Magic Lantern firmware development
Interesting read (maybe also for the developers) on canon external
hdmi monitors

http://videos.smallhd.com/the-truth-about-canon-dslr-output-signals/

On 18 Jan., 01:02, cristian paradiso <guit...@yahoo.it> wrote:
> u're lucky mine zoom in a lot and squeeze the image a lot
>
> ________________________________
> Da: sawomedia <audioche...@web.de>
> A: Magic Lantern firmware development <ml-d...@googlegroups.com>
> Inviato: Lun 17 gennaio 2011, 23:38:55
> Oggetto: [ML] Re: any Ext monitor fix?
>
> I found out now that when i record, the resolution and overlays seem
> to fit somehow.
> But the Image is shifted to the top a few pixels, i can only see one
> of the two audiometer bars.
>
> I made a video of menu, then recording, then stopping the rec.
>
> http://www.sawomedia.de/share/img/ml/hdmi_norec_rec_norec.mp4
>
> On 18 Jan., 00:30, JaKoB <jakob...@gmail.com> wrote:
>
> > be nice to get this to work.. what can i help with if anything lol ? i got
> > that same Monitor to
>
> --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

Antony Newman

unread,
Jan 17, 2011, 7:22:44 PM1/17/11
to ml-d...@googlegroups.com
If I was going to guess .. this video:

http://www.sawomedia.de/share/img/ml/hdmi_norec_rec_norec.mp4

Looks like a HD HDMI monitor connected with ML in LiveView mode (1920 vram, 960 Overlay), then record is pressed (720 vram, 480 overlay).  And you are experiencing the bug that I also have in my own code (in which I have not yet distinguished between the HD_HDMI monitor in 480 p mode, from the STD_HDMI monitor in 480p mode - the dryos has yet another 'squeeze' ratio).

This being the case - the Zebras should appear at a point 2 x the position of the item from the left of the screen (for the Live View mode = non-record mode)

And if that is the case - a new zebra plotting routine is required (in ML).

In my own code base - I've accepted this - and haven't written that piece of code yet.

AJ

Alex

unread,
Jan 18, 2011, 2:18:20 AM1/18/11
to ml-d...@googlegroups.com
While recording, the cropmarks seem centered to my eye. Is this true?

What aspect ratio does the liliput monitor have? Does the image look
stretched on the monitor? (record a ball, for example).

Also try with an older ML (maybe the 0.2.0 release) which has
Debug->Draw palette. Take a picture of the ext monitor, with the
palette on the screen, when not recording, and another one when
recording. You may need to disable global draw so that the palete
remains on the screen.

> --

sawomedia

unread,
Jan 18, 2011, 6:02:57 AM1/18/11
to Magic Lantern firmware development
Right. The crops and zebras are more or less in place with the LV
image.

The monitor is 16:9, but i can force 4:3 in the Menu.

All possible tests and writeups on resolutions, aspect ratios etc have
been done here:

http://videos.smallhd.com/the-truth-about-canon-dslr-output-signals/

The t2i seems to switch and squish the signal when recording - i can
confirm this.

Additionaly - I cant find a build with draw palette enabled :)

i tried

magiclantern-0.2.0.rc1.550d.fw109
magiclantern-2010Dec19.550d.fw109.iso+playback.alex

could you point me to the right version?

Thanks

sawo

On 18 Jan., 08:18, Alex <broscutama...@gmail.com> wrote:
> While recording, the cropmarks seem centered to my eye. Is this true?
>
> What aspect ratio does the liliput monitor have? Does the image look
> stretched on the monitor? (record a ball, for example).
>
> Also try with an older ML (maybe the 0.2.0 release) which has
> Debug->Draw palette. Take a picture of the ext monitor, with the
> palette on the screen, when not recording, and another one when
> recording. You may need to disable global draw so that the palete
> remains on the screen.
>

Deti

unread,
Jan 18, 2011, 1:06:55 PM1/18/11
to ml-d...@googlegroups.com
I captured 1:1 frames via HDMI in standby and in record mode:
http://ml.42u.de/download/550d-ml-hdmi-capture.zip

The standby mode is 1920x1080i @ 59.94FPS, the record mode is 720x486i @
59.94FPS. These modes are NOT affected by the PAL/NTSC setting of the
camera nor the recording format (480p/720p/1080p, 24,25,30,50,60FPS)!

As you can see the ML-Zebra/Focus-OSD is shifted some pixels to the
right and down. In standby pressing the DISP button changes the live
view area which messes up all the ML-OSD.

Deti

Alex

unread,
Jan 18, 2011, 1:18:24 PM1/18/11
to ml-d...@googlegroups.com
Very interesting. These numbers are indicated by the HDMI monitor?

I've found some other buffer sizes: http://magiclantern.wikia.com/wiki/VRAM/550D

What I'm missing is the size of 0x44000080 in standby mode with HDMI
connected. Cristian's 422 silent shot is 1056x704. When a SD monitor
is connected, silent shots are 1024x680. I believe it should be higher
with HDMI monitor.

Sawo said zebra works OK when recording with HDMI connected. How about
focus peaking?

0804-003.jpg

Alex

unread,
Jan 18, 2011, 1:26:53 PM1/18/11
to ml-d...@googlegroups.com
On SD monitors, focus peaking works when recording full HD.

(zebra uses 0x40D07800, focus uses 0x44000080 because it has higher
resolution... at least when ext monitor is not connected)

Antony Newman

unread,
Jan 18, 2011, 1:35:22 PM1/18/11
to ml-d...@googlegroups.com

Alex

unread,
Jan 18, 2011, 1:46:13 PM1/18/11
to ml-d...@googlegroups.com
AJ: No idea, ask Cristian :)

recording-disp-1x and 2x: focus peak is in sync => pitch of 0x44000080
is correct in this mode
The offsets indicate some incorrect transformation of pixel coords.

Deti, can you redo recording-disp-*.jpg with testpic.png instead of the cables?
(that's the pic I've used for debugging coordinate scaling for focus peaking)

testpic.png

Morgan Look

unread,
Jan 18, 2011, 3:25:33 PM1/18/11
to ml-d...@googlegroups.com
Hi Alex.

I have been doing quite a bit of reading into the lilliput monitors (I don't own one, was trying to figure out if it is a good idea or not).

The whole resolution/aspect thing looks pretty subtle and complicated.
That link that sawomedia posted earlier does explain it really well
http://videos.smallhd.com/the-truth-about-canon-dslr-output-signals/

This is what I believe is happening... any or all of this information may be incorrect. ;-)

The lilliput monitor has a resolution of 800x480, aspect ratio of 15:9.
While recording the 550D sends a 675x450 image centred on a 720x480 (486?) signal.
This results in black bars at the side and top.

Unfortunately the monitor doesn't seem to make very good use of this signal, the best results seem to be gained when having it set to DVI mode and 4/3 aspect.

Hope some of this info is useful, here are some images to help illustrate the results.
The first is from the smallhd page linked above.



and from a forum post showing the different display options.
http://www.dvinfo.net/forum/view-video-display-hardware-software/484963-550d-t2i-lilliput-8-869gl-problem.html
The image which actually shows the most correct result, is the bottom right (not the bottom left which the poster has labelled as "good").

Alex

unread,
Jan 18, 2011, 3:29:25 PM1/18/11
to ml-d...@googlegroups.com
And on top of that, buffer sizes don't quite match the display size...
550D liliput.jpg
Slide-11_1920-1024x576.jpg

Alex

unread,
Jan 18, 2011, 3:34:15 PM1/18/11
to ml-d...@googlegroups.com
Just compiled some code based on those buffer sizes: http://magiclantern.wikia.com/wiki/VRAM/550D

Anyone has enough courage to try it?
550D liliput.jpg
Slide-11_1920-1024x576.jpg

JaKoB

unread,
Jan 18, 2011, 3:36:30 PM1/18/11
to ml-d...@googlegroups.com
send me something i have 3 x t2is ill try it =)

Alex

unread,
Jan 18, 2011, 3:37:18 PM1/18/11
to ml-d...@googlegroups.com
First test is offline (for AJ or anyone with binary skills).

+#define CACHEABLE(x) (((uint32_t)(x)) | 0x40000000)
+#define UNCACHEABLE(x) (((uint32_t)(x)) & ~0x40000000)

Is this correct?

On Tue, Jan 18, 2011 at 10:36 PM, JaKoB <jako...@gmail.com> wrote:
> send me something i have 3 x t2is ill try it =)
>

Alex

unread,
Jan 18, 2011, 3:48:55 PM1/18/11
to ml-d...@googlegroups.com
Python says yes.

Next test: silent pictures in all possible modes. I'll do the ones
without monitor. Zebras & focus are disabled (they may write to
unwanted memory addresses).

All the pictures should be decoded successfully (ideal case).

422-jpg.py
magiclantern-2011Jan18.550d.fw109.NoAudioMon.focus+zebra.alex.zip

Alex

unread,
Jan 18, 2011, 3:55:30 PM1/18/11
to ml-d...@googlegroups.com
Sorry, attached a wrong zip...
magiclantern-2011Jan18.550d.fw109.NoAudioMon.HDMI.DEBUG.silent-test.alex.zip

Antony Newman

unread,
Jan 18, 2011, 4:27:27 PM1/18/11
to ml-d...@googlegroups.com
+#define CACHEABLE(x)   (((uint32_t)(x)) |  0x40000000)
+#define UNCACHEABLE(x) (((uint32_t)(x)) & ~0x40000000)

Same as me (although I don't have a cast ... cause I'm lazy and all my code mostly uses unsigned ints so I can think one-dimensionally).

AJ

Alex

unread,
Jan 18, 2011, 4:35:32 PM1/18/11
to ml-d...@googlegroups.com
It seems we'd better figure out where the image resolution is stored
in camera memory, like AJ said; there are too many combinations of numbers.

Alex

unread,
Jan 18, 2011, 5:26:04 PM1/18/11
to ml-d...@googlegroups.com
If anyone wants to help, I have a test build for dumping the RAM and a
python script for hunting for values.

First guesses:
0x7768 0x776c (720x480)
0x78e8 0x78ec (1440x480)

Michael Case

unread,
Jan 18, 2011, 5:31:16 PM1/18/11
to ml-d...@googlegroups.com
Hey Alex I don't know how much help I'll be but I'd like to help if I can

Mike

Alex

unread,
Jan 18, 2011, 5:35:16 PM1/18/11
to ml-d...@googlegroups.com
Second guesses:

1056x704
0x4bec 0x4bf0
0x1300ce 0x1300d0

2112x704:
0xd0036a 0xd00362
0x2704722 0x2704720

Next step: bmp_printf the values at those addresses, to see if their
values are the same as the ones on the wiki page.

sawomedia

unread,
Jan 18, 2011, 6:55:10 PM1/18/11
to Magic Lantern firmware development
Alex said:
"
Next test: silent pictures in all possible modes. I'll do the ones
without monitor. Zebras & focus are disabled (they may write to
unwanted memory addresses).

All the pictures should be decoded successfully (ideal case).
"

I took pictures with HDMI attached, in all modes (LV Manual Picture
Mode, Video LV, Recording)

They all are the same res ( 1056 x 704) , and decoded sucessfully from
422 to bmp

What steps would be of any help to you Alex?

Greets

sawo

On 18 Jan., 23:35, Alex <broscutama...@gmail.com> wrote:
> Second guesses:
>
> 1056x704
> 0x4bec 0x4bf0
> 0x1300ce 0x1300d0
>
> 2112x704:
> 0xd0036a 0xd00362
> 0x2704722 0x2704720
>
> Next step: bmp_printf the values at those addresses, to see if their
> values are the same as the ones on the wiki page.
>
> On Wed, Jan 19, 2011 at 12:26 AM, Alex <broscutama...@gmail.com> wrote:
> > If anyone wants to help, I have a test build for dumping the RAM and a
> > python script for hunting for values.
>
> > First guesses:
> > 0x7768 0x776c (720x480)
> > 0x78e8 0x78ec (1440x480)
>

sawomedia

unread,
Jan 18, 2011, 7:19:24 PM1/18/11
to Magic Lantern firmware development
Additionaly i tried to use the normal video out over USB (for the
first time now)

The resolution is horrible, but it would work with focus peaking.

Focus Peaking points are bit shifted to the right, zebras dont work at
all.

I can provide a screenshot if necessary.

I (naively) that RCA would work without a hassle, as the image is just
pushed to the external monitor.

Alex

unread,
Jan 19, 2011, 3:54:59 AM1/19/11
to ml-d...@googlegroups.com
Thanks. I'm testing some addresses from which I want to read directly
the image buffer sizes. On my camera, without LCD, they seem to be
correct in Photo mode, with or without zoom.

Can you test this build and tell me what numbers are displayed on the
external monitors? (hdmi and rca)
Or take pictures.

This build tests the addresses mentioned in previous e-mails.

magiclantern-2011Jan19.550d.fw109.NoAudioMon.HDMI.DEBUG.res-test.alex.zip

Deti

unread,
Jan 19, 2011, 4:32:52 AM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 09:54, schrieb Alex:
> This build tests the addresses mentioned in previous e-mails.
With your build we have these results (HDMI out) - could test CVBS
later. Will add some tests with own FW builds later.

Deti

Untitled 1 2.jpg
Untitled 1 3.jpg

Alex

unread,
Jan 19, 2011, 4:43:02 AM1/19/11
to ml-d...@googlegroups.com
This means those addresses are only good in Playback mode without
external monitor.

I suggest to try these steps:

* With HDMI in standby (not recording), LV should be 1920x1080.
* Dump the RAM (last item in Video menu) => you'll get a 256MB file named 0.BIN
* Run hunt.py to find those numbers. To do this, change those 2 lines:

A = findaddrs(1056) --- replace with 1920 or 3840
B = findaddrs(704) --- replace with 1080

Post the output here (it will find pairs of addresses which may
contain VRAM resolution).

hunt.py

Deti

unread,
Jan 19, 2011, 4:58:57 AM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 10:43, schrieb Alex:
> * Run hunt.py to find those numbers. To do this, change those 2 lines:
Please add a #!/usr/bin/python to the beginning of your python scripts
otherwise a unix system will not be able to automatically determine the
necessary interpreter.

> A = findaddrs(1056) --- replace with 1920 or 3840
> B = findaddrs(704) --- replace with 1080
>
> Post the output here (it will find pairs of addresses which may
> contain VRAM resolution).

with 1920: 0x77c8 0x77cc 4
with 3840: 0xbc9c8 0xbc9cc 4

Deti

Deti

unread,
Jan 19, 2011, 5:08:34 AM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 10:58, schrieb Deti:
> with 1920: 0x77c8 0x77cc 4
This is fixed to 1920x1080 in all modes (HDMI or local display)

> with 3840: 0xbc9c8 0xbc9cc 4

This is some random stuff.

Deti

Alex

unread,
Jan 19, 2011, 5:11:48 AM1/19/11
to ml-d...@googlegroups.com
The second one is 0 when external monitor is not connected (at least here).

My test code is:
bmp_printf(FONT_MED, 10, 100, "LV %dx%d or %dx%d or %dx%d or %dx%d
\nHD %dx%d or %dx%d or %dx%d or %dx%d ", *(int*)0x77c8,
*(int*)0x77cc, (*(int*)0xbc9c8)/2, *(int*)0xbc9cc, *(int*)0x7768,
*(int*)0x776c, (*(int*)0x78e8)/2, *(int*)0x78ec, *(int*)0x4bec,
*(int*)0x4bf0, (*(uint16_t*)0xd0036a) / 2, *(uint16_t*)0xd00362,
*(uint16_t*)0x1300ce, *(uint16_t*)0x1300d0, (*(uint16_t*)0x2704722)/2,
*(uint16_t*)0x2704720);

in some while(1) loop (I've put it in zebra_task).

Deti

unread,
Jan 19, 2011, 5:19:44 AM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 11:11, schrieb Alex:
> The second one is 0 when external monitor is not connected (at least
> here).
No not here (put into the movie_clock_task). The values are 0 in the
beginning then they change randomly.

Deti

cristian paradiso

unread,
Jan 19, 2011, 6:49:02 AM1/19/11
to ml-d...@googlegroups.com
Hello I see that things are moving about it and I m very happy. Tomorrow I m going to to the test that alex asked me with my dp6. Thanks Alex


Da: Deti <de...@42u.de>
A: ml-d...@googlegroups.com
Inviato: Mer 19 gennaio 2011, 10:19:44
Oggetto: Re: [ML] Re: any Ext monitor fix?
-- 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+unsub...@googlegroups.com

Deti

unread,
Jan 19, 2011, 7:04:46 AM1/19/11
to ml-d...@googlegroups.com
Here we go: These two guys could be the ones:
0x3787c 0x37880

Local Display: 720x480
HDMI:

Standby
Disp 1x/2x: 1320x880
Disp 3x: 1620x1080

Recording: 610x388

Deti

Alex

unread,
Jan 19, 2011, 7:04:34 AM1/19/11
to ml-d...@googlegroups.com
No need for doing more tests, I've already got feedback from the other users.

So, to summarize:

* I know how to detect if a monitor (HDMI or SD) is plugged in:
PROP_INT(PROP_USBRCA_MONITOR, ext_monitor_rca);
PROP_INT(PROP_HDMI_CHANGE, ext_monitor_hdmi);

* BMP VRAM sizes are known (found by Trammell). 720x480 or 960x540.

* There are LOTS of resolution combinations of the image VRAM buffers:
http://magiclantern.wikia.com/wiki/VRAM/550D

* I've found a method to get the buffer size when external monitor is
NOT plugged in and camera is NOT recording
(this means zoom 1x 5x 10x, photo liveview, video liveview in all 4
movie resolution presets). Seems reliable in my tests.

* TODO:
- how to get buffer sizes when external monitor is NOT plugged and
camera is RECORDING (I'll try this tonight)
- how to get buffer sizes when external monitor is plugged? (both
recording and not recording)
(not yet solved, but we have some guesses)

Other stuff to be solved:

* Coord transformation between LV and BMP (was not needed until now,
because they are usually the same size). Should be very fast. I think
it's only a downsampling by 2.

* Coord transformation between HD and BMP (I'm using this in focus
assist code). It seems to be more than a simple scaling. Not
time-critical.

* Cropmark transformation (was not needed). Trammell proposed separate
bitmaps (best quality, but inconvenient). I think scaling will get a
usable result. Also, not (too) time-critical.


On Wed, Jan 19, 2011 at 1:49 PM, cristian paradiso <gui...@yahoo.it> wrote:
> Hello I see that things are moving about it and I m very happy. Tomorrow I m
> going to to the test that alex asked me with my dp6. Thanks Alex
>
> ________________________________
> Da: Deti <de...@42u.de>
> A: ml-d...@googlegroups.com
> Inviato: Mer 19 gennaio 2011, 10:19:44
> Oggetto: Re: [ML] Re: any Ext monitor fix?
>
> Am 19.01.2011 11:11, schrieb Alex:
>> The second one is 0 when external monitor is not connected (at least
>> here).
> No not here (put into the movie_clock_task). The values are 0 in the
> beginning then they change randomly.
>
> Deti
>
> -- 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

Alex

unread,
Jan 19, 2011, 7:06:18 AM1/19/11
to ml-d...@googlegroups.com
Probably these are the image size without the black borders. Nice
find, I'll test them tonight.

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

Deti

unread,
Jan 19, 2011, 7:12:48 AM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 13:06, schrieb Alex:
> Probably these are the image size without the black borders. Nice
> find, I'll test them tonight.
Yes definitely the values are the 3:2 equivalent of scaled LV area. You
simply have to calculate the whole vertical resolution for Disp x1/x2
with this aspect ratio to the the horizontal number of pixels:
1080*3/2=1620. So you will have to look for 1620x1080 in the RAM -
that's all.

Deti

Deti

unread,
Jan 19, 2011, 7:58:49 AM1/19/11
to ml-d...@googlegroups.com

A/V-Out (Standby + Recording):

PAL: 640x464
NTSC: 640x388

Deti

Alex

unread,
Jan 19, 2011, 12:33:35 PM1/19/11
to ml-d...@googlegroups.com
What is Disp 1x/2x/3x? Is it related to zoom or something else?

Deti

unread,
Jan 19, 2011, 12:40:51 PM1/19/11
to ml-d...@googlegroups.com
On 01/19/2011 06:33 PM, Alex wrote:
> What is Disp 1x/2x/3x? Is it related to zoom or something else?
If you press the DISP button
- once (1x): a text line from the original canon OSD appears at the
bottom of the display
- twice (2x): a column of symbols appear on the left side of the display
- three times (3x). a clear full live view without any canon OSD items
is being displayed

Added the stuff here http://magiclantern.wikia.com/wiki/VRAM/550D#LV-Sizes:

Deti

Alex

unread,
Jan 19, 2011, 12:42:15 PM1/19/11
to ml-d...@googlegroups.com
And the output resolution changes due to this?! Pretty strange...

Deti

unread,
Jan 19, 2011, 12:44:11 PM1/19/11
to ml-d...@googlegroups.com
On 01/19/2011 06:42 PM, Alex wrote:
> And the output resolution changes due to this?! Pretty strange...
Yes, that's different from the built in display. The LV drawing area
changes between x1/2 and x3.

Deti

Alex

unread,
Jan 19, 2011, 12:53:37 PM1/19/11
to ml-d...@googlegroups.com
>> Recording: 610x388
> PAL: 640x464
> NTSC: 640x388

Other question: when recording with HDMI plugged, zebras are already
in sync, which means the pitch of the LV buffer (0x40D07800) is 720*2
(i.e. horizontal resolution is 720px). This is also confirmed by your
test (Untitled 1_3).

Then, what does 640 represent? It's related to the other buffer?
(called HD in the code)

Antony Newman

unread,
Jan 19, 2011, 12:57:02 PM1/19/11
to ml-d...@googlegroups.com
Not sure if this is going to help you ... This is my 5d2 zoom related resize code.

AJ

   unsigned int lv_zoom_level_ptr = LvMgr_addr + 0x29B0;
   unsigned int zoom_level = * (unsigned int *) lv_zoom_level_ptr;  // 1,5 or 10
 
   /****************************************************************************
   *  VRec_state is Zero until Record is pressed:
   *  0 -> briefly to 3 -> 2 (stays here while recording )
   * -> (then when you stop recording) 6 (stays here until movie saved)
   * -> 0
   *
   *  If you press 'Take photo' button on camera -> 5 ->
   ****************************************************************************/

   if ( LVREC_state == 2 || LVREC_state == 6 ) 
   {
      g_hd_vram_bytes_per_line = 3744;   // When recording = 1872 pixels horizontally
   }
   else  // if not recording .. take into account the zoom level
   {
      if (zoom_level == 1)
         g_hd_vram_bytes_per_line = 2048;   // Not recording = 1024 pixels horizontally  
      else  if (zoom_level == 5)
         g_hd_vram_bytes_per_line = 2240; 
      else // zoom level = x10
         g_hd_vram_bytes_per_line = 2240;
   }

Deti

unread,
Jan 19, 2011, 1:04:59 PM1/19/11
to ml-d...@googlegroups.com
On 01/19/2011 06:53 PM, Alex wrote:
>>> Recording: 610x388
>> PAL: 640x464
>> NTSC: 640x388
oopsie typo, this 610 above was meant to be 640 too.

> Other question: when recording with HDMI plugged, zebras are already
> in sync, which means the pitch of the LV buffer (0x40D07800) is 720*2
> (i.e. horizontal resolution is 720px). This is also confirmed by your
> test (Untitled 1_3).

Yes the zebras are in sync, the focus peaking not.

> Then, what does 640 represent? It's related to the other buffer?
> (called HD in the code)

Well the 640 is the width of the live view area which also can be 1320
or 1620. According to this knowledge we can determine the where to draw
the OSD:
- in the 640 mode the LV area is already centered with no borders
- in the 1320 mode the LV area starts at offset 300
- in the 1620 mode the LV area starts at offset 150

Deti

Alex

unread,
Jan 19, 2011, 1:08:09 PM1/19/11
to ml-d...@googlegroups.com
Some clarifications:
- Zebra uses the LV buffer: 0x40D07800
- Focus peaking uses the HD buffer (due to higher resolution): 0x44000080
- We are drawing on the BMP buffer

With builtin display, LV and BMP happen to have the same resolution.

Deti

unread,
Jan 19, 2011, 2:05:50 PM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 19:08, schrieb Alex:
> Some clarifications:
> - Zebra uses the LV buffer: 0x40D07800
> - Focus peaking uses the HD buffer (due to higher resolution): 0x44000080
> - We are drawing on the BMP buffer
So if the HD buffer is independent of screen resolution changes we
should use this buffer for all those image related operations. The
positioning of the overlayed BMP content has to be adapted dynamically
to the found LV areas. Is the BMP buffer resolution always 720x480?

When we take the HD buffer only, we can do zebra and focus peaking in
one for loop to avoid reading several times the same buffer.

> With builtin display, LV and BMP happen to have the same resolution.

You mean 720x480?

Deti

Deti

unread,
Jan 19, 2011, 2:10:43 PM1/19/11
to ml-d...@googlegroups.com
Am 19.01.2011 20:05, schrieb Deti:
> Am 19.01.2011 19:08, schrieb Alex:
>> Some clarifications:
>> - Zebra uses the LV buffer: 0x40D07800
>> - Focus peaking uses the HD buffer (due to higher resolution): 0x44000080
>> - We are drawing on the BMP buffer
> So if the HD buffer is independent of screen resolution changes we
It's not, but it's probably the size I found today.

Alex

unread,
Jan 19, 2011, 2:16:17 PM1/19/11
to ml-d...@googlegroups.com
> So if the HD buffer is independent of screen resolution changes we should
> use this buffer for all those image related operations.

The HD buffer depends on:
- Video resolution (even when not recording!)
- zoom 1x 5x 10x (we may ignore that and disable zebras/focus in zoom mode)
- recording / non recording state

And it seems it does not change when we plug the HDMI buffer. This can
be confirmed/infirmed with silent pics (but not in current builds).

Here are my latest hypotheses about this buffer (not yet 100% confirmed):
http://magiclantern.wikia.com/wiki/VRAM/550D#0x44000080

Morgan Look

unread,
Jan 19, 2011, 3:07:58 PM1/19/11
to ml-d...@googlegroups.com
On 20/01/11 6:42 AM, Alex wrote:
> And the output resolution changes due to this?! Pretty strange...
http://www.cinema5d.com/viewtopic.php?f=16&t=8606&st=0&sk=t&sd=a&start=161

This post shows how (on the 5D), some of the LV info stuff is presented
outside the active video area (into the black bar area). So this buffer
resolution changes is making room for these I guess.

This implies you may be able to put additional information into the
black borders around the video in various modes.

Morgan.

Alex

unread,
Jan 19, 2011, 3:35:23 PM1/19/11
to ml-d...@googlegroups.com
Here's a build which tests my latest theories about the HD buffer
size: http://magiclantern.wikia.com/wiki/VRAM/550D#0x44000080

The main guess is that this buffer does not change its size when
plugging an external monitor. To validate this, silent pics taken in
all modes should be decoded correctly by 422-jpg.py from this zip.

Without monitor connected, the test worked for me in the following modes:
- Photo: zoom x1, x3, x5
- Video: full HD, 720p, 640crop (both recording and not recording)
- 640 non-crop, when recording only

It dit not work in 640 non-crop when not recording (I've got only
horizontal bands).

Can you do the silent picture tests with external monitor (HD or SD) plugged in?

magiclantern-2011Jan19.550d.fw109.NoAudioMon.HDMI.DEBUG.silent-test-2.alex.zip

Deti

unread,
Jan 19, 2011, 4:18:56 PM1/19/11
to ml-d...@googlegroups.com
On 01/19/2011 09:35 PM, Alex wrote:
> Can you do the silent picture tests with external monitor (HD or SD) plugged in?
See http://ml.42u.de/download/550d-ml-hdmi-silent.zip

Deti

Alex

unread,
Jan 19, 2011, 4:24:53 PM1/19/11
to ml-d...@googlegroups.com
All decoded well.

Can you test also in 720p and maybe 640 modes?

Another bug: in 720, while not recording, sometimes works and
sometimes not. Probably the buffer is dynamically allocated from a
list of preset addresses?

It is loading more messages.
0 new messages