Restoring 16mm film in native 12-bit 2K+ resolution
Message
Author
I'm trying to push the envelope with film scanning and restoration. Input files are 16mm film scanned into 12-bit DPX sequence at 2336x1752 res converted to prores 4444 12 bit files. I can run these files in videofreds or John Meyers updated restoration scripts but I'm afraid I'm losing the benefit of 444 color space and 12-bit depth with the current limitations of these plugins. What would be combinations of filters, plugins or scripts to support degraining/denoising, dust and dirt removal, blurring/sharpening, and the other functions in the current script that would retain NATIVE 4:4:4 and 12-bit? Thanks.
RE: Restoring 16mm film in native 12-bit 2K+ resolution
the best you'll get is DaVinci Revival. avisynth is limited to 8-bit. 16 using some hacky methods, but they necessarily don't lend themselves to heavy temporal filtering without destroying the extra bits (the lower bits are separated and stacked below the upper bits, giving a frame of twice the height. but filtering doesn't respect this arithmetic at all and the halves wont merge together meaningfully). you can make effective use of de-spotting and denoising by blending the result with the original frames in your compositor/grading program of choice. i used to do this with SCRATCH back in the day - manually revealing the 8-bit, de-spotted version rather than attempting to use it's limited clone-brush tool. if you have access to a film scanner you should have access to the necessary software as well (what gear does 12-bit? the Arriscan I used to command could do 16-bit linear uncalibrated tiff or 10-bit log dpx, calibrated using various wizardry). certainly the high-end scanners have support for kodak Digital ICE if you pay an exorbitant fee to enable the feature (storing dust-masks gathered from an extra surface sensor as side-car files).
--------------------------------- "In 1959, we had 50 disks, each 24" in diameter, continuously spinning at a speed of 1200RPM, capable of storing 6MB of data (a staggering 12MB if your company opted for the double-capacity versions). The size of this thing? 400-sq ft space required,
RE: Restoring 16mm film in native 12-bit 2K+ resolution
Was going to suggest Dither Tools but as mentioned its intensive for temporal stuff. 12bit prores is 10bit plus the alpha channel isn't it, so 12bit chain is a misnomer? There's no alpha channel in a film scan? 10bit would surfice but inevitably scaling to 16bit will be the route?
RE: Restoring 16mm film in native 12-bit 2K+ resolution
Additionally, if somebody can recommend a developer or two that could possibly figure out a solution that would be appreciated. Thanks.
--------------------------------- Matt Williams - Current - 01 LSB M3 Past - #21 GTS-3 - 95 Alpine White/Yellow M3 - Stock, except for the stuff that isn't
RE: Restoring 16mm film in native 12-bit 2K+ resolution
I have used Diamant and while it has some very good tools (the deflicker, for instance), the denoise filter doesn't protect the moving objects as well as avisynth with its plugins does. That's why I'm always dreaming about an avisynth (with the main plugins) fully capable of 16 bits processing.
--------------------------------- Gary Gray If you can take it apart you can make it faster!
RE: Restoring 16mm film in native 12-bit 2K+ resolution
you could possibly abuse temporalsoften - a low scenechange threshold combined with very high noise thresholds, then use the result to compare against with scriptclip and averageluma? you'd probably need to do it on a lowpassed clip as auto-scaling like this almost never gives a uniform average, given that the flicker existed before any contrast and gamma correction in the transfer. i can dream something up, but in reality it could be difficult to make work transparently.
RE: Restoring 16mm film in native 12-bit 2K+ resolution
Thanks for the reply, Mug Funky. Although such a filter wouldn't be of much interest to those who work with more modern material, for fans of the 'classic' films something like Diamant's DFlicker filter for AviSynth would be a godsend. We have so many other good filters that rival or even surpass the commercial ones (18fps mentioned the temporal cleaners AviSynth has), that an AviSynth version of it would prove very useful. Should anyone want to try and create one, I'd be happy to provide test material.
--------------------------------- 95 M3 - SOLD 02 540i/6 - SOLD '12 Audi A6