{"id":25898268,"url":"https://github.com/adminy/cordova-plugin-ffmpeg","last_synced_at":"2025-10-06T01:55:57.901Z","repository":{"id":54435230,"uuid":"215871763","full_name":"adminy/cordova-plugin-ffmpeg","owner":"adminy","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-18T07:20:00.000Z","size":19,"stargazers_count":15,"open_issues_count":10,"forks_count":28,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T06:35:33.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/adminy.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}},"created_at":"2019-10-17T19:37:26.000Z","updated_at":"2025-05-24T08:10:04.000Z","dependencies_parsed_at":"2022-08-13T15:31:25.750Z","dependency_job_id":null,"html_url":"https://github.com/adminy/cordova-plugin-ffmpeg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adminy/cordova-plugin-ffmpeg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminy%2Fcordova-plugin-ffmpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminy%2Fcordova-plugin-ffmpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminy%2Fcordova-plugin-ffmpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminy%2Fcordova-plugin-ffmpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adminy","download_url":"https://codeload.github.com/adminy/cordova-plugin-ffmpeg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminy%2Fcordova-plugin-ffmpeg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547816,"owners_count":26004773,"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-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2025-03-03T00:17:47.022Z","updated_at":"2025-10-06T01:55:57.887Z","avatar_url":"https://github.com/adminy.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cordova FFMPEG Plugin\n\nSimple plugin that binds mobile ffmpeg to execute ffmpeg commands\n\n## Using\n\nCreate a new Cordova Project\n\n    $ cordova create hello com.example.helloapp Hello\n\nmake sure you have cocoapods **On MacOS**\n\n\u003e `sudo gem install cocoapods`\n\nInstall the plugin\n\n    $ cd hello\n    $ cordova plugin add https://github.com/adminy/cordova-plugin-ffmpeg.git\n\nEdit `www/js/index.js` and add the following code inside `onDeviceReady`\n\n```js\nffmpeg.exec(\"-i someinput.mp4 -vn -c:a copy out.mp3\", (success) =\u003e alert(success), (failure) =\u003e alert(failure));\n```\n\nMake sure you have the files that will be required by ffmpeg\n\nYou can also run the `FFProbe` command to get video information:\n\n```js\nffmpeg.probe(\n  \"somefile.mp4\",\n  (result) =\u003e {\n    console.log(\"Video details:\");\n    console.log(result.format.bit_rate);\n    console.log(result.format.duration);\n    console.log(result.format.filename);\n    console.log(result.format.format_name);\n    console.log(result.format.nb_programs);\n    console.log(result.format.nb_streams);\n    console.log(result.format.probe_score);\n    console.log(result.format.size);\n    console.log(result.format.start_time);\n\n    // You also get details about the video/audio streams of the file\n    console.log(result.streams[0].codec_name); // e.g. h264\n    console.log(result.streams[0].codec_type); // e.g. 'video'\n    console.log(result.streams[1].codec_name); // e.g. aac\n    console.log(result.streams[1].codec_type); // e.g. 'audio'\n  },\n  (error) =\u003e alert(error)\n);\n```\n\nInstall iOS or Android platform\n\n    cordova platform add ios\n    cordova platform add android\n\nRun the code\n\n    cordova run\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminy%2Fcordova-plugin-ffmpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadminy%2Fcordova-plugin-ffmpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminy%2Fcordova-plugin-ffmpeg/lists"}