{"id":14263814,"url":"https://github.com/deepmedia/Transcoder","last_synced_at":"2025-08-13T11:32:10.807Z","repository":{"id":37732925,"uuid":"161674156","full_name":"deepmedia/Transcoder","owner":"deepmedia","description":"🎞 Hardware-accelerated video transcoding using Android MediaCodec APIs. Supports cropping, concatenation, clipping, audio processing, video speed and much more.","archived":false,"fork":false,"pushed_at":"2024-08-15T13:35:51.000Z","size":13606,"stargazers_count":765,"open_issues_count":23,"forks_count":163,"subscribers_count":25,"default_branch":"main","last_synced_at":"2024-08-16T12:12:17.218Z","etag":null,"topics":["android","android-library","audio-samples","crop-video","egl","h264","hardware-acceleration","mediacodec","mp4","opengl","opengl-es","transcoding","video-compression","video-compressor","video-concatenation","video-crop","video-editing","video-processing","video-speed"],"latest_commit_sha":null,"homepage":"https://opensource.deepmedia.io/transcoder","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepmedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"github":["natario1"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-12-13T17:42:20.000Z","updated_at":"2024-08-16T01:42:03.000Z","dependencies_parsed_at":"2022-08-08T21:30:39.040Z","dependency_job_id":"1c388aca-a4bb-4a73-8c98-1a77ce1f294e","html_url":"https://github.com/deepmedia/Transcoder","commit_stats":null,"previous_names":["deepmedia/transcoder"],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepmedia%2FTranscoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepmedia%2FTranscoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepmedia%2FTranscoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepmedia%2FTranscoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepmedia","download_url":"https://codeload.github.com/deepmedia/Transcoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":216480621,"owners_count":16032646,"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","android-library","audio-samples","crop-video","egl","h264","hardware-acceleration","mediacodec","mp4","opengl","opengl-es","transcoding","video-compression","video-compressor","video-concatenation","video-crop","video-editing","video-processing","video-speed"],"created_at":"2024-08-22T14:01:32.612Z","updated_at":"2024-12-14T21:31:08.780Z","avatar_url":"https://github.com/deepmedia.png","language":"Java","readme":"[![Build Status](https://github.com/deepmedia/Transcoder/actions/workflows/build.yml/badge.svg?event=push)](https://github.com/deepmedia/Transcoder/actions)\n[![Release](https://img.shields.io/github/release/deepmedia/Transcoder.svg)](https://github.com/deepmedia/Transcoder/releases)\n[![Issues](https://img.shields.io/github/issues-raw/deepmedia/Transcoder.svg)](https://github.com/deepmedia/Transcoder/issues)\n\n![Project logo](assets/logo-256.png)\n\n# Transcoder\n\nTranscodes and compresses video files into the MP4 format, with audio support, using hardware-accelerated\nAndroid codecs available on the device. Works on API 21+.\n\n- Fast transcoding to AAC/AVC\n- Hardware accelerated\n- Convenient, fluent API\n- Thumbnails support\n- Concatenate multiple video and audio tracks [[docs]](https://opensource.deepmedia.io/transcoder/concatenation)\n- Clip or trim video segments [[docs]](https://opensource.deepmedia.io/transcoder/clipping)\n- Choose output size, with automatic cropping [[docs]](https://opensource.deepmedia.io/transcoder/track-strategies#video-size)\n- Choose output rotation [[docs]](https://opensource.deepmedia.io/transcoder/advanced-options#video-rotation)\n- Choose output speed [[docs]](https://opensource.deepmedia.io/transcoder/advanced-options#video-speed)\n- Choose output frame rate [[docs]](https://opensource.deepmedia.io/transcoder/track-strategies#other-options)\n- Choose output audio channels [[docs]](https://opensource.deepmedia.io/transcoder/track-strategies#audio-strategies)\n- Choose output audio sample rate [[docs]](https://opensource.deepmedia.io/transcoder/track-strategies#audio-strategies)\n- Override frames timestamp, e.g. to slow down the middle part of the video [[docs]](https://opensource.deepmedia.io/transcoder/advanced-options#time-interpolation)\n- Error handling [[docs]](https://opensource.deepmedia.io/transcoder/events)\n- Configurable validators to e.g. avoid transcoding if the source is already compressed enough [[docs]](https://opensource.deepmedia.io/transcoder/validators)\n- Configurable video and audio strategies [[docs]](https://opensource.deepmedia.io/transcoder/track-strategies)\n\n```kotlin\n// build.gradle.kts\ndependencies {\n    implementation(\"io.deepmedia.community:transcoder-android:0.11.2\")\n}\n```\n\n*This project started as a fork of [ypresto/android-transcoder](https://github.com/ypresto/android-transcoder).\nWith respect to the source project, which misses most of the functionality listed above,\nwe have also fixed a huge number of bugs and are much less conservative when choosing options\nthat might not be supported. The source project will always throw - for example, accepting only 16:9,\nAVC Baseline Profile videos - we prefer to try and let the codec fail if it wants to*.\n\n*Transcoder is trusted and supported by [ShareChat](https://sharechat.com/), a social media app with\nover 100 million downloads.*\n\nPlease check out [the official website](https://opensource.deepmedia.io/transcoder) for setup instructions and documentation.\nYou may also check the demo app (under `/demo`) for a complete example.\n\n```kotlin\nTranscoder.into(filePath)\n    .addDataSource(context, uri) // or...\n    .addDataSource(filePath) // or...\n    .addDataSource(fileDescriptor) // or...\n    .addDataSource(dataSource)\n    .setListener(object : TranscoderListener {\n         override fun onTranscodeProgress(progress: Double) = Unit\n         override fun onTranscodeCompleted(successCode: Int) = Unit\n         override fun onTranscodeCanceled() = Unit\n         override fun onTranscodeFailed(exception: Throwable) = Unit\n    }).transcode()\n```\n","funding_links":["https://github.com/sponsors/natario1"],"categories":["HarmonyOS","Java"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepmedia%2FTranscoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepmedia%2FTranscoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepmedia%2FTranscoder/lists"}