30.10.2020, 08:26
Quote:I don’t want to do variable frame rate,okay.
Quote:i think the best thing to do is to bring them both up to 59.94. The live action video with qtgmc bob,okay
Quote:and the cartoon i want to remove all blended frames first, and replace them with the nearest neighbor. And then double the frame rate to match the live action parts. Rather than just qtgmc bob the whole thing. If that makes sense.This sounds like a lot of work since you would have to manually specify the chunks that need to be just bobbed and the chunks where sRestore should bob and replace blends.
Have you tried to using QTGMC Bob + srestore with omode 3 or 4 ?
Quote: omode string (0-6 or mode, default 6)see: http://avisynth.nl/index.php/Srestore
Srestore can be used as blend-decimation-function, as simple deblend-function and for double-blend-removal
1 - deblend-mode 1 -> detected blends will be replaced with the previous frame
2 - deblend-mode 2 -> next frame is used instead of the detected blend
3 - deblend-mode 3 -> detected blends will be replaced with the neighbour that has the smaller difference
4 - deblend-mode 4 -> use the neighbour with the smaller blend-possibility
5 - deblend-special -> outputs the one of four frames with the smallest blend-possibility
>5 - blend-decimation -> for all decimation operations
The output-modes 1-5 are simple deblending modes, so the framerate will not change.
To enable the double-blend-removal you have to set a string for omode. This string decides about the postprocessing mode that is used on the restored frames:
pp0 -> the fastest mode, no postprocessing
pp1 -> use difference masking, higher quality and still good speed
pp2 -> use a special blurring mask on luma and chroma that reduces artefacts
pp3 -> combines postprocessing 1 and 2 -> slowest
This should bob the whole thing (ntsc part have a duplicate every 5 frames) and if the blends are detected properly, you should end up with 59.94 fps with duplicates instead of blends. If this works reliable on your source it's way less time consuming.
Cu Selur