Skip to content

Add a demo showing how to process video frames using GL before presenting them #6920

@msilva-verimatrix

Description

@msilva-verimatrix

Good afternoon,
What would be the recommended way to extract video frames from ExoPlayer during the playback of a network url, edit the frames (to apply YUV filtering, effects or watermarking) and provide the updated frames to the player? Is it intercepting MediaCodec.queueInputBuffer() the way to go? The related ByteBuffer seems to aggregate raw video frames, but how to iterate through these frames?
Can you provide a code snippet or point to an example?
Warm regards,

Moacir Silva

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions