Posts: 656
Threads: 68
Joined: Feb 2020
Hello Selur,
I'm testing CodeFormer. This filter is really good when used on pictures, but when used on videos there is the problem that some time the image has a flickering effect.
The problem is that this filter (like many others) was trained using still pictures.
To reduce this effect I tried to scale down the fps of the video.
For example I tried to reduce the fps of a movie from 25fps to 10fps so that the filter is working in a situation near the training environment (still pictures).
The idea is to use some kind of interpolation to expand the number of frames back to 25fps.
I tried all the filters in Frame->Interpolation, but these filters are not very good when the starting speed is low, I was able to get a better results using ChangeFPS.
Do you know a good Frame Interpolator being able to reconstruct the frames from 10fps to 25fps ?
Thanks,
Dan
Posts: 10.522
Threads: 56
Joined: May 2017
06.02.2024, 20:08
(This post was last modified: 06.02.2024, 20:09 by Selur.)
Quote:I was able to get a better results using ChangeFPS.
ChangeFPS simply duplicates frames,...
Quote:Do you know a good Frame Interpolator being able to reconstruct the frames from 10fps to 25fps ?
No filter will reconstruct the original.
Throwing away 60 percent of the original source is a bad idea.
Quote: there is the problem that some time the image has a flickering effect.
When using CodeFormer it sometimes helps to use some of the aritfacts filters in my experience, properly denoising before applying CodeFormer sometimes also helps, but in the end the problem is that CodeFormer has no temporal awareness it only works on single images. Unless there is a new CodeFormer for Video or something along those lines, this is as good as it gets. (throwing away frames is not a good idea)
Cu Selur
Posts: 656
Threads: 68
Joined: Feb 2020
I know that throwing away 60 percent of the original source is not a good idea. But I was hoping that was available some I.A. Interpolator able to connect the dots better than CodeFormer. But this not the case.
Anyway I noted that by setting the weight=1.0 the image is more stable.
Posts: 10.522
Threads: 56
Joined: May 2017
I always use weight 1.0 since then the faces are often more like the original.
Sometimes it helps to apply QTGMC (Filter) in mode3 multiple times.
I asked the same question a while ago over at:
https://forum.videohelp.com/threads/4091...flickering
Cu Selur
Posts: 656
Threads: 68
Joined: Feb 2020
Hello Selur,
I'd like to try QTGMC as you suggested.
In Hybrid is available in the Deinterlace Page.
But QTGMC mode3 is not directly available in the GUI.
Could you explain which settings in Hybrid I have to set to apply QTGMC mode3 ?
you apply this filter before or after CodeFormer ?
Thanks,
Dan
Posts: 10.522
Threads: 56
Joined: May 2017
Quote: But QTGMC mode3 is not directly available in the GUI.
Sorry, I meant InputType=3.
I would apply it multiple times after CodeFormer.
Posts: 656
Threads: 68
Joined: Feb 2020
In the page "Stabilize" of Vapoursynth there are a lot of stabilizer filters do you meant that QTGMC it is a better stabilizer ?
Posts: 10.522
Threads: 56
Joined: May 2017
Different meanings of causes of stabilization.
The filters under Frame->Stabilize are meant to either stabilize luma flickering or image shaking.
QTGMC does denoising, but that can have a stabilizing effect on the video, like you can see in the example linked in the thread over at videohelp.
Cu Selur
Posts: 656
Threads: 68
Joined: Feb 2020
In effect QTGMC repeated more times can stabilize CodeFormer.
It is possible to add an option in Vapoursynth->DeNoise->QTGMC to apply the filter 1 or more times ?
Posts: 10.522
Threads: 56
Joined: May 2017
07.02.2024, 19:43
(This post was last modified: 07.02.2024, 19:44 by Selur.)
Yes, that is what I did in my tests. It is already possible to change the filter order and addply filters multiple times.
Read:
[INFO] About Vapoursynth Filter Order/Queue
Cu Selur