-
Notifications
You must be signed in to change notification settings - Fork 407
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
Blank/Slow Frame Render for videos (Shortform Demo) #1853
Comments
Alongside i have another follow up question in reference to |
Hi @prateek54, Thanks for reporting!
In the shortform app, we use a pool of three players by default. This is because that even we have preloaded the media samples separately already, it still takes time to get the renderer ready and decode the some amount of the samples until the first frame displays. For the followup question about the status:
These status are progressive according to the above ordering. So basically you can set the status for each media sources based on their distance to the current playing one - the closer it is to the current playing source, then the more "ready" it should be. For the extra value coming with And as for
I haven't got a concrete idea, but there is probably some issue with the coordination within the player pool. Will take a look. |
Sure @tianyif |
Unfortunately we can't answer all questions. Unclear questions or questions with
insufficient information may not get attention.
Before filing a question:
https://github.com/androidx/media/issues?q=is%3Aissue
the ExoPlayer tracker:
https://github.com/google/ExoPlayer/issues?q=is%3Aissue
When filing a question:
Describe your question in detail.
I've been trying to implement functionality similar to the Shortform app, but encountered an issue during video transitions. While my implementation is based on a single player with a "Next" button, I noticed two main issues:
I'm attaching recordings of both the Shortform app issue and my implementation for reference.
Could you help me identify possible causes for the render delays in my implementation, and why it performs slower compared to the demo app? Additionally, I’d appreciate insights into the primary issues faced in the Shortform demo app as well.
In case your question refers to a problem you are seeing in your app:
$ adb bugreport
in the consoleIn case your question is related to a piece of media:
URI to test content
For protected content:
Don't forget to check ExoPlayer's supported formats and devices, if applicable
(https://developer.android.com/guide/topics/media/exoplayer/supported-formats).
If there's something you don't want to post publicly, please submit the issue,
then email the link/bug report to [email protected] using a
subject in the format "Issue #1234", where #1234 is your issue number (we don't
reply to emails).
The text was updated successfully, but these errors were encountered: