500d development - page 158 - DSLR Hack development - CHDK Forum

500d development

  • 2487 Replies
  • 952862 Views
Re: 500d development
« Reply #1570 on: 18 / August / 2011, 11:09:21 »
Advertisements
Coutts, I can confirm that the frame rate didn't actually change, only the playback is sped up (by one half probably). It can be easily seen with a simple snapping test - the video is played faster than the recorded audio.

Anyway, I'm getting many err70, even with normal 720p. I have enabled audio meters, histogram, zebras and focus peak.

By the way, I have tried removing the card too fast after opening the door and the blue LED isn't lit although the camera becomes stuck. It does blink once for a while, however, when the camera shuts down.
Canon EOS 500D, EF-S 17-85mm f/4-5.6 IS USM

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1571 on: 18 / August / 2011, 13:15:26 »
I'm going to be doing a lot of re-writing of the entire 500d ML. There's a lot of stuff that needs to be removed / updated / re-organized.

I was excited about the framerate deal, i guess we're at least getting closer :-s
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

Re: 500d development
« Reply #1572 on: 18 / August / 2011, 15:07:36 »
Do silent pictures work? Tonight I want to do a timelapse over night with silent pictures, would that be possible with the intervalometer? And do I need a special program to view the files because I tried silent pictures ages ago and I had these odd files that I had no idea what to do with them. Thanks

Re: 500d development
« Reply #1573 on: 22 / August / 2011, 04:31:11 »
Any good news? :)
« Last Edit: 22 / August / 2011, 06:44:17 by bjacklee »

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1574 on: 23 / August / 2011, 18:27:30 »
sorry it's been a while guys - went out over the weekend (welcome weekend), got sick and now classes just started. i'm pretty tied down, i'll try to work on some stuff this weekend but i'm out of ideas for the 30fps thing. sorry i got everyone pumped up :-s
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

Re: 500d development
« Reply #1575 on: 24 / August / 2011, 05:37:34 »
Hiya guys! First of all, I'd like to thank all the people who have made ML for 500D possible!

Then to the point at hand: So what you've managed to do is find the encoding subroutine (or at least a routine that precedes the actual encoding routine) from the Canon firmware. Now that you know the label of the encoding function, wouldn't it be possible to find and check all the other subroutines that call that encoding function? I'd think there's not many functions that require H.264 encoding in the firmware.

Then another point: as the Live View seems to reflect the FPS and resolution of the actual recording, could it be that the Canon firmware actually just uses a Live View buffer for the video mode? This would then mean that the it's the Live View that dictates the frame rate and resolution of the recording. How video mode is implemented in 5d Mk2, 550D, 600D etc. ? Or if it's not implemented using the LV, would it be possible to implement a new video recording function in ML by utilizing the LV buffers?

I was also wondering if it's possible that all the cameras record the video natively at 1080p and the video then is just cropped and rescaled according to the actual recording settings (480p, 720p)? I do realize that rescaling is not as trivial as one might think, but since it's probably a hardware function it shouldn't require many too many cycles to do RT rescaling. At least to me it seems the 720p recording looks like it's scaled down, but that might just be my imagination and due to the encoding settings.

I'd like to dip my toes to ML development, but I'd guess I'd need IDA to disassemble the FW.. and it's a bit too commercial for me.

Disclaimer: These are just wild guesses as I have very little to zero knowledge of how the Canon firmware operates. I have nonetheless read the whole thread through. If you feel that I've asked something that has been answered before, or that this speculation is plain stupid: just ignore me :-)
« Last Edit: 25 / August / 2011, 16:04:58 by fisuk »
If you understand, things are just as they are; if you do not understand, things are just as they are.

*

Offline scrax

  • *
  • 37
Re: 500d development
« Reply #1576 on: 24 / August / 2011, 05:39:58 »
@Coutts Hi, I've updated the layout of all the camera pages related to ML to helpin making the wiki more clear, the http://magiclantern.wikia.com/wiki/500D pages is updated but still redirects to the http://magiclantern.wikia.com/wiki/Canon_EOS_500D/T1i like before my editing because I prefer that you check it before making changes.
Can I ask if are you thinking about merging it to the unified?

@ ALL
If some other what help more by helping Coutts, Alex and other devs keeping it updated, we need screenshot of the menu, liveView, photo mode and so on. So go on the wiki and help adding what is missing on the page (you need to press the edit button to see it until the redirect isn't removed)


Re: 500d development
« Reply #1577 on: 28 / August / 2011, 17:17:14 »
My 500D has firmware 1.1.1 is there any chance for me to install magic Lantern??
I have search for firmware 1.1.0 but there is none on canons homepage :(
If i had 1.1.0 would i be able to downgrade somehow??

btw good job on the hack ;)

I solved it, my friend had the firmware and i could downgrade to 1.1.0 and i got it to work now, thx.
« Last Edit: 28 / August / 2011, 18:13:31 by Ebanhawk »

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1578 on: 29 / August / 2011, 19:33:34 »
Progress towards integrating ML into canon's dialog system so that it will feel more light-weight :)
I've been talking to 0xAF about this as he is familiar with the 400plus project, which uses the canon dialogs completely. Here's what I've done so far:

Code: [Select]
void * dialog_token = CreateDialogBox(0, 0, my_button_handler, 0x90);
dialog_redraw(dialog_token);

stubs:
CreateDialogBox - 0xFF2688D8
dialog_redraw - 0xFF2691DC (named pDialog_pSignature_related_p3 in current IDC file [from AJs 5d2 IDC])


and I get this (and an unresponsive camera as I haven't written a button handler :P ):


My handler function is empty so nothing is handled, not even the power switch so the only way to close it for now is to pull the battery. Here's a short explanation:

CreateDialogBox:
arg0 - always 0?
arg1 - always 0?
arg2 - button handler function (like idle handler)
arg3 - dialog template

0x90 is the ISO dialog template (as you can see here). So, todo:
- Find a suitable template to use for the ML menu
- Write a button handler
- Find the function to write strings to menu items (to construct our menu)
- implement ML menu into dialogs

:)
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 500d development
« Reply #1579 on: 30 / August / 2011, 02:17:20 »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal