{"id":16286893,"url":"https://github.com/nor0x/xdroidffmpeg","last_synced_at":"2025-10-05T04:24:31.911Z","repository":{"id":56339924,"uuid":"209531080","full_name":"nor0x/XDroidFFmpeg","owner":"nor0x","description":"Xamarin.Android Binding for RxFFmpeg. XDroidFFmpeg provides powerful audio and video processing / editing powered by ffmpeg","archived":false,"fork":false,"pushed_at":"2020-11-24T10:40:48.000Z","size":95699,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T22:43:53.098Z","etag":null,"topics":["android-bindings","csharp","ffmpeg","ffmpeg-android","xamarin","xamarin-android","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"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/nor0x.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-09-19T10:58:33.000Z","updated_at":"2024-01-25T01:38:07.000Z","dependencies_parsed_at":"2022-08-15T17:00:15.195Z","dependency_job_id":null,"html_url":"https://github.com/nor0x/XDroidFFmpeg","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nor0x%2FXDroidFFmpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nor0x%2FXDroidFFmpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nor0x%2FXDroidFFmpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nor0x%2FXDroidFFmpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nor0x","download_url":"https://codeload.github.com/nor0x/XDroidFFmpeg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047544,"owners_count":20389203,"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":["android-bindings","csharp","ffmpeg","ffmpeg-android","xamarin","xamarin-android","xamarin-forms"],"created_at":"2024-10-10T19:43:59.710Z","updated_at":"2025-10-05T04:24:26.884Z","avatar_url":"https://github.com/nor0x.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/nor0x/XDroidFFmpeg/master/Art/logo.svg?sanitize=true\" width=\"100px\" /\u003e\n\n# XDroidFFmpeg\n[![Build Status](https://dev.azure.com/nor0x/XDroidFFmpeg/_apis/build/status/nor0x.XDroidFFmpeg?branchName=master)](https://dev.azure.com/nor0x/XDroidFFmpeg/_build/latest?definitionId=6\u0026branchName=master) [![](https://img.shields.io/nuget/vpre/XDroidFFmpeg.svg)](https://nuget.org/packages/XDroidFFmpeg)\n[![](https://img.shields.io/nuget/dt/XDroidFFmpeg)](https://nuget.org/packages/XDroidFFmpeg)\n\nXamarin.Android bindings for [RxFFmpeg](https://github.com/microshow/RxFFmpeg). (Kudos [@microshow](https://github.com/microshow))  This `Java Bindings Library` provides performant audio and video processing / editing powered by `FFmpeg 4.0` + `X264` + `mp3lame` + `fdk-aac`.\n\n| Platform      | Support       | Sample|\n| :-------------: |:-------------:| :-----:|\n| Xamarin.Android      | ✔      |  ✔    |\n| Xamarin.Forms        | ✔      |  ⏳  |\n\n## Why XDroidFFmpeg?\n\nUsing [FFmpeg](https://github.com/FFmpeg/FFmpeg) in `(Xamarin.)Android` seems easy at first - there are some projects around, but there are some gotchas like getting compilation for different ABIs right and adding support for hardware acceleration. [RxFFmpeg](https://github.com/microshow/RxFFmpeg) is doing a great job of making it easy to run commands against `ffmpeg`. I was struggling with getting FFmpeg performance right on Xamarin.Android that's way I started binding [RxFFmpeg](https://github.com/microshow/RxFFmpeg) since they have support for `Android` `MediaCodec`. One goal with this `Java Bindings Library` is to make it as easy as possible to call into the native `ffmpeg` commands from `Xamarin.Android`. \n\nMajor credits to [@microshow](https://github.com/microshow) for doing the hard work 👍.\n\n## Getting started\n\n### NuGet\nXDroidFFmpeg is up on NuGet and GitHub\n\n[https://www.nuget.org/packages/XDroidFFmpeg](https://www.nuget.org/packages/XDroidFFmpeg)\n\n[https://github.com/nor0x/XDroidFFmpeg/packages](https://github.com/nor0x/XDroidFFmpeg/packages)\n\n\n### Project\nStart by adding a reference to [RxFFmpeg_Bindings.csproj](https://github.com/nor0x/XDroidFFmpeg/blob/master/RxFFmpeg_Bindings/RxFFmpeg_Bindings.csproj \"RxFFmpeg_Bindings.csproj\") to the `Xamarin.Android` project. Set API Level and supported ABIs in the project properties. Hint: use `arm64-v8a` for best performance on supported devices.\n\n## Running `ffmpeg` commands \n\nRunning commands against `ffmpeg` is as simple as:\n\n    var command = cmd.Split(\" \");\n    RxFFmpegInvoke.Instance.RunCommand(command, null);\nFor getting callbacks an implementation of `IFFmpegListener` can be passed to `RunCommand`\n\nThere is also a demo project which demonstrates adding `.PNG` watermark to an `.MP4` video. To get the demo working you need to create a `ffmpegtest` folder in `/storage/emulated/0/` and add a `video.mp4` and `watermark.png` file to this folder.\n\n#### Watermark Demo\n\u003cimg src=\"https://raw.githubusercontent.com/nor0x/XDroidFFmpeg/master/Art/demo.gif?raw=true\" width=\"350px\" /\u003e\n\nMore demo scenarios might be added in the future. Head over to [ffmpeg documentation](https://ffmpeg.org/ffmpeg.html) for more.\n\n## Contribution\n\nFeel free to create issues and PRs  😃\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnor0x%2Fxdroidffmpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnor0x%2Fxdroidffmpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnor0x%2Fxdroidffmpeg/lists"}