Magic Lantern Forum

Developing Magic Lantern => Feature Requests => Topic started by: noisyboy on May 14, 2013, 05:33:04 PM

Title: Internal clapper/slate.
Post by: noisyboy on May 14, 2013, 05:33:04 PM
Here's a whacky idea incase we don't get internal sound and metadata on cameras other than 5Dmk3

Is it possible to create a template which you enter your shot details into (f stop, focal length, shot, take etc) and it draws it onto the screen in a similar layout to a slate?

Then - you could have it so that when you record, it draws this on screen for a frame and uses the screen capture utility to capture this information on the the first frame of a video (DNG frame in raw?). At the same time the camera could beep loudly which would be picked up by the external recorder and could be used for syncing?

Then when you record the next take, the take number increases by 1 until the slate is changed?

What do you think?
Title: Re: Internal clapper.
Post by: 1% on May 14, 2013, 07:19:57 PM
Internal sound? You already have wav and can usually record audio on.
Title: Re: Internal clapper.
Post by: noisyboy on May 14, 2013, 10:31:31 PM
Ah! When shooting Raw?
Title: Re: Internal clapper.
Post by: noisyboy on May 14, 2013, 11:20:59 PM
Feel free to ignore my last question. I have my answer.

Still... Like the idea though :)
Title: Re: Internal clapper.
Post by: a1ex on May 14, 2013, 11:24:07 PM
Well, beeping on first frame isn't hard at all.

Burning a BMP image in the raw video is also possible. Not sure if it's worth the effort, but anyone with some C skills can try it, no hacking needed for this.
Title: Re: Internal clapper.
Post by: noisyboy on May 15, 2013, 05:07:03 AM
Ah cool! So this Bitmap could be generated by the camera and can contain the data that is entered custom to your shot (either by yourself or by reading Exif annotation)?

Sounds fun!

Might ask around and see if anyone wants to play on this little project :)
Title: Re: Internal clapper.
Post by: electronicwomble on May 21, 2013, 03:49:13 PM
This would be really useful. Kind of like the Blackmagic camera onscreen metadata.

Could the video/raw filename also be generated based on this metadata? eg. SHOT003-TAKE002.raw

I shot a film over the weekend with most of the shots out of sequence, and one of the most time-consuming editing tasks was putting it all back into correct order. If the shot and take numbers had been in the filenames, it would have been as simple as ordering the files by name!

I presume this is possible for raw since the filenames are different to standard Canon filenames, but is it possible for classic H.264 files as well?
Title: Re: Internal clapper.
Post by: a1ex on May 21, 2013, 03:56:11 PM
Yes, it's possible for H.264 too. I've burned a "magic zoom" window in the H264 footage just to check if that one is the H264 input buffer.

So, if anyone wants to implement it, hook into vsync function and copy the bitmap overlay into the HD one. Tip: use BM2HD macros.
Title: Re: Internal clapper.
Post by: electronicwomble on May 21, 2013, 08:18:13 PM
And changing filenames to reflect scene/shot/take? Is that straightforward?

Is there a good page somewhere (on the wiki?) with instructions for getting set up to work on the code?
Title: Re: Internal clapper.
Post by: a1ex on May 21, 2013, 08:25:18 PM
Renaming image or movie files is hard, you also have to update the file catalog (otherwise you'll get err70 on playback). Don't know how to do that.

See sticky topics.
Title: Re: Internal clapper.
Post by: noisyboy on May 22, 2013, 04:04:58 PM
Nice to see additional interest in this. Anybody fancy a go at this with me then? I would really appreciate any help as my C skills are none existent.

Things to display could be:

First frame:

Roll (card) =
Scene =
Take (which automatically ascends in number sequentially) =
Director =
Prod =
DP =
FPS =

Second frame:

ISO =
Apature = 
Shutter Speed =
White Balance =
Lens =
Focal Length =
Camera Height =
Angle =
Distance to subject =
Title: Re: Internal clapper.
Post by: Colemar on May 22, 2013, 04:51:26 PM
good suggestions noisyboy.  I would add "Reel" to come before "Scene" and change "Camera Height" to "Lens Height".  I'm not sure what it means by "Angle"
Title: Re: Internal clapper.
Post by: noisyboy on May 22, 2013, 05:22:56 PM
good suggestions noisyboy.  I would add "Reel" to come before "Scene" and change "Camera Height" to "Lens Height".  I'm not sure what it means by "Angle"

Yep I agree :)

 As in angle of camera for example pointing 10 degrees down. Would be great for matching perspective of height and angle on VfX shots. Clinometer is a great app for getting this information.
Title: Re: Internal clapper.
Post by: Colemar on May 22, 2013, 08:37:40 PM
As in angle of camera for example pointing 10 degrees down.

ML devs, any idea how accurate the level is in-camera?

Title: Re: Internal clapper.
Post by: AnotherDave on May 22, 2013, 08:42:38 PM
I would settle for 1 simple red frame, and a 1 frame synced beep from the headphone jack.

I don't think we need anything fancy.
Title: Re: Internal clapper.
Post by: noisyboy on May 23, 2013, 08:06:07 PM
ML devs, any idea how accurate the level is in-camera?

Oo! Forgot about the Accelerometer! Good call!
Title: Re: Internal clapper.
Post by: noisyboy on May 23, 2013, 08:08:01 PM
I would settle for 1 simple red frame, and a 1 frame synced beep from the headphone jack.

I don't think we need anything fancy.

Hey man. I can appreciate that some might not need anything fancy and to be fair - I don't exactly need this feature as such but I can see how this would save me a tonne of time in post and also make for a very handy VFX tool when it comes to matching shots for 3D/chroma work etc.
Title: Re: Internal clapper/slate.
Post by: noisyboy on August 03, 2013, 05:20:31 PM
If anyone is at all bothered by this thread anymore then this might be real useful for implementing this feature:

http://www.magiclantern.fm/forum/index.php?topic=6899.0
Title: Re: Internal clapper/slate.
Post by: aliksend on August 03, 2013, 11:42:49 PM
May be I will make that, but I will need a some help, because I'm newcomer in ML and programming on DSLR, etc. But I really want to make it!  :)
Title: Re: Internal clapper/slate.
Post by: electronicwomble on September 06, 2013, 02:42:11 PM
Ditto, but would love to be involved.