html5 video not buffering ahead Topic is solved

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
h3po4

html5 video not buffering ahead

Unread post by h3po4 » 2017-01-08, 14:36

For a couple of weeks now (I think since v27.0.1) html5 video has not been working properly on my two arch linux systems. When I saw this changelog for 27.0.3 I thought it might've been fixed, but the problem persiststs:

Code: Select all

Fixed an error in the buffer logic in http-chunked decoder.
Video plays back fine, but it does not buffer ahead of time. The total video length counts upwards in sync with the current playback time and it is not possible to skip ahead; doing so either restarts the video from the beginning or skips to the end. Seeking backwards works. This happens for me on all Youtube videos and also all sites using jwplayer. The only site I found where it works properly is ZDF Mediathek (https://www.zdf.de/)
Here's an example screenshot of a 3+ Minute youtube video showing 1s as the total time right after starting the playback:
Screenshot from 2017-01-08 15-32-56.png
https://www.youtube.com/watch?v=x0mS5rS9O0g

Code: Select all

uname -a
Linux daenerys 4.8.11-1-ARCH #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 x86_64 GNU/Linux

pacman -Q gstreamer gst-plugins-good gst-libav 
gstreamer 1.10.2-1
gst-plugins-good 1.10.2-1
gst-libav 1.10.2-1
If anyone could suggest sites using different players I'd be happy to try them out and report back if it works there.

troypulk

Re: html5 video not buffering ahead

Unread post by troypulk » 2017-01-08, 16:48

I'm using:

Code: Select all

Linux solydx 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 (2016-12-02) x86_64 GNU/Linux With PM 27.0.3 (x64)

Code: Select all

$ dpkg -l *gstreamer* | grep ii
ii  gstreamer1.0-alsa:amd64               1.10.2-1     amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-clutter-3.0              3.0.22-1     amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-libav:amd64              1.10.2-1     amd64        libav plugin for GStreamer
ii  gstreamer1.0-nice:amd64               0.1.13-2     amd64        ICE library (GStreamer plugin)
ii  gstreamer1.0-plugins-bad:amd64        1.10.2-1     amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64       1.10.2-1     amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64       1.10.2-1     amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64       1.10.2-1     amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64         1.10.2-1     amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-x:amd64                  1.10.2-1     amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad1.0-0:amd64   1.10.2-1     amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64  1.10.2-1     amd64        GStreamer libraries from the "base" set
ii  libgstreamer1.0-0:amd64               1.10.2-1     amd64        Core GStreamer libraries and elements
ii  libreoffice-avmedia-backend-gstreamer 1:5.2.4-2    amd64        GStreamer backend for LibreOffice
This video works just fine, it buffers in play and paused and I can skip ahead and back.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1741
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: html5 video not buffering ahead

Unread post by trava90 » 2017-01-08, 22:38

It's a known issue with GStreamer 1.10. This will no longer be an issue in our next release as we will be using FFmpeg directly instead of GStreamer for H.264 video.

lazarus2

Re: html5 video not buffering ahead

Unread post by lazarus2 » 2017-01-13, 08:55

h3po4 wrote:For a couple of weeks now (I think since v27.0.1) html5 video has not been working properly on my two arch linux systems.
Problem present in the version 1.95 also. Try to downgrade gstreamer1 to version 1.8.3, as workaround.

For my fc25 I took rpm-s from fc24. It helped me.

Code: Select all

# rpm -qa | grep ^gstreamer1 | sort
gstreamer1-1.8.3-1.fc24.x86_64
gstreamer1-libav-1.10.2-1.fc25.x86_64
gstreamer1-plugins-bad-free-1.8.3-3.fc24.x86_64
gstreamer1-plugins-base-1.8.3-2.fc24.x86_64
gstreamer1-plugins-base-tools-1.8.3-2.fc24.x86_64
gstreamer1-plugins-good-1.8.3-2.fc24.x86_64
gstreamer1-plugins-good-extras-1.8.3-2.fc24.x86_64
gstreamer1-vaapi-1.8.3-1.fc24.x86_64

Locked