Example of how to mimic the iOS equivalent of AVAssetWriterInput and CISourceOverCompositing

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

Start by reviewing the existing media-samples and the Android MediaRecorder capabilities relevant to the requested workflow. Compare the iOS AVAssetWriterInput and CISourceOverCompositing approach described here with available Android media APIs; done means a sample clearly demonstrates adding an overlay or watermark to recorded video.

Written by the indexing model from the issue text.

Description

In iOS, one can take a sample buffer, modify it with CISourceOverCompositing and then use the result to feed AVAssetWriterInput.

That allows them to easily do things like add overlays to video. Since such functionality still does not exist in the MediaRecorder, an example of how to do this with what exists today would be very beneficial (just do a Google search on Android Video Watermark/Overlay/etc....it's a commonly requested topic with no good answers).

Dominant language
Kotlin
Stars
1.4k
Forks
777
Avg merge
1m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/media-samples

All issues in android/media-samples

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.