{"id":16224070,"url":"https://github.com/vladmandic/rife","last_synced_at":"2025-03-16T12:31:50.738Z","repository":{"id":105112643,"uuid":"597169382","full_name":"vladmandic/rife","owner":"vladmandic","description":"Video frame interpolation using RIFE","archived":false,"fork":false,"pushed_at":"2024-04-25T19:49:37.000Z","size":22195,"stargazers_count":29,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T08:21:55.528Z","etag":null,"topics":["frame-interpolation","rife","video-interpolation"],"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/vladmandic.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}},"created_at":"2023-02-03T19:28:00.000Z","updated_at":"2024-12-09T21:59:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"28af569f-f770-48fa-97d0-9c8f26be89ed","html_url":"https://github.com/vladmandic/rife","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmandic%2Frife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmandic%2Frife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmandic%2Frife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmandic%2Frife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladmandic","download_url":"https://codeload.github.com/vladmandic/rife/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814880,"owners_count":20352037,"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","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":["frame-interpolation","rife","video-interpolation"],"created_at":"2024-10-10T12:21:57.134Z","updated_at":"2025-03-16T12:31:49.215Z","avatar_url":"https://github.com/vladmandic.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# RIFE: Real-Time Intermediate Flow Estimation for Video Frame Interpolation\n\nCreates sequence of interpolated frames between given input images  \n\n## Run\n\n\u003e python interpolate.py --input samples/ --output frames/ --buffer 25 --multi 25\n\n    interpolating 4 images\n    image samples/image000.jpg ssim 0.99 buffer 25 frames\n    image samples/image001.jpg ssim 0.54 create 69 frames\n    image samples/image002.jpg ssim 0.45 create 69 frames\n    image samples/image003.jpg ssim 0.55 create 69 frames\n    image samples/image003.jpg ssim 0.99 buffer 25 frames\n    frames 259 time 4.24\n\n- Reads input images from `samples/` and writes output images to `frames/`  \n- Number of generated frames will be 70x input frames\n- Start and end will be buffered/padded with 25 frames\n\n\u003e ffmpeg -hide_banner -loglevel warning -hwaccel auto -y -framerate 30 -i \"frames/%6d.jpg\" -r 30 -vcodec libx264 -preset medium -crf 23 -vf minterpolate=mi_mode=blend,fifo -movflags +faststart samples/video.mp4\n\n- Creates a video file from interpolated frames\n\n## Options\n\n\u003e ./interpolate.py --help\n\n    --model MODEL    path to model\n    --input INPUT    input directory containing images\n    --output OUTPUT  output directory for interpolated images\n    --scale SCALE    scale factor for interpolated images\n    --multi MULTI    number of frames to interpolate between two input images\n    --buffer BUFFER  number of frames to buffer on scene change\n    --change CHANGE  scene change threshold (lower is more sensitive\n    --fp16           use float16 precision instead of float32\n\n## Example\n\nBoth examples are created using [SD.Next](https://github.com/vladmandic/automatic)\n\n### Using [AnimateDiff](https://github.com/yownas/seed_travel) extension\n\nhttps://github.com/vladmandic/rife/assets/57876960/65cf5c7d-e376-4ca9-b03e-2c81d2d79b2f\n\n[Video](./samples/rife.mp4): *2.5sec at 25fps using 16 input images*\n\n### Using [Seed Travel](https://github.com/yownas/seed_travel) extension\n\nhttps://github.com/vladmandic/rife/assets/57876960/22ca5650-a770-4adb-b846-6dc06cdc3b26\n\n[Video](./samples/video.mp4): *9sec at 30fps using 10 input images*\n![Inputs](./samples/grid.jpg)\n\n## Credits\n\n- \u003chttps://github.com/megvii-research/ECCV2022-RIFE\u003e\n- \u003chttps://github.com/hzwer/Practical-RIFE\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladmandic%2Frife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladmandic%2Frife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladmandic%2Frife/lists"}