{"id":22876866,"url":"https://github.com/webini/node-gstreamer-tools","last_synced_at":"2026-04-27T22:32:58.885Z","repository":{"id":36937105,"uuid":"231640411","full_name":"Webini/node-gstreamer-tools","owner":"Webini","description":"Simple wrapper for gstreamer inspection and discovering ","archived":false,"fork":false,"pushed_at":"2023-03-04T05:34:49.000Z","size":122,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T08:57:11.623Z","etag":null,"topics":["discoverer","gstreamer","information","inspect","media","node"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Webini.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-03T18:09:40.000Z","updated_at":"2024-04-05T09:32:09.000Z","dependencies_parsed_at":"2024-12-13T15:38:45.440Z","dependency_job_id":"1aec9288-1c40-4048-a551-ba2cb6bcae84","html_url":"https://github.com/Webini/node-gstreamer-tools","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"b8ee6f22aee381b854b5cada01460b20e986b90f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fnode-gstreamer-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fnode-gstreamer-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fnode-gstreamer-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fnode-gstreamer-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Webini","download_url":"https://codeload.github.com/Webini/node-gstreamer-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473470,"owners_count":20783285,"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":["discoverer","gstreamer","information","inspect","media","node"],"created_at":"2024-12-13T15:28:06.473Z","updated_at":"2026-04-27T22:32:58.859Z","avatar_url":"https://github.com/Webini.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Installation\n============\nSupport only linux yet. Contributions are welcome.  \nSystem dependencies : `libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` (\u003e= 1.14)\n\nTo install run `npm i node-gstreamer-tools`\n\n## Examples\n\n### Plugins inspection\n\n```js\nconst gst = require('node-gstreamer-tools');\n\nconst plugins = gst.getPlugins();\nconst pluginDetails = gst.inspect(plugins[0]);\n\nconsole.log(plugins, pluginDetails);\n\n```\n\n### Media inspection\n```js\nconst gst = require('node-gstreamer-tools');\n\ngst\n  .discover(\"file://\u003cmedia path\u003e\", 60) // 60 = timeout in seconds\n  .then(mediaInfos =\u003e {\n    console.log(mediaInfos);\n  })\n  .catch(e =\u003e {\n    console.log(e);\n  })\n;\n\n// or \n\ngst\n  .discover(\"http(s)://\u003curl\u003e\", 10)\n  .then(mediaInfos =\u003e {\n    console.log(mediaInfos);\n  })\n  .catch(e =\u003e {\n    console.log(e);\n  })\n;\n```\n\n\n## Constants\n\n### features[].pads[].direction\nhttps://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html#GstPadDirection   \n\nValue | Description\n------|------------\n0     | unknown\n1     | src\n2     | sink\n\n\n### features[].pads[].presence\n\nhttps://gstreamer.freedesktop.org/documentation/gstreamer/gstpadtemplate.html?gi-language=c#GstPadPresence\n\nValue | Description\n------|------------\n0     | Always\n1     | Sometimes\n2     | Request\n\n\n### features[].uriHandler\n\nhttps://gstreamer.freedesktop.org/documentation/gstreamer/gsturihandler.html?gi-language=c#GstURIType\n\nValue | Description\n------|------------\n0     | The URI direction is unknown\n1     | The URI is a consumer\n2     | The URI is a producer\n\nhttps://github.com/GStreamer/gstreamer/blob/master/tools/gst-inspect.c#L769","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebini%2Fnode-gstreamer-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebini%2Fnode-gstreamer-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebini%2Fnode-gstreamer-tools/lists"}