Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the decoded picture frame data (Yuv) from the decoder? #1760

Open
Monaco12138 opened this issue Sep 26, 2024 · 1 comment
Open

Comments

@Monaco12138
Copy link

Hi everyone,
I am new to use ExoPlayer. I want to develop based on ExoPlayer and integrate some TFLite models to process video frames and display them. So far, I have been using ffmpeg to pull the stream, converting the avframe data into a bitmap and then processing it in tflite. Since using ffmpeg, I can get the decoded frame data in AVFrame->data, I just need to convert this data into RGB bitmaps that can be processed by TFLite. I wonder if it's possible to do this in ExoPlayer.
Looking forward to everyone's reply.

@droid-girl
Copy link
Contributor

Hi @Monaco12138 , there is a closed issue #1422 that has a lot of information you are looking for.
Also you can check this sample for integration details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants