{"id":18652967,"url":"https://github.com/chromeos/video-composition-sample","last_synced_at":"2025-07-04T19:08:49.096Z","repository":{"id":105686363,"uuid":"419334870","full_name":"chromeos/video-composition-sample","owner":"chromeos","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-26T08:54:22.000Z","size":6182,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-11T20:04:04.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/chromeos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2021-10-20T13:09:56.000Z","updated_at":"2023-10-12T08:25:26.000Z","dependencies_parsed_at":"2023-06-13T00:20:36.939Z","dependency_job_id":null,"html_url":"https://github.com/chromeos/video-composition-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chromeos/video-composition-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fvideo-composition-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fvideo-composition-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fvideo-composition-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fvideo-composition-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chromeos","download_url":"https://codeload.github.com/chromeos/video-composition-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fvideo-composition-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263604014,"owners_count":23487223,"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-11-07T07:09:37.272Z","updated_at":"2025-07-04T19:08:49.083Z","avatar_url":"https://github.com/chromeos.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video Composition Sample\n\n## This is not an officially supported Google product\n\n## About\nThe aim of this project is to:\n * Demonstrate a possible approach to provide basic video composition operations on Android and\n Chrome OS including: multiplexing 4 video streams, rotation/transparency/colour filter effects,\n with export to a mp4 file.\n * Provide a base for testing media decoding/muxing/encoding performance with various file sizes and\n types\n\nThe video composition sample decodes 4 video streams, applies optional effects to each one -\nrotation, transparency, scaling, colour filters, speed up, slow down - combines them in a realtime\npreview. An export option for the composition is also provided.\n\n\u003cimg alt=\"Screenshot of Video Composition Sample\" src=\"https://github.com/chromeos/video-composition-sample/blob/main/docs/VideoCompositionSampleScreenshot.jpg\" /\u003e\n\n### Notes/Caveats\n * Effects are configured in MediaCompositionConfig.kt by setting a list of TrackEffects with start\n and duration and effect parameters.\n * Currently video clips are assumed to have a framerate set. Clips without a framerate will cause\n a crash on decode.\n * The media files included with this project are large (~600mb in total). To checkout this repo\n please use: [git-lfs](https://git-lfs.github.com/). Install git-lfs then run `git lfs install`.\n\n## LICENSE\n***\n\nCopyright 2021 Google LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromeos%2Fvideo-composition-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchromeos%2Fvideo-composition-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromeos%2Fvideo-composition-sample/lists"}