{"id":13905836,"url":"https://github.com/Eyevinn/fmp4-js","last_synced_at":"2025-07-18T03:32:17.796Z","repository":{"id":57239427,"uuid":"172866446","full_name":"Eyevinn/fmp4-js","owner":"Eyevinn","description":"A Javascript library to parse ISO Base Media File Format (MPEG-4 Part 12)","archived":false,"fork":false,"pushed_at":"2024-04-17T12:10:41.000Z","size":1535,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-17T23:11:53.088Z","etag":null,"topics":["library"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eyevinn.png","metadata":{"files":{"readme":"README.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}},"created_at":"2019-02-27T07:32:34.000Z","updated_at":"2024-08-17T12:33:23.000Z","dependencies_parsed_at":"2024-11-09T10:35:56.927Z","dependency_job_id":"db54516c-b553-462c-b307-6544c565abea","html_url":"https://github.com/Eyevinn/fmp4-js","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Ffmp4-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Ffmp4-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Ffmp4-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Ffmp4-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eyevinn","download_url":"https://codeload.github.com/Eyevinn/fmp4-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226344412,"owners_count":17610129,"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":["library"],"created_at":"2024-08-06T23:01:24.672Z","updated_at":"2024-11-25T14:30:24.016Z","avatar_url":"https://github.com/Eyevinn.png","language":"JavaScript","funding_links":[],"categories":["HarmonyOS","Protocols \u0026 Transport"],"sub_categories":["Windows Manager","CMAF \u0026 fMP4 Packaging"],"readme":"A Javascript library to parse ISO Base Media File Format (MPEG-4 Part 12) ISO/IEC 14496-12\n\n## Usage (Node JS)\n\n```\nnpm install --save fmp4.js\n```\n\nThe library implements the `Writable` stream interface and acts a a \"sink\". For example to download\nand parse an MP4 fragment:\n\n```\nconst request = require(\"request\");\nconst fMP4 = require(\"fmp4.js\");\n\nrequest.get(\"http://example.com/video.dash\")\n.pipe(fMP4.parse())\n.on(\"finish\", function() {\n\n  // Obtain all boxes found in the fragment\n  const boxes = fMP4.boxes;\n\n  // Parse each box\n  for (let i = 0; i \u003c boxes.length; i++) {\n    let parsedBox = boxes[i].parse(); // MP4Box\n\n    /**\n     *\n     * MP4Box {\n     *   hdr: { size, type, hdrsize },\n     *   $type: {\n     *     key/value pairs,\n     *     array of child boxes (if available)\n     *   }\n     * }\n     */\n    console.log(parsedBox);\n  }\n});\n```\n\nAn example implementation of the library that parses and dump the contents of an ISOBMFF file is included:\n\n```\nnode mp4dump.js test/support/testassets/cmaf_chunk.mp4\n```\n\n## About Eyevinn Technology\n\nEyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor.\n\nAt Eyevinn, every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This give us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community. \n\nWant to know more about Eyevinn and how it is to work here. Contact us at work@eyevinn.se!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEyevinn%2Ffmp4-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEyevinn%2Ffmp4-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEyevinn%2Ffmp4-js/lists"}