{"id":51400670,"url":"https://github.com/tea3/slitscan","last_synced_at":"2026-07-04T06:07:06.304Z","repository":{"id":199197857,"uuid":"91683237","full_name":"tea3/slitscan","owner":"tea3","description":"Generate slit scanned images from movies and images using node.js","archived":false,"fork":false,"pushed_at":"2017-05-18T11:10:41.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-10T07:25:57.254Z","etag":null,"topics":["ffmpeg","movie","photo","slit-scanned-images","slitscan"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tea3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-05-18T11:01:33.000Z","updated_at":"2023-03-11T16:26:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5ec3b93-7e4d-40a9-9b24-49c43eddf6a2","html_url":"https://github.com/tea3/slitscan","commit_stats":null,"previous_names":["tea3/slitscan"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/tea3/slitscan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tea3%2Fslitscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tea3%2Fslitscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tea3%2Fslitscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tea3%2Fslitscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tea3","download_url":"https://codeload.github.com/tea3/slitscan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tea3%2Fslitscan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35111476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"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":["ffmpeg","movie","photo","slit-scanned-images","slitscan"],"created_at":"2026-07-04T06:07:05.716Z","updated_at":"2026-07-04T06:07:06.299Z","avatar_url":"https://github.com/tea3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis plugin can create slit scanned images from movies and images using [node.js](https://nodejs.org/) .\n\n### Install cairo and ffmpeg\n\nMake sure [cairo](https://cairographics.org/) and [ffmpeg](https://ffmpeg.org/about.html)(Version 3.2 or later is required.) is installed on your system and properly set up in your `PATH`.\n\nUbuntu:\n\n```shell\nsudo apt-get update\nsudo apt-get dist-upgrade\napt-get install ffmpeg libcairo2-dev\napt-get upgrade ffmpeg\n```\n\nMac OS X (using [Homebrew](http://brew.sh/)):\n\n```shell\nbrew update\nbrew install cairo --use-gcc\nbrew install ffmpeg\nbrew upgrade ffmpeg\n```\n\nWindows \u0026 others:\n\n- ffmpeg : [https://ffmpeg.org/download.html](https://ffmpeg.org/download.html)\n- cairo : [https://cairographics.org/download/](https://cairographics.org/download/)\n\nConfirm that ImageMagick is properly set up by executing `convert -help` in a terminal.\n\n\n## Install\n\nInstall with [git](https://git-scm.com/) and [npm](https://docs.npmjs.com/getting-started/installing-node) and [node.js](https://nodejs.org/)\n\n```\ngit clone https://github.com/tea3/slitscan.git\ncd slitscan\nnpm install\n```\n\n## Usage\n\nFor example, please create `_config.yml` as follows.\n\n```\nprojectDir: ../../sample Mov   #プロジェクトのディレクトリ\nreadDir:                       #読み込む動画ファイルや画像ファイルのディレクトリ\n  - ../../sample Mov/target\ndistDir: ../../sample Mov/dist #出力先のディレクトリ\n\nmovToImg:\n  movieStatTime: 1             #動画を静止画として切り出す開始位置\n  movieLength: 30              #動画を静止画として切り出す長さ\n  frameRate: 30                #動画を静止画として切り出すフレームレート (例 29.97)\n  # frameRate: 60              #フレーム補間後に切り出したいフレームレート (例 60)\n  # interpolate: 60            #フレーム補間したいフレームレート (例： 60) ※補間処理にはかなりの時間が必要です。目安: 10秒/1フレーム生成\n\nscanLine: x                    #スキャン方向 (xまたはy)\ninverseScan: false             #スキャン方向を逆転させる\nreverseScan: false             #スキャン時間を逆転させる\nstartPosition: 0.0             #スキャンを開始する位置 (0.0 〜 1.0)\n\n# autoDeleteTmp: true          #画像生成後、一時的なファイルを自動で削除するか否か\n```\n\nThen run node.js. Must install NodeJS from [https://nodejs.org/](https://nodejs.org/) beforehand to launch with \"node index.js\"\n\n### Convert video to slitscan image\n\nIf you want to generate slit scan images from video files, write the following command. (e.g. convert `sample.mp4` to `slitscan.png`)\n\n```\n$ node index.js g\n```\n\n### Convert images to slitscan image\n\nIf you want to generate slit scan images from images files, write the following command. (e.g. convert `DSC0001.JPEG`〜`DSC4000.JPEG` to `slitscan.png`)\n\n```\n$ node index.js i\n```\n\n## Scan time listing\n\n- X scan\n\n| fomart | frame rate (fps) | scan time (sec) |\n| :---: | :---: | :---: |\n| 4K QFHD (3840x2160) | 30 | 128 |\n| 4K QFHD (3840x2160) | 60 | 64 |\n| 4K QFHD (3840x2160) | 120 | 32 |\n| 2K Full HD (1920x1080) | 30 | 64 |\n| 2K Full HD (1920x1080) | 60 | 32 |\n| 2K Full HD (1920x1080) | 120 | 16 |\n| HD (1280x720) | 30 | 43 |\n| HD (1280x720) | 60 | 22 |\n| HD (1280x720) | 120 | 11 |\n\n\n- Y scan\n\n| fomart | frame rate (fps) | scan time (sec) |\n| :---: | :---: | :---: |\n| 4K QFHD (3840x2160) | 30 | 72 |\n| 4K QFHD (3840x2160) | 60 | 36 |\n| 4K QFHD (3840x2160) | 120 | 18 |\n| 2K Full HD (1920x1080) | 30 | 36 |\n| 2K Full HD (1920x1080) | 60 | 18 |\n| 2K Full HD (1920x1080) | 120 | 9 |\n| HD (1280x720) | 30 | 24 |\n| HD (1280x720) | 60 | 12 |\n| HD (1280x720) | 120 | 6 |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftea3%2Fslitscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftea3%2Fslitscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftea3%2Fslitscan/lists"}