{"id":24332507,"url":"https://github.com/EutropicAI/ccvfi","last_synced_at":"2025-09-27T18:31:42.287Z","repository":{"id":272931139,"uuid":"884587234","full_name":"EutropicAI/ccvfi","owner":"EutropicAI","description":"an inference lib for video frame interpolation with VapourSynth support","archived":false,"fork":false,"pushed_at":"2025-02-11T00:47:04.000Z","size":7347,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-04T07:32:03.522Z","etag":null,"topics":["artificial-intelligence","basicsr","computer-vision","low-level-vision","opencv","python3","pytorch","vapoursynth","video-frame-interpolation","video-processing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EutropicAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-07T02:47:46.000Z","updated_at":"2025-02-15T18:48:56.000Z","dependencies_parsed_at":"2025-01-17T14:49:05.393Z","dependency_job_id":"858451a4-b091-45f0-8322-f02b179618e6","html_url":"https://github.com/EutropicAI/ccvfi","commit_stats":null,"previous_names":["tensoraws/ccvfi","eutropicai/ccvfi"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/EutropicAI/ccvfi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EutropicAI%2Fccvfi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EutropicAI%2Fccvfi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EutropicAI%2Fccvfi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EutropicAI%2Fccvfi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EutropicAI","download_url":"https://codeload.github.com/EutropicAI/ccvfi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EutropicAI%2Fccvfi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277214614,"owners_count":25780618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","basicsr","computer-vision","low-level-vision","opencv","python3","pytorch","vapoursynth","video-frame-interpolation","video-processing"],"created_at":"2025-01-18T02:19:56.373Z","updated_at":"2025-09-27T18:31:42.282Z","avatar_url":"https://github.com/EutropicAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **🚨 Deprecation Notice**  \n\u003e This repository is **no longer maintained**. All features have been integrated and further developed in [cccv](https://github.com/EutropicAI/cccv). Please migrate to the new repository for future updates and support.\n\n# ccvfi\n\n[![codecov](https://codecov.io/gh/EutropicAI/ccvfi/graph/badge.svg?token=VK0BHDUXAI)](https://codecov.io/gh/EutropicAI/ccvfi)\n[![CI-test](https://github.com/EutropicAI/ccvfi/actions/workflows/CI-test.yml/badge.svg)](https://github.com/EutropicAI/ccvfi/actions/workflows/CI-test.yml)\n[![Release-pypi](https://github.com/EutropicAI/ccvfi/actions/workflows/Release.yml/badge.svg)](https://github.com/EutropicAI/ccvfi/actions/workflows/Release.yml)\n[![PyPI version](https://badge.fury.io/py/ccvfi.svg)](https://badge.fury.io/py/ccvfi)\n![GitHub](https://img.shields.io/github/license/EutropicAI/ccvfi)\n\nan inference lib for video frame interpolation with VapourSynth support\n\n### Install\n\nMake sure you have Python \u003e= 3.9 and PyTorch \u003e= 1.13 installed\n\n```bash\npip install ccvfi\n```\n\n- Install VapourSynth (optional)\n\n### Start\n\n#### cv2\n\na simple example to use the RIFE (ECCV2022-RIFE) model to process an image sequence.\n\n```python\nimport cv2\nimport numpy as np\n\nfrom ccvfi import AutoModel, ConfigType, VFIBaseModel\n\nmodel: VFIBaseModel = AutoModel.from_pretrained(\n    pretrained_model_name=ConfigType.RIFE_IFNet_v426_heavy,\n)\n\nimg0 = cv2.imdecode(np.fromfile(\"01.jpg\", dtype=np.uint8), cv2.IMREAD_COLOR)\nimg1 = cv2.imdecode(np.fromfile(\"02.jpg\", dtype=np.uint8), cv2.IMREAD_COLOR)\nout = model.inference_image_list(img_list=[img0, img1])[0]\ncv2.imwrite(\"test_out.jpg\", out)\n```\n\n#### VapourSynth\n\na simple example to use the VFI (Video Frame-Interpolation) model to process a video (DRBA)\n\n```python\nimport vapoursynth as vs\nfrom vapoursynth import core\n\nfrom ccvfi import AutoModel, BaseModelInterface, ConfigType\n\nmodel: BaseModelInterface = AutoModel.from_pretrained(\n    pretrained_model_name=ConfigType.DRBA_IFNet,\n)\n\nclip = core.bs.VideoSource(source=\"s.mp4\")\nclip = core.resize.Bicubic(clip=clip, matrix_in_s=\"709\", format=vs.RGBH)\nclip = model.inference_video(clip, tar_fps=60)\nclip = core.resize.Bicubic(clip=clip, matrix_s=\"709\", format=vs.YUV420P16)\nclip.set_output()\n```\n\nSee more examples in the [example](./example) directory, ccvfi can register custom configurations and models to extend the functionality\n\n### Current Support\n\nIt still in development, the following models are supported:\n\n- [Architecture](./ccvfi/type/arch.py)\n- [Model](./ccvfi/type/model.py)\n- [Weight(Config)](./ccvfi/type/config.py)\n\n### Reference\n\n- [PyTorch](https://github.com/pytorch/pytorch)\n- [BasicSR](https://github.com/XPixelGroup/BasicSR)\n- [mmcv](https://github.com/open-mmlab/mmcv)\n- [huggingface transformers](https://github.com/huggingface/transformers)\n- [VapourSynth](https://www.vapoursynth.com/)\n- [HolyWu's functions](https://github.com/HolyWu)\n\n### License\n\nThis project is licensed under the MIT - see\nthe [LICENSE file](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEutropicAI%2Fccvfi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEutropicAI%2Fccvfi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEutropicAI%2Fccvfi/lists"}