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.

Replace Specific Frames and Interpolate Them?
#11
(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.


Attached Files
.7z   ReplaceFrameDebug_20240926.7z (Size: 30,84 KB / Downloads: 41)
Reply
#12
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#13
Smile 
(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.
Reply
#14
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#15
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


Attached Files
.zip   Output.zip (Size: 4,75 MB / Downloads: 23)
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#16
(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!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)