DEV Community

Cover image for I would like to get comments on Adaptive Playback Speed, which I developed to reduce video freezes.
Ahmet İlhan
Ahmet İlhan

Posted on

I would like to get comments on Adaptive Playback Speed, which I developed to reduce video freezes.

Greetings everyone, I would like to get your comments about the video player that will work with the Adaptive Streaming and Adaptive Playback Speed ​​approaches I am working on.

The video player I mentioned slows down the buffer flow in the video buffer zone when the internet speed is low and increases the time until new video frames arrive.

For example, let's say the length of the video a user is watching is 24 seconds. Since the user's internet speed is low, only 12 seconds of video data (buffer) in total can be downloaded in 24 seconds. We can reduce the freezing time of the video watched by this user as follows: The user started the video and reached the 8th second (it has not frozen yet). From this point on, if we reduce the speed of the video from 1x to 0.8x, it will freeze in the 13th second, although it should normally freeze in the 12th second. The 4 seconds between seconds 8 and 12 will be followed by 5 seconds. In this scenario, 1 second may seem like a small difference, but if we consider that a movie is 120 minutes on average, it makes 7200 seconds in total. This takes 10 minutes. In other words, the user will watch the movie with 10 minutes less freezing in total. Since the process of slowing down the segment flow I mentioned will only occur in the buffer area of ​​the video, when the user notices the slowdown, the video will return to 1x speed.

Repo: https://github.com/ahmetilhn/savior-video-player

Development continues

Top comments (0)