Showing posts with label telecine. Show all posts
Showing posts with label telecine. Show all posts

2013/11/18

Raspberry PI camera as telecine sensor for digitizing super 8mm?



I found this describing how to modify the camera on the raspberry pi
http://www.raspberrypi.org/archives/4279

I figured it might be a candidate for camera for transferrig Super 8mm to HD and decided to try how good the macro was.

I tried the rubber-eraser trick mentioned mentioned on the site and saw i could easely unscrew the lens with my fingers. It was not that hard. about 2 turn out and the lens come loose.

I ran this command on the pi using putty to grab an image:
raspistill -o kodak.jpg
There is a small preview window on the display on the pi that made it easy to find focus distace of approx 2-3cm.

Transferred the image to my computer using WinSCP and checked out the result:



The image quality seems good enough but seems like i only will get 814x 524 of video resolution out of this. Not enought for now so more drastic measures are needed to get the lens further out to make it fill more of the sensor.

I tried reversing the lens but then was not able to focus even with the film toutching the lens.

Then i tried to jam a bit of tape in the hole to make the lens stay longer out in the fixture

This is the result:


Paint tells me it possible to get 1080p height from one Super 8mm frame height. Exactly what I am after. Never mind the white balance. The red LED from the camera module is causing weird lighting. That will need to be covered or removed. But this looks promising.

2013/05/23

Mounting a micro switch in the Eumig Mark 610D for synced telecine.


Someone on vimeo asked where I mounted the micro switch inside the 610D projector. 

Here are some pictures :-)
First off, i kept the big ALU part that locks the gear mechanism. It is held at fixed position (6 fps) with some pressure from the steel plate in the top of the first picture. I just rotate this plate to press inn the big alu gear part.

The mounting bracket for the switch is made of some black metal piece i did not need joned to strip of aluminium by a M3 screw and nut and then bent into position. Some double sided tape on the sidewall of the micro switch is securing it to the aluminium.

 The aluminium is bent into position so that the actuator of the micro switch is touching the metal flap that i noticed was "coming out" at each frame advance.


As for the reliability i managed to transfer 2 reels of 100 meters  and about 12 reels of 15 meters without breakdown of the micro switch.
Hope this is of some use to someone. 

2012/09/22

DIY synced telecine with Eumig Mark 610D and Canon 60D

I have a box full of Super 8mm films from my parrents. This is a 'small' project i have started to get them digitally transferred. I have probably spent several hundred hours finding things out and would like to share some of my findings.

I started to buy a second hand Euming Mark 610D from finn.no (like ebay in norway)

Idea was to modify the 610D to get out a sync pulse every time the film advances in the gate. Transfer frames to a Canon 60D in video mode with sync info saved on the audio track. Use avisynth to extract progressive frames from the videofiles and do stabilisation and noise canceling.

Backlight:
A lot of other sites refer to this link: http://blog.iso50.com/23724/convert-8mm-with-5d-mark-ii/
I tried a similar point source with a small flat led, but could not get even focus, might be bad combination with the lens or something. I got a lot of blooming and fuzz round the edges.
I read videoFred's webpage and saw his diffuse backlight so i tried that. I ended up with a big (9W ?) white power led and a diffusor. I found this on ikea:
It is white and have a pyramid diffusor pattern. I cut out a pice and put it in the euming like this:


Remove Shutterblades and S8 R8 crop:
Because i planned to use video function of the 60D i removed the shutterblades. I figured the automatic exposure would have a porblem with it, and also the shutterblades in my Mark 610D run at full speed even with 3 fps film advance. I removed the shutteblades by making a weak spot with a dremel and then jus pry/break them off.







Camera and lens:
I tried at first to mount a Canon 60mm F2.8 on 3 sets of extension tubes and having the camera on a tripod. I was able to fill enough of the DSLR sensor, but there was too much problems with vibrations from the heavy lens so far off my light tripod. Instead i mounted the lens on the projector :-)

I drilled a hole in a storage dustcap for cannon lenses. Mounted it on the 610D with double sided tape. I have borrowed a nice lens: Canon 60mm F2.8. This lens is then projecting the light directly onto the 60D sensor.



On the 60D i only use extension tube to keep out light. I have mounted it on a heavy steel plate from a hardware store and use some M5 bolts and wingnuts to level the plane. I also use a cheap macro slider in between the steel plate and the camera for focusing.



The lens have F2.8, this turned out to be too narrow since i was able to focus on different layers in the film itself. Smaller hole should be able to only let light that have passed prepindicular through the film to enter the lens. And since canon dont have manual apperture i had to improvise:


I have installed a nice firmware hack called Magic Lantern on the 60D. This is a useful tool when transfering films. You get histograms, zebra marks and VU meter while recording. It is magic.

Update: I found it very hard to adjust focus using the camerabody screen. So i connected the HDMI out to a computer monitor with hdmi input. I get very good picture of the 8mm film on the monitor making it easy to adjust focus using the macro slider. When i hit record on the camera body the resolution out of the HDMI port drops to something like old VGA, but then the focus is already good.

Dynamic range:
To be able to capture the dynamic range of the film i have installed a "flat" Picture style in the 60D. I used the one from Marwel: it can be found here: http://marvelsfilm.wordpress.com/2011/01/19/finally-the-new-marvels-cine-profile-3-x-for-canon-dslr/



UPDATE: Sync cable:

I use a cheap condenser microphone parallelled with a microswitch mounted in the projector. The switch will mute the microphone using the normally closed pole. When the film is advanced the sound signal from my noisy room is not shorted and sent to the camera. This fits the Avisynth GetDups plugin perfect as it have a mode to select frames between loud noises. To adjust the sync to not get a frame with film advance i use the shift audio input to GetDups.

Software:

Avisynth
I process the 1080p25 MOV files from the 60D using a script based on videoFred's restoration script . This guy is clever. Check out his website at http://www.super-8.be/.
My version of his script is here:  
http://pastebin.com/Aiu7Zjxx
It is not pretty but it works. Input is 1080p25 video with 6 fps framerate on the Eumig 610D.  Output is 18fps progressive

Virtual Dub
I open the avisynth script in virtual dub, select codec
Cineform Gopro codec ( gets installed together with the software for Gopro)
Select save AVI and then wait. :-)  My computer is able to run the script and encode cineform at 1fps.

Result:
Here is a still from the video after motion stabilization, noisefiltering, colorcorrection, cropping and resize to 1280x720 . It is me and my grandmother may be 1983.
 

As 18 fps is not supported on vimeo i frameblended to 24fps when transcoding to vimeo. 
Pretty pleased with the result. Almost Instagram quality so it should be good enough :P