Selur's Little Message Board

Full Version: Replace Specific Frames and Interpolate Them?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(26.09.2024, 05:40)Selur Wrote: [ -> ]Uploaded a dev version (inside the 'experimental'-folder in my GoogleDrive, linked on the download page) which should fix the problem.
Let me know whether that version works for you. (if that mp4 is your source, you need to disable Bestsource as source filter)

Cu Selur

Thanks, Selur. Unfortunately, it does not appear to be doing anything. I have attached a debug file. I will also note that the mp4 is not my source. As the source was too big to attach (even for 5-7 seconds). My source is Huffyuv, but I am using the filter on the deinterlaced version I encoded with Hybrid. Which I encoded/deinterlaced into a UT Video format. To clarify, I'm going from Huffyuv>deinterlace to UT Video (for editing in other programs)>Encode to UT Video again, but with Frame Replace Filter. I feel it is easier to deal with frame replace after deinterlacing and not at the same time.
Quote:Unfortunately, it does not appear to be doing anything.
Okay. You did use the Vapoursynth preview to check that before encoding, right? (at least to make sure your settings are correct)

Quote:I'm going from Huffyuv>deinterlace to UT Video (for editing in other programs)>Encode to UT Video again, but with Frame Replace Filter
According to the debug output, no deinterlacing is done, since the source is detected as progressive. This will disable the deinterlacing.
If your source is progressive and not properly flagged, then you should let Hybrid know that by setting 'Filtering->(De-)Uninterlace/Telecine->Overwite input scan type' to the correct value. Note that if a source is loaded and detected as interlaced, the 'Auto deinterlace handling' setting isn't there,....

Quote:I will also note that the mp4 is not my source.
Sad
Quote:As the source was too big to attach (even for 5-7 seconds).
Then upload a portion of your source somewhere i.e. GoogleDrive or similar and send me a link via PM, in case it's privacy relevant.


Cu Selur
(27.09.2024, 04:33)Selur Wrote: [ -> ]
Quote:Unfortunately, it does not appear to be doing anything.
Okay. You did use the Vapoursynth preview to check that before encoding, right? (at least to make sure your settings are correct)
Yes. Nothing was changing in the preview but I tried encoding anyway just to see if preview was giving an error. As I have never used the filter before. Debug within the preview window was saying that those frames I chose were "Input(before scene change)".


(27.09.2024, 04:33)Selur Wrote: [ -> ]
Quote:I'm going from Huffyuv>deinterlace to UT Video (for editing in other programs)>Encode to UT Video again, but with Frame Replace Filter
According to the debug output, no deinterlacing is done, since the source is detected as progressive. This will disable the deinterlacing.
If your source is progressive and not properly flagged, then you should let Hybrid know that by setting 'Filtering->(De-)Uninterlace/Telecine->Overwite input scan type' to the correct value. Note that if a source is loaded and detected as interlaced, the 'Auto deinterlace handling' setting isn't there,....
Sorry. Yes, this version is progressive. The video I am trying to use this filter with has already been deinterlaced previously with Hybrid. I was just mentioning my workflow in case that was relevant to the ticket/troubleshooting. Sorry if I caused any confusion. Smile 


(27.09.2024, 04:33)Selur Wrote: [ -> ]
Quote:As the source was too big to attach (even for 5-7 seconds).
Then upload a portion of your source somewhere i.e. GoogleDrive or similar and send me a link via PM, in case it's privacy relevant.
Cu Selur
Will do.
Quote:Yes. Nothing was changing in the preview but I tried encoding anyway just to see if preview was giving an error. As I have never used the filter before. Debug within the preview window was saying that those frames I chose were "Input(before scene change)".
Okay, "Input(before scene change)" should only happen if the scene threshold is != 0, thought I fixed that.
Please also test if it works if you use svp instead of mv for interpolation.

Cu Selur
Does it work if you replace Hybrid/64bit/vsscripts/FillDuplicateFrames.py
with https://raw.githubusercontent.com/Selur/...eFrames.py ?
Sadly, replacing those frames will not really help since the 'okay' frames are not that good either, so you end up with quite shaky output.

Cu Selur
(27.09.2024, 13:20)Selur Wrote: [ -> ]Does it work if you replace Hybrid/64bit/vsscripts/FillDuplicateFrames.py
with https://raw.githubusercontent.com/Selur/...eFrames.py ?
Sadly, replacing those frames will not really help since the 'okay' frames are not that good either, so you end up with quite shaky output.

Cu Selur

That worked! Thanks, Selur!
Pages: 1 2