Bug 200232 - [GStreamer] gyfcat videos no longer play reliably
Summary: [GStreamer] gyfcat videos no longer play reliably
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-29 11:40 PDT by Michael Catanzaro
Modified: 2020-05-13 10:57 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2019-07-29 11:40:04 PDT
gyfcat videos no longer play reliably, e.g.:

https://gfycat.com/ashamedbruisedharrierhawk-3400248896655647

Sometimes it works and sometimes it just never starts playing. If it does play, it might stop after one iteration instead of loop as it's supposed to. This website used to work until a couple months ago. Not sure if it's a server change or something on our end.

And when opening the video in a new tab:

https://giant.gfycat.com/AshamedBruisedHarrierhawk.webm

I only see a black view with no media controls.
Comment 1 Philippe Normand 2019-07-30 02:41:16 PDT
(In reply to Michael Catanzaro from comment #0)

> And when opening the video in a new tab:
> 
> https://giant.gfycat.com/AshamedBruisedHarrierhawk.webm
> 
> I only see a black view with no media controls.

Did you test this with Ephy TP or MiniBrowser from trunk?
Here with the latter it works as expected.
Comment 2 Michael Catanzaro 2019-07-30 08:31:46 PDT
Ephy TP
Comment 3 Michael Catanzaro 2019-11-07 07:29:03 PST
(In reply to Michael Catanzaro from comment #0)
> I only see a black view with no media controls.

Nowadays the media controls are fixed but the video itself is still broken.
Comment 4 Philippe Normand 2020-05-13 05:17:58 PDT
(In reply to Michael Catanzaro from comment #0)
> gyfcat videos no longer play reliably, e.g.:
> 
> https://gfycat.com/ashamedbruisedharrierhawk-3400248896655647
> 
> Sometimes it works and sometimes it just never starts playing. If it does
> play, it might stop after one iteration instead of loop as it's supposed to.
> This website used to work until a couple months ago. Not sure if it's a
> server change or something on our end.
> 

Works fine here in Ephy TP.

> And when opening the video in a new tab:
> 
> https://giant.gfycat.com/AshamedBruisedHarrierhawk.webm
> 
> I only see a black view with no media controls.

This is bug 183259
Comment 5 Michael Catanzaro 2020-05-13 06:02:29 PDT
(In reply to Philippe Normand from comment #4) 
> Works fine here in Ephy TP.

WTF, how can we get different results with the exact same software? :S I hate these bugs. In my Ephy TP, the video is effectively an image.

$ flatpak info org.gnome.Epiphany.Devel//master

GNOME Web - Web browser for GNOME

          ID: org.gnome.Epiphany.Devel
         Ref: app/org.gnome.Epiphany.Devel/x86_64/master
        Arch: x86_64
      Branch: master
     Version: 3.37.1
     License: GPL-3.0+
      Origin: gnome-nightly
  Collection: org.gnome.Nightly
Installation: user
   Installed: 17.3 MB
     Runtime: org.gnome.Platform/x86_64/master
         Sdk: org.gnome.Sdk/x86_64/master

      Commit: e3d5cfd3fc94f537db3384eba7ff1bac9a1a5c8d3771103e2634010f8129dad7
      Parent: 223888963096e6cfa16c897ef9ff14215cb4bcf34e06d472548044175a7e5333
     Subject: Export org.gnome.Epiphany.Devel
        Date: 2020-05-13 01:25:03 +0000

$ flatpak info org.gnome.Platform//master

GNOME Application Platform version master - Shared libraries used by GNOME
applications

          ID: org.gnome.Platform
         Ref: runtime/org.gnome.Platform/x86_64/master
        Arch: x86_64
      Branch: master
     License: GPL-2.0+
      Origin: gnome-nightly
  Collection: org.gnome.Nightly
Installation: user
   Installed: 991.2 MB

      Commit: 875d5e4189777c0909033775c2b5b6ec62aeb828c5c125c65c746fca3f5aa589
      Parent: bb0e346c480be4931e99346049b2a15f7f60fbff572e312eb648572ba6e834f8
     Subject: Export org.gnome.Platform
        Date: 2020-05-13 12:23:43 +0000

$ flatpak info org.freedesktop.Platform.openh264 
          ID: org.freedesktop.Platform.openh264
         Ref: runtime/org.freedesktop.Platform.openh264/x86_64/2.0
        Arch: x86_64
      Branch: 2.0
      Origin: gnome-nightly
  Collection: org.gnome.Nightly
Installation: user
   Installed: 780.3 kB

      Commit: 8005018ea5fa01694c51cca92017ae1d2f78a2a1b1e4aec3b155b03da7af3281
      Parent: 3ab5f69296c28794caa1c763525d6ecea0eacadb58358c655ac94ed1ef97bea5
     Subject: Export org.freedesktop.Platform.openh264
        Date: 2020-05-13 12:26:30 +0000

I notice the video has both webm and mp4 video sources. (Note that mp4 is currently broken in TP due to https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/277.)

<video class="video media __WebInspectorHideElement__" id="video-ashamedbruisedharrierhawk" alt="Facebook video 3400248896655647 trending roller coaster GIF" height="640" width="640" autoplay="" playsinline="" preload="auto" poster="https://thumbs.gfycat.com/AshamedBruisedHarrierhawk-mobile.jpg" tabindex="-1" style="max-width: 640px; margin: 0px auto; display: block;"><source src="https://thumbs.gfycat.com/AshamedBruisedHarrierhawk-mobile.mp4" type="video/mp4"><source src="https://giant.gfycat.com/AshamedBruisedHarrierhawk.webm" type="video/webm"><source src="https://giant.gfycat.com/AshamedBruisedHarrierhawk.mp4" type="video/mp4"><source src="https://thumbs.gfycat.com/AshamedBruisedHarrierhawk-mobile.mp4" type="video/mp4"></video>

> This is bug 183259

Ah... that bug. :/
Comment 6 Philippe Normand 2020-05-13 06:24:00 PDT
flatpak info org.gnome.Epiphany.Devel//master

GNOME Web - Web browser for GNOME

           ID: org.gnome.Epiphany.Devel
          Ref: app/org.gnome.Epiphany.Devel/x86_64/master
         Arch: x86_64
       Branch: master
      Version: 3.37.1
      License: GPL-3.0+
       Origin: gnome-nightly
   Collection: org.gnome.Nightly
 Installation: user
    Installed: 17.3 MB
      Runtime: org.gnome.Platform/x86_64/master
          Sdk: org.gnome.Sdk/x86_64/master

Active commit: 99af295fc1e3fedff916f0b035b905c5aee582e6cb18b170cb06cd332fa00710
Latest commit: 409ad9f834b3aedf18466423838e6969b9ab2f47192d69091ac7170f45cdefb5
       Parent: 6e964275a109e170be06190677e18a5ac979511d863d966ac5d643e3fab620ad
      Subject: Export org.gnome.Epiphany.Devel
         Date: 2020-05-03 16:29:24 +0000

flatpak info org.gnome.Platform//master

GNOME Application Platform version master - Shared libraries used by GNOME
applications

           ID: org.gnome.Platform
          Ref: runtime/org.gnome.Platform/x86_64/master
         Arch: x86_64
       Branch: master
      License: GPL-2.0+
       Origin: gnome-nightly
   Collection: org.gnome.Nightly
 Installation: user
    Installed: 995.5 MB

Active commit: 84a7df69a27ad79e56b68c31c002bbdd9cc44a22a752f677b6563edd095f4ee3
Latest commit: 9dae3450673456903540116ab52f207bd29442a863d45880f9d43ac3cc0d5e8d
       Parent: b1535f3ad797b0d8005b1b470aef5641287c9787d2c6bb4d33cb701982e21fb0
      Subject: Export org.gnome.Platform
         Date: 2020-05-03 17:57:20 +0000

flatpak info org.freedesktop.Platform.openh264 
error: Multiple branches available for org.freedesktop.Platform.openh264, you must specify one of: org.freedesktop.Platform.openh264//19.08, org.freedesktop.Platform.openh264//2.0, org.freedesktop.Platform.openh264//2.0beta

I think I'm not up-to-date?
Comment 7 Philippe Normand 2020-05-13 06:53:30 PDT
OK I updated my flatpaks and now this gfycat is broken indeed.
Comment 8 Michael Catanzaro 2020-05-13 10:57:21 PDT
OK, the video plays in my system Ephy. The original bug must have been fixed at some point in the past, and now we're just seeing https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/277. Let's close this.