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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay