{"id":50418054,"url":"https://github.com/2723659854/flv2mp4","last_synced_at":"2026-06-04T11:00:27.593Z","repository":{"id":361372253,"uuid":"1253096804","full_name":"2723659854/flv2mp4","owner":"2723659854","description":"A tool for transcoding flv files to mp4 using PHP","archived":false,"fork":false,"pushed_at":"2026-06-03T07:48:35.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-03T10:25:14.807Z","etag":null,"topics":["flv","fmp4","mp4","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/2723659854.png","metadata":{"files":{"readme":"README.cn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-29T06:37:27.000Z","updated_at":"2026-06-03T07:47:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/2723659854/flv2mp4","commit_stats":null,"previous_names":["2723659854/flv2mp4"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/2723659854/flv2mp4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2723659854%2Fflv2mp4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2723659854%2Fflv2mp4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2723659854%2Fflv2mp4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2723659854%2Fflv2mp4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2723659854","download_url":"https://codeload.github.com/2723659854/flv2mp4/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2723659854%2Fflv2mp4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33901305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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":["flv","fmp4","mp4","php"],"created_at":"2026-05-31T07:02:15.192Z","updated_at":"2026-06-04T11:00:27.546Z","avatar_url":"https://github.com/2723659854.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FLV 转码为 MP4 工具\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"./README.cn.md\"\u003e\u003cstrong\u003e🇨🇳 中文\u003c/strong\u003e\u003c/a\u003e •\n  \u003ca href=\"./README.md\"\u003e\u003cstrong\u003e🇬🇧 English\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### 介绍\n\n这是一款纯 PHP 开发的工具，用于将 FLV 媒体文件转换为 MP4 格式，便于存储和后续处理。\n\n### 安装\n\n```bash\ncomposer require xiaosongshu/flv2mp4\n```\n\n### 示例\n\n```php\n\u003c?php\nrequire_once __DIR__ . '/vendor/autoload.php';\nini_set('memory_limit', '512M');\n\n// 需要转换的 FLV 文件路径\n$file = __DIR__ . \"/test.flv\";\n\n// 转换后 MP4 文件保存目录\n$outputDir = __DIR__ . \"/output\";\n\ntry {\n    // 执行转换，成功返回 MP4 文件路径\n    $res = \\Xiaosongshu\\Flv2mp4\\Client::run($file, $outputDir);\n    echo $res;\n} catch (\\Exception $e) {\n    echo $e-\u003egetMessage();\n}\n```\n\n### 说明\n\n本项目的开发初衷是为另一个直播项目 [xiaosongshu/rtmp_server](https://github.com/2723659854/rtmp-server) 提供 MP4 存储支持。\n\n### 免责声明\n\n- 项目中的部分代码或资料可能来源于网络，如涉及侵权，请及时联系作者删除。\n- 本项目完全开源，仅供技术分享与学习交流。\n- 因使用者自身行为导致的任何法律风险或商业纠纷，均与作者无关。\n- 使用者应自行承担使用本项目可能带来的后果，包括但不限于版权、合规等问题。\n\n### 联系作者\n\n- 邮箱：2723659854@qq.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2723659854%2Fflv2mp4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2723659854%2Fflv2mp4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2723659854%2Fflv2mp4/lists"}