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

playback speed limit upt0 10x. #837

Open
zohaibmushwani opened this issue Nov 6, 2023 · 2 comments
Open

playback speed limit upt0 10x. #837

zohaibmushwani opened this issue Nov 6, 2023 · 2 comments

Comments

@zohaibmushwani
Copy link

Hi, I tried to speed up the video using this library it has a limit of max of 6.0x I need 10x speed is this possible to increase the limit?

I am developing the front end for slow-motion curve view module in android, the video needs to be played segment by segment, and the change of speed will occur after the time taken by the segment in their associated speed.
if any alternative solution anyone can suggest.
Thanks in advance
also when I try to change the speed of video after some segments somehow 4.5x speed it does not change speed for more segments.
and tried the first segments to increase the speed that case it git the speed at initial state the further change was refused.

how frequently we can change the speed and how can we increase the speed limit from 0.1x to 10x.

@zohaibmushwani
Copy link
Author

I saw your video player playback speed is working around 6x but after changing the speed the seek bar is not synchronized according to the video I changed the speed of the video in runtime the 20-second current time from 20-24 seconds is changing but the seek bar in (VodControlView) is reached to end before the video ends.

@litianjun05090
Copy link

I saw your video player playback speed is working around 6x but after changing the speed the seek bar is not synchronized according to the video I changed the speed of the video in runtime the 20-second current time from 20-24 seconds is changing but the seek bar in (VodControlView) is reached to end before the video ends.

If you are using Exo , you could consider disbale the audio , just keep the video track. Then you can set the speed up to 10x.

code snippet:
player.setTrackSelectionParameters( player.getTrackSelectionParameters() .buildUpon() .setTrackTypeDisabled(C.TRACK_TYPE_AUDIO, /* disabled= */ true) .build());

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

No branches or pull requests

2 participants