Free real times frame interpolation solution
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
It's free and can be used with mpc-be for real times frame interpolation.
Maybe you can add vapoursynth, vs-mlrt and avisynth_filter to README?
https://github.com/vapoursynth/vapoursynth
https://github.com/AmusementClub/vs-mlrt
https://github.com/CrendKing/avisynth_filter
avisynth_filter script
import os
import sys
import math
from vapoursynth import core
import vapoursynth as vs
# core.num_threads = 12
core.max_cache_size = 24000
sys.path += [r'vsmlrt.py path'] # your vsmlrt.py path
from vsmlrt import RIFE, RIFEModel, Backend
pp = VpsFilterSource
pp = core.resize.Spline36(pp, range_in_s='full', range_s='full', matrix_s='rgb', matrix_in_s='709', format=vs.RGBS, dither_type='error_diffusion')
pp = core.resize.Spline36(pp, format=vs.RGBH)
w_pad = ((math.ceil(pp.width / 32) * 32) - pp.width) / 2
h_pad = ((math.ceil(pp.height / 32) * 32) - pp.height) / 2
pp = core.std.AddBorders(pp, left=w_pad, right=w_pad, top=h_pad, bottom=h_pad)
pp = RIFE(pp, model=RIFEModel.v4_22, backend=Backend.TRT(fp16=True, num_streams=2), multi=2, video_player=False)
# pp = RIFE(pp, model=RIFEModel.v4_22_lite, backend=Backend.TRT(fp16=True, num_streams=2), multi=2, video_player=False)
pp = core.std.Crop(pp, left=w_pad, right=w_pad, top=h_pad, bottom=h_pad)
pp = core.resize.Spline36(pp, format=vs.RGBS)
pp = core.resize.Spline36(pp, range_in_s='full', range_s='full', matrix_s='709', matrix_in_s='rgb', format=vs.YUV444P8, dither_type='error_diffusion')
pp.set_output()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing README for its existing presentation of frame-interpolation solutions and decide where the VapourSynth, vs-mlrt, and avisynth_filter links belong. Add those references and the supplied avisynth_filter script, then verify that the README renders correctly and the three links work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100