-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Slow scrubbing issue in exoplayer. #9850
Comments
Please provide more information about exactly what you're doing and what you expect to see.
When you call The title of your issue mentions 'scrubbing', but it's not mentioned in the issue text. Are you trying to update the currently visible frame while the user is still dragging the time bar around? In that case you will see delays whenever you try and display a non-keyframe, because the decoder has to first decode the preceding keyframe and all intermediate frames before it can decode the target frame. If your content is HLS or DASH you may wish to look into 'trick play', which is a dedicated video track that only contains keyframes (at low frame rate) and can be used to more quickly render representative frames when scrubbing or fast-forwarding through content. |
Hey Thanks for replying |
You can try calling Depending on how frequent the key frames are in your content, and how sensitive you are to inaccurate seeking, you may want to only do this when scrubbing (and revert back to 'exact' seeking in other cases). |
Actually even after trying all the seekparameters I am not getting the required output.It is not smooth enough the frames still take time to reflect.So can you suggest any different approach for acheiving this frame by frame kind of thing. |
There is also some guidance for the same issue in #6794 (comment). (Replace the part about And we have an open feature request to automatically adapt the player logic to scrubbing/trick play: #7171 |
I'm going to close this because I don't think there's anything further to add beyond the references that Toni has linked to. |
I am having problem when I am trying to seek through the video in exoplayer. It does not update immediately in the player view. It takes some time to decode the current frame. So when I am seeking the video I can't see the frames in between. Any help or suggestion is appreciated.
The text was updated successfully, but these errors were encountered: