{"id":17128085,"url":"https://github.com/eroszy/flv-demux","last_synced_at":"2025-08-16T21:14:47.729Z","repository":{"id":75119908,"uuid":"103741883","full_name":"ErosZy/flv-demux","owner":"ErosZy","description":"flv demuxer for browser and node","archived":false,"fork":false,"pushed_at":"2017-10-22T10:57:51.000Z","size":15167,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-15T15:26:00.037Z","etag":null,"topics":["demuxer","flv-parser","mse"],"latest_commit_sha":null,"homepage":"","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/ErosZy.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,"zenodo":null}},"created_at":"2017-09-16T09:45:34.000Z","updated_at":"2022-06-29T02:36:03.000Z","dependencies_parsed_at":"2023-02-28T18:02:12.988Z","dependency_job_id":null,"html_url":"https://github.com/ErosZy/flv-demux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ErosZy/flv-demux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErosZy%2Fflv-demux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErosZy%2Fflv-demux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErosZy%2Fflv-demux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErosZy%2Fflv-demux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErosZy","download_url":"https://codeload.github.com/ErosZy/flv-demux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErosZy%2Fflv-demux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270771913,"owners_count":24642384,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["demuxer","flv-parser","mse"],"created_at":"2024-10-14T19:06:13.416Z","updated_at":"2025-08-16T21:14:47.721Z","avatar_url":"https://github.com/ErosZy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flv-demux\r\n\r\n## 0. Required\r\n\u003e node v6- (depened on buffer-v6-pollify)\r\n\r\n## 1. Support Format\r\n1. Video: only AVC\r\n2. Audio: only AAC\r\n\r\n## 2. Run Test\r\n\u003e cd test \u0026\u0026 node index.js\r\n\r\n## 3. How To Use It\r\n```javascript\r\n    const FlvDemux = require('flv-demux');\r\n    let decoder = new FlvDemux.Decoder();\r\n\r\n    decoder.on('header', header =\u003e {\r\n        // get flv header info\r\n    });\r\n\r\n    decoder.on('tag', tag =\u003e {\r\n        switch(tag.type){\r\n            case FlvDemux.DataTag.TYPE:\r\n            // get onMetaData info\r\n            break;\r\n            case FlvDemux.AudioTag.TYPE:\r\n            // get audio info\r\n            break;\r\n            case FlvDemux.VideoTag.TYPE:\r\n            // get video info\r\n            break;\r\n        }\r\n    });\r\n\r\n    // you can decode buffer again\r\n    decoder.decode(buffer);\r\n\r\n    setTimeout(()=\u003e{\r\n        decoder.destroy();\r\n    }, 5000);\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feroszy%2Fflv-demux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feroszy%2Fflv-demux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feroszy%2Fflv-demux/lists"}