google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.73k stars 6.03k forks source link

video processing #10957

Closed ArshakManukyan closed 1 year ago

ArshakManukyan commented 1 year ago

Hi. I want to ask a question regarding video processing.

Is there any way for decoding two videos at some time?

The use case is simple: Imagine you have a video and you want to add overlay video.

I couldn't find the answer to this.

Thanks.

andrewlewis commented 1 year ago

Is there any way for decoding two videos at some time? The use case is simple: Imagine you have a video and you want to add overlay video.

The short answer is that there isn't an easy way to do this at the moment.

Doing all this customization is a lot of work. Later this year we expect to have more components available to make it easier, for example, we are currently working on adding ExoPlayer.setVideoEffects (that method will take what are basically factories for GL shader programs to apply to each video frame), then at some point we expect to have support for compositing multiple videos together.