{"id":15532869,"url":"https://github.com/tito/ffmpeg-android","last_synced_at":"2025-04-23T13:45:00.946Z","repository":{"id":66575279,"uuid":"2176366","full_name":"tito/ffmpeg-android","owner":"tito","description":"Bambuser version of ffmpeg/android with custom python bindings","archived":false,"fork":false,"pushed_at":"2017-01-05T11:02:08.000Z","size":11807,"stargazers_count":40,"open_issues_count":2,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-18T00:11:41.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/tito.png","metadata":{"files":{"readme":"README","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-08-08T22:51:24.000Z","updated_at":"2024-11-29T14:50:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f8d2f87-7936-42a5-906f-ad9c6cd994b1","html_url":"https://github.com/tito/ffmpeg-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fffmpeg-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fffmpeg-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fffmpeg-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fffmpeg-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tito","download_url":"https://codeload.github.com/tito/ffmpeg-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250441926,"owners_count":21431238,"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":[],"created_at":"2024-10-02T11:33:35.836Z","updated_at":"2025-04-23T13:45:00.939Z","avatar_url":"https://github.com/tito.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"!!!!\nDEPRECATED, in favor of [ffpyplayer](https://github.com/matham/ffpyplayer)\n!!!!\n\nFFMPEG for Android\n------------------\n\nThis version is made in top of the bambuser original version.\nAll credits about toolchain / ffmpeg android are to http://bambuser.com/\nCheck the original source code at: http://bambuser.com/opensource\n\nThis version include a specific Python wrapper to decode audio / video,\nimplemented to be as portable as possible. The goal is to use it for a\ncore provider in the Kivy project, on android platform.\n\nSTATUS: working, but in heavy stabilization\n\nToolchain setup\n---------------\n\nDownload the Android NDK Revision 5b from\nhttp://developer.android.com/sdk/ndk/index.html\n\nExtract it into a folder (e.g. your home directory, the example is\nfor the mac os x version):\n\ntar -jxvf android-ndk-r5b-darwin-x86.tar.bz2\nmv android-ndk-r5b android-ndk\n\n\nExtracting the source\n---------------------\n\nThe original upstream source (and the patches, if any) can be extracted\nby running ./extract.sh.\n\nBuilding\n--------\n\n(not updated, don't use.)\n\nTo build, first set the environment variable NDK to point to the\ndirectory where the NDK is installed:\n\nexport NDK=~/android-ndk\n\nThen just call ./build.sh.\n\nTo clean up the newly built files (removed unused files, remove libraries\nwith version numbers in the name), call ./clean-build.sh.\n\nBuilding Python extension\n-------------------------\n\n(Only video with h264+aac, usually named .mp4, will work.)\n\nIf you want to test on your computer, you need to build an x86 version::\n\n\tFFMPEG_ARCHS='x86' ./build-h264-aac.sh\n\nThen build the python extension::\n\n\tcd python\n\tFFMPEG_LIBRARIES='SDL SDL_mixer' FFMPEG_LIBRARY_DIRS='/usr/lib' \\\n\tFFMPEG_INCLUDES='/usr/include/SDL' FFMPEG_ROOT=../build/ffmpeg/x86/ \\\n\tpython setup.py build_ext --inplace -f\n\nAnd for testing::\n\n\tpython ffmpeg/__init__.py \u003cyourvideofile.mkv\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftito%2Fffmpeg-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftito%2Fffmpeg-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftito%2Fffmpeg-android/lists"}