This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Improving CodeFormer videos
#1
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
Reply
#2
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
Reply
#3
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.
Reply
#4
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
Reply
#5
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
Reply
#6
Quote: But QTGMC mode3 is not directly available in the GUI.
Sorry, I meant InputType=3.
I would apply it multiple times after CodeFormer.
Reply
#7
In the page "Stabilize" of Vapoursynth there are a lot of stabilizer filters do you meant that QTGMC it is a better stabilizer ?
Reply
#8
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
Reply
#9
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 ?
Reply
#10
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)