{"id":19699551,"url":"https://github.com/miyako/ffmpeg","last_synced_at":"2025-11-22T05:02:58.666Z","repository":{"id":262185344,"uuid":"886431307","full_name":"miyako/ffmpeg","owner":"miyako","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-15T00:40:16.000Z","size":98317,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T01:33:09.988Z","etag":null,"topics":["4d-class","4d-component","ffmpeg"],"latest_commit_sha":null,"homepage":"https://miyako.github.io/ffmpeg/","language":"4D","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/miyako.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,"zenodo":null}},"created_at":"2024-11-11T00:36:46.000Z","updated_at":"2025-05-15T00:38:19.000Z","dependencies_parsed_at":"2025-05-15T01:35:55.607Z","dependency_job_id":null,"html_url":"https://github.com/miyako/ffmpeg","commit_stats":null,"previous_names":["miyako/ffmpeg"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/miyako/ffmpeg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fffmpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fffmpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fffmpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fffmpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/ffmpeg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fffmpeg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285737153,"owners_count":27223129,"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-11-22T02:00:05.934Z","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":["4d-class","4d-component","ffmpeg"],"created_at":"2024-11-11T21:00:54.546Z","updated_at":"2025-11-22T05:02:58.660Z","avatar_url":"https://github.com/miyako.png","language":"4D","funding_links":[],"categories":[],"sub_categories":[],"readme":"![version](https://img.shields.io/badge/version-20%2B-E23089)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel%20|%20mac-arm%20|%20win-64\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/ffmpeg)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/ffmpeg/total)\n\n### Licensing\n\n* the source code of this component is licensed under the [MIT license](https://github.com/miyako/ffmpeg/blob/master/LICENSE).\n* see [ffmpeg.org](https://www.ffmpeg.org/legal.html) for the licensing of **ffmpeg**.\n\n# ffmpeg\n\nbased on [eugeneware/ffmpeg-static](https://github.com/eugeneware/ffmpeg-static)\n\n## dependencies.json\n\n ```json\n{\n\t\"dependencies\": {\n\t\t\"ffmpeg\": {\n\t\t\t\"github\": \"miyako/ffmpeg\",\n\t\t\t\"version\": \"latest\"\n\t\t}\n\t}\n}\n```\n\nthe macOS executable targets Apple Silicon. you may download a universal binary edition from releases.\n\n---\n\nexample of a synchronous call\n\n```4d\nvar $in : 4D.File\n$in:=Folder(fk desktop folder).file(\"sample.mov\")\n\nvar $ffmpeg : cs.FFmpeg.FFmpeg\n$ffmpeg:=cs.FFmpeg.FFmpeg.new()\n\nvar $info : Text\n$info:=$ffmpeg.start([\"-i\"; $in]).worker.wait().error\n\nALERT($info)\n```\n\nexample of an asynchronous call\n\n```4d\n#DECLARE($params : Object)\n\nIf ($params=Null)\n\t\n\t/*\n\t\tasync calls must be performed in a worker or form\n\t*/\n\t\n\tCALL WORKER(1; Current method name; {})\n\t\nElse \n\t\n\t$in:=Folder(fk desktop folder).file(\"sample.mov\")\n\t$out:=Folder(fk desktop folder).file(\"sample.mp4\")\n\t\n\tvar $ffmpeg : cs.FFmpeg.FFmpeg\n\t$ffmpeg:=cs.FFmpeg.FFmpeg.new()\n\t$ffmpeg.start([\"-i\"; $in; \"-vcodec\"; \"libx264\"; $out])\n\t\nEnd if \n```\n\n## note on notarisation\n\nneed to increase size when creating `.dmg`. `ffmpeg` needs `1GB`, `ffprobe` needs `5GB`.\n\n```\nhdiutil create -format UDBZ -plist -srcfolder {in} {out} -size {size}\n```\n\nelse possible \"resource is busy\" error.\n\n```\nhdiutil: create failed - リソースが使用中です\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2Fffmpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2Fffmpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2Fffmpeg/lists"}