llelectronics / videoPlayer

Video player for sailfish os
27 stars 19 forks source link

Make video buffer visible #41

Open Pohli opened 5 years ago

Pohli commented 5 years ago

Can you show the buffered data in the timeline like many other players do? I often have to pause playback of streaming videos to fill the buffer to have a flawless playback. But I can't see how much of the video is currently buffered.

llelectronics commented 5 years ago

It is set to start playback when the buffer is full. So showing the data will not really help. I can only show the buffer that gstreamer uses and don't have any information on how much is buffered of a whole video.

Pohli commented 5 years ago

Then there's no need to change anything I think. Do you know how much GStreamer buffers? Is it a fixed value or does it depend on something like resolution, source etc.?

llelectronics commented 5 years ago

I think there is a fixed value set in gstreamer that uses percentages. See the gstreamer code.