{"id":13602113,"url":"https://github.com/StreamPot/StreamPot","last_synced_at":"2025-04-11T08:31:32.839Z","repository":{"id":232166655,"uuid":"782630183","full_name":"StreamPot/StreamPot","owner":"StreamPot","description":"Run FFmpeg as an API with fluent-ffmpeg compatibility, queues and S3 storage.","archived":false,"fork":false,"pushed_at":"2024-12-07T18:25:01.000Z","size":1440,"stargazers_count":809,"open_issues_count":17,"forks_count":27,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-10T14:01:06.099Z","etag":null,"topics":["api","ffmpeg","ffmpeg-wrapper","fluent-ffmpeg","media"],"latest_commit_sha":null,"homepage":"https://streampot.io","language":"TypeScript","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/StreamPot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-05T17:30:47.000Z","updated_at":"2025-04-08T06:54:23.000Z","dependencies_parsed_at":"2024-08-07T12:27:00.341Z","dependency_job_id":"653e556d-6677-4ba1-9913-51bddb9a3e28","html_url":"https://github.com/StreamPot/StreamPot","commit_stats":null,"previous_names":["jackbridger/streampot","streampot/streampot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamPot%2FStreamPot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamPot%2FStreamPot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamPot%2FStreamPot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamPot%2FStreamPot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StreamPot","download_url":"https://codeload.github.com/StreamPot/StreamPot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248361552,"owners_count":21090929,"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":["api","ffmpeg","ffmpeg-wrapper","fluent-ffmpeg","media"],"created_at":"2024-08-01T18:01:14.431Z","updated_at":"2025-04-11T08:31:32.320Z","avatar_url":"https://github.com/StreamPot.png","language":"TypeScript","readme":"# StreamPot\n\n\u003e [!NOTE]\n\u003e **StreamPot is still in the early stages of development, we would appreciate your feedback.**\n\nStreamPot is a project that provides scaffolding for transforming media in your app (e.g. trimming a video, stripping the audio from a video, transcoding a video from mp4 to webp).\n\nWe are building this because an increasing number of projects are transforming media as part of their workflow. \n\nIf you want a no-setup way to run this, check out [StreamPot](https://www.streampot.io/).\n\n## Running the server locally\n\nVisit the [Installation (server)](https://docs.streampot.io/installation.html) page for self-hosting instructions.\nIf you'd like to use the **hosted version**, please [sign up](https://app.streampot.io/register) and give it a try.\n\n## Running a job in your app\nNote: You should only run this from your server.\n\n### Install the client library\n\n```\npnpm i @streampot/client\n```\n\n### Initialise the client \u0026 submit a job.\n```js\nimport StreamPot from '@streampot/client'\nconst EXAMPLE_VID = 'https://sample-videos.com/video321/mp4/240/big_buck_bunny_240p_1mb.mp4'\n\nconst client = new StreamPot({\n    baseUrl: 'http://127.0.0.1:3000', // adjust if you are serving in production\n})\n\nconst clipJob = await client.input(EXAMPLE_VID)\n    .setStartTime(1)\n    .setDuration(2)\n    .output('output.mp4')\n    .run()\nconst jobId = clipJob.id\n\n// In production you should set up a poll.\nsetTimeout(async () =\u003e {\n    const job = await client.checkStatus(jobId)\n    if (job.status === 'completed'){\n        console.log(job.output_url)\n    } \n},10000) // wait 10 seconds\n```\n\n## Acknowledgements\n\nThis project is heavily reliant on the amazing work of the ffmpeg and fluent-ffmpeg teams \n\n## Feedback\n\nIf you want to use StreamPot in your project, I'd be happy to help \u0026 improve it based on your feedback. Email me at team@streampot.io or [let's have a call](https://cal.com/jackbridger/30min). \n","funding_links":[],"categories":["TypeScript","api"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStreamPot%2FStreamPot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStreamPot%2FStreamPot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStreamPot%2FStreamPot/lists"}