{"id":19123742,"url":"https://github.com/cwithmichael/ts-video-encoder","last_synced_at":"2025-06-23T09:33:45.760Z","repository":{"id":238164991,"uuid":"795989282","full_name":"cwithmichael/ts-video-encoder","owner":"cwithmichael","description":"Simple video encoder","archived":false,"fork":false,"pushed_at":"2024-05-04T20:26:46.000Z","size":30083,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T13:43:16.236Z","etag":null,"topics":["typescript","video","video-processing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/cwithmichael.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":"2024-05-04T15:51:26.000Z","updated_at":"2024-05-04T20:27:31.000Z","dependencies_parsed_at":"2024-11-09T05:37:11.485Z","dependency_job_id":null,"html_url":"https://github.com/cwithmichael/ts-video-encoder","commit_stats":null,"previous_names":["cwithmichael/ts-video-encoder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cwithmichael/ts-video-encoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fts-video-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fts-video-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fts-video-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fts-video-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwithmichael","download_url":"https://codeload.github.com/cwithmichael/ts-video-encoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fts-video-encoder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261453126,"owners_count":23160453,"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":["typescript","video","video-processing"],"created_at":"2024-11-09T05:27:01.097Z","updated_at":"2025-06-23T09:33:40.731Z","avatar_url":"https://github.com/cwithmichael.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## TypeScript-Video-Encoder\n\nThis is a rewrite of the Codec From Scratch repo originally done in Go.\nAll credit goes to Github user kevmo314 for the logic.\nPlease see the [original repo](https://github.com/kevmo314/codec-from-scratch) for more detailed information.\n\nTo run this locally:\n\n`npm install`\n\n`cat video.rgb24 | npm run start`\n\nExample run:\n\n```\n➜  ts-video-encodder git:(main) cat video.rgb24 | npm run start\n\n\u003e ts-video-encodder@0.0.1 start\n\u003e npx tsc \u0026\u0026 node dist/index.js\n\nRaw size: 53996544 bytes\nYUV420p size: 26998272 bytes (50% original size)\nWrote encoded.yuv\nRLE size: 13592946 bytes (25.17% original size)\nDeflated size: 5743033 bytes (10.64% original size)\nWrote decoded.yuv\nWrote decoded.rgb24\n➜  ts-video-encodder git:(main)\n```\n\nTo play the decoded file:\n\n`ffplay -f rawvideo -pixel_format rgb24 -video_size 384x216 -framerate 25 decoded.rgb24`\n\nYou can do the same for the YUV files if you'd like:\n\n`ffplay -f rawvideo -pixel_format rgb24 -video_size 384x216 -framerate 25 decoded.yuv`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwithmichael%2Fts-video-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwithmichael%2Fts-video-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwithmichael%2Fts-video-encoder/lists"}