{"id":13529817,"url":"https://github.com/transitive-bullshit/ffmpeg-probe","last_synced_at":"2025-04-10T23:24:31.985Z","repository":{"id":45232857,"uuid":"127109276","full_name":"transitive-bullshit/ffmpeg-probe","owner":"transitive-bullshit","description":"Wrapper around ffprobe for getting info about media files.","archived":false,"fork":false,"pushed_at":"2023-01-25T07:24:12.000Z","size":1458,"stargazers_count":13,"open_issues_count":12,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T00:53:44.805Z","etag":null,"topics":["ffmpeg","ffprobe","fluent-ffmpeg"],"latest_commit_sha":null,"homepage":null,"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/transitive-bullshit.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}},"created_at":"2018-03-28T08:31:23.000Z","updated_at":"2024-02-01T14:19:50.000Z","dependencies_parsed_at":"2023-02-14T05:46:14.825Z","dependency_job_id":null,"html_url":"https://github.com/transitive-bullshit/ffmpeg-probe","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fffmpeg-probe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fffmpeg-probe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fffmpeg-probe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fffmpeg-probe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transitive-bullshit","download_url":"https://codeload.github.com/transitive-bullshit/ffmpeg-probe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248313521,"owners_count":21082871,"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":["ffmpeg","ffprobe","fluent-ffmpeg"],"created_at":"2024-08-01T07:00:39.638Z","updated_at":"2025-04-10T23:24:31.962Z","avatar_url":"https://github.com/transitive-bullshit.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# ffmpeg-probe\n\n\u003e Wrapper around [ffprobe](https://www.ffmpeg.org/ffprobe.html) for getting info about media files such as width, height, and duration.\n\n[![NPM](https://img.shields.io/npm/v/ffmpeg-probe.svg)](https://www.npmjs.com/package/ffmpeg-probe) [![Build Status](https://travis-ci.com/transitive-bullshit/ffmpeg-probe.svg?branch=master)](https://travis-ci.com/transitive-bullshit/ffmpeg-probe) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save ffmpeg-probe\n# or\nyarn add ffmpeg-probe\n```\n\n## Usage\n\n```js\nconst ffmpeg = require('fluent-ffmpeg')\nconst probe = require('ffmpeg-probe')\n\nconst info = await probe('input.mp4')\n\n// info = {\n//   width: 640,\n//   height: 360,\n//   duration: 4000,\n//   fps: 25,\n//   streams: [ ... ],\n//   format: { ... }\n// }\n```\n\n## API\n\n### probe(input)\n\nReturns a `Promise` for the [probe](https://www.ffmpeg.org/ffprobe.html) information augmented with the first stream's `width`, `height`, and `duration` in milliseconds.\n\n#### input\n\nType: `String`\n\nPath or URL to a media file.\n\n## Related\n\n- [fluent-ffmpeg](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg)\n- [awesome-ffmpeg](https://github.com/transitive-bullshit/awesome-ffmpeg) - A curated list of awesome ffmpeg resources with a focus on JavaScript.\n\n## License\n\nMIT © [Travis Fischer](https://github.com/transitive-bullshit)\n\nSupport my OSS work by \u003ca href=\"https://twitter.com/transitive_bs\"\u003efollowing me on twitter \u003cimg src=\"https://storage.googleapis.com/saasify-assets/twitter-logo.svg\" alt=\"twitter\" height=\"24px\" align=\"center\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitive-bullshit%2Fffmpeg-probe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransitive-bullshit%2Fffmpeg-probe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitive-bullshit%2Fffmpeg-probe/lists"}