Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Fact Checker
Join Date: Jan 2022
Posts: 28
|
Stabilizing Color Footage
I'm working on some color projects from material transferred from film and need to stabilize the footage. I've only ever used Stab() which I understand can only be applied to black-and-white footage, so I'm looking for the best approach for color material.
Any tips or example scripts would be much appreciated! Thanks |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Feb 2002
Location: California
Posts: 2,741
|
You can look at the long threads about film restoration started by VideoFred. You will find scripts there fore doing all sorts of film restoration, including stabilizing camera shake and gate weave. His scripts use Depan. It's an old technology, but works really well.
I had to adjust this to make it standalone and hopefully I didn't break anything. Here is code to show how it's done: Code:
source=Avisource(film) stab_reference=source.tweak(cont=0.6).MT_binarize(threshold=80).greyscale().invert() mdata=DePanEstimate(stab_reference,trust=1.0,dxmax=10,dymax=10) stab=DePanStabilize(source,data=mdata,cutoff=0.5,dxmax=10,dymax=10,method=1,mirror=15) |
![]() |
![]() |
![]() |
#5 | Link | |
Fact Checker
Join Date: Jan 2022
Posts: 28
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|