{"id":15961435,"url":"https://github.com/magicdawn/ff-helper","last_synced_at":"2026-01-19T12:33:27.550Z","repository":{"id":152433268,"uuid":"625915055","full_name":"magicdawn/ff-helper","owner":"magicdawn","description":" ffmpeg helper by napi-rs binding","archived":false,"fork":false,"pushed_at":"2025-09-08T09:35:52.000Z","size":14040,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-08T10:37:19.695Z","etag":null,"topics":["ffmpeg","ffmpeg-binding","node-ffmpeg-api"],"latest_commit_sha":null,"homepage":"https://magicdawn.github.io/ff-helper/","language":"Rust","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/magicdawn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-04-10T11:48:54.000Z","updated_at":"2025-09-08T09:31:59.000Z","dependencies_parsed_at":"2023-12-18T18:57:40.639Z","dependency_job_id":"3765aba7-5700-4ae7-aa8e-272209bc999c","html_url":"https://github.com/magicdawn/ff-helper","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/magicdawn/ff-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fff-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fff-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fff-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fff-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicdawn","download_url":"https://codeload.github.com/magicdawn/ff-helper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fff-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28567898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","ffmpeg-binding","node-ffmpeg-api"],"created_at":"2024-10-07T15:42:21.597Z","updated_at":"2026-01-19T12:33:27.533Z","avatar_url":"https://github.com/magicdawn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ff-helper\n\n\u003e ffmpeg helper by napi-rs binding\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/magicdawn/ff-helper/ci.yml?style=flat-square\u0026branch=main)](https://github.com/magicdawn/ff-helper/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/codecov/c/github/magicdawn/ff-helper.svg?style=flat-square)](https://codecov.io/gh/magicdawn/ff-helper)\n[![npm version](https://img.shields.io/npm/v/ff-helper.svg?style=flat-square)](https://www.npmjs.com/package/ff-helper)\n[![npm downloads](https://img.shields.io/npm/dm/ff-helper.svg?style=flat-square)](https://www.npmjs.com/package/ff-helper)\n[![npm license](https://img.shields.io/npm/l/ff-helper.svg?style=flat-square)](http://magicdawn.mit-license.org)\n\n## Install rust toolchain\n\nThis binding will link against system installed ffmpeg(libavcodec libav\\*). \u003cbr /\u003e\nIt will run cargo build when install, make sure you have rust toolchain installed.\n\n## Install ffmpeg lib\n\n### macOS\n\n```sh\nbrew install pkg-config ffmpeg nasm\n```\n\n### On Debian-based systems\n\n```sh\napt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config\n```\n\nmore see https://github.com/zmwangx/rust-ffmpeg/wiki/Notes-on-building\n\n## Install\n\n```sh\n$ pnpm add ff-helper\n```\n\n## API\n\nsee typedoc https://magicdawn.github.io/ff-helper/\n\n### get video info\n\n```ts\nexport declare async funciton getVideoInfo(file: string): Promise\u003cVideoInfo\u003e;\n\nexport interface VideoInfo {\n  /** degress, 0-360, counterclockwise  */\n  rotation: number\n  /** millseconds  */\n  duration: number\n  width: number\n  height: number\n}\n```\n\n## Changelog\n\n[CHANGELOG.md](CHANGELOG.md)\n\n## License\n\nthe MIT License http://magicdawn.mit-license.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Fff-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicdawn%2Fff-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Fff-helper/lists"}