Bug 249911 - [GStreamer] YouTube video doesn't display next frame but audio progresses.
Summary: [GStreamer] YouTube video doesn't display next frame but audio progresses.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-27 07:39 PST by kallamtarun5
Modified: 2023-01-10 09:21 PST (History)
3 users (show)

See Also:


Attachments
Contains a video showing the bug and a log file (2.95 MB, application/zip)
2022-12-27 07:39 PST, kallamtarun5
no flags Details
The verbose ouptus of the commands before and after using --use-playbin3 option. (91.91 KB, text/plain)
2022-12-30 01:51 PST, kallamtarun5
no flags Details
A video recording of the rendering by OpenGL. (8.94 MB, video/x-matroska)
2022-12-30 21:00 PST, kallamtarun5
no flags Details
Verbose outputs of the gst commands before and after --use-playbin3 option. (101.54 KB, text/plain)
2023-01-01 05:20 PST, kallamtarun5
no flags Details
Commands supplied to flatpak and the output of those commands (1.40 KB, text/plain)
2023-01-02 08:26 PST, kallamtarun5
no flags Details
The problem seems to be partially fixed (72.72 MB, video/x-matroska)
2023-01-05 04:22 PST, kallamtarun5
no flags Details
Here is the log. (904.78 KB, text/x-log)
2023-01-09 23:21 PST, kallamtarun5
no flags Details
Here is the second log (2.21 MB, text/x-log)
2023-01-10 09:21 PST, kallamtarun5
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kallamtarun5 2022-12-27 07:39:29 PST
Created attachment 464227 [details]
Contains a video showing the bug and a log file

Overview: YouTube video dosen't display the next frame.

Steps to Reproduce: This is has been happening with any YouTube video I watch using Epiphany as of late.

Actual Results: Plays the video and audio when playing it after replaying after reloading the page. If I scroll to the scrollbar and click at a certain point in the video, it stays at the frame but audio progresses.

Expected Results: Play the video as it how it would play normally with the problem absent.

Build Date and Hardware: 2022-12-22 on PC.

Additional Builds and Platforms: Video plays without any problem on Firefox 108.0.1 on Linux.
Comment 1 Philippe Normand 2022-12-28 05:03:59 PST
Video looks frozen likely because of an issue with your nvidia vp9 decoder.

Can you check if this video plays with a standalone GStreamer player?

gst-play-1.0 -v https://test-videos.co.uk/vids/bigbuckbunny/webm/vp9/1080/Big_Buck_Bunny_1080_10s_1MB.webm


Please also try with the --use-playbin3 option.
Comment 2 kallamtarun5 2022-12-30 01:51:19 PST
Created attachment 464257 [details]
The verbose ouptus of the commands before and after using --use-playbin3 option.
Comment 3 kallamtarun5 2022-12-30 01:52:01 PST
Comment on attachment 464257 [details]
The verbose ouptus of the commands before and after using --use-playbin3 option.

Well, it plays without any problems.
Comment 4 Philippe Normand 2022-12-30 02:25:02 PST
Yes but in this case the selected video sink is not rendering GL textures. Can you try the gst-play commands with --videosink glimagesink ?
Comment 5 kallamtarun5 2022-12-30 21:00:34 PST
Created attachment 464266 [details]
A video recording of the rendering by OpenGL.

It does play without any problems
Comment 7 kallamtarun5 2023-01-01 05:20:23 PST
Created attachment 464281 [details]
Verbose outputs of the gst commands before and after --use-playbin3 option.
Comment 8 kallamtarun5 2023-01-01 05:27:29 PST
Gstreamer version : 1.20.5.
GPU hardware: NVIDIA GTX 1660. Driver version: 525.60.11.
I was using the flatpak version of Epiphany so I don't know which Gstreamer plugins were installed as dependencies for the browser
Comment 9 Philippe Normand 2023-01-01 05:28:42 PST
The logs I need are for the Ephy runtime, not gst-play.

GST_DEBUG=... GST_DEBUG_FILE=... epiphany ...
Comment 10 kallamtarun5 2023-01-02 08:26:58 PST
Created attachment 464290 [details]
Commands supplied to flatpak and the output of those commands

The commands supplied to flatpak and the ouputs of those commands are in the file.
Comment 11 kallamtarun5 2023-01-02 08:33:49 PST
If I include the browser tag, it gives me this output:
bash: browser: No such file or directory
Comment 12 Philippe Normand 2023-01-02 09:44:02 PST
Type this:

flatpak run --env="GST_DEBUG=3,webkit*:6" --env="GST_DEBUG_FILE=gst.log" --filesystem=home   --user org.gnome.Epiphany.Devel
Comment 13 kallamtarun5 2023-01-05 04:05:10 PST
flatpak run --env="GST_DEBUG=3,webkit*:6" --env="GST_DEBUG_FILE=gst.log" --filesystem=home   --user org.gnome.Epiphany.Devel
error: app/org.gnome.Epiphany.Devel/x86_64/master not installed
[tarun@ktkr-ms7b89 ~]$ flatpak install org.gnome.Epiphany.Devel
Looking for matches…
error: No remote refs found for ‘org.gnome.Epiphany.Devel’
Comment 14 kallamtarun5 2023-01-05 04:05:48 PST
I forgot to mention it. I run an OS based on arch linux.
Comment 15 Philippe Normand 2023-01-05 04:15:56 PST
I don't know which flavor of Ephy you installed. You can check with flatpak list and adapt the command line accordingly.
Comment 16 kallamtarun5 2023-01-05 04:22:06 PST
Created attachment 464345 [details]
The problem seems to be partially fixed
Comment 17 Philippe Normand 2023-01-05 04:27:10 PST
Partially?

What's failing now? I can't help if you don't provide the logs.
Comment 18 kallamtarun5 2023-01-05 05:10:17 PST
I am not able to get any logs.
The command: flatpak run org.gnome.Epiphany --env="GST_DEBUG=3,webkit*:6" --env="GST_DEBUG_FILE=gst.log" --filesystem=home   --user org.gnome.Epiphany.
The output: Failed to parse arguments: Unknown option --env=GST_DEBUG=3,webkit*:6
Comment 19 Philippe Normand 2023-01-05 05:59:24 PST
You typed the app name twice in that command... why?
Comment 20 Michael Catanzaro 2023-01-05 07:24:35 PST
You're passing the --env arguments to Epiphany rather than to flatpak. That won't work. Try:

$ flatpak run --env="GST_DEBUG=3,webkit*:6" --env="GST_DEBUG_FILE=gst.log" --filesystem=home --user org.gnome.Epiphany

which is what Phil originally suggested, except with org.gnome.Epiphany instead of org.gnome.Epiphany.Devel. That will work if you've installed Epiphany in your user installation. If you've installed it system-wide, then use:

$ flatpak run --env="GST_DEBUG=3,webkit*:6" --env="GST_DEBUG_FILE=gst.log" --filesystem=home org.gnome.Epiphany
Comment 21 kallamtarun5 2023-01-05 22:47:57 PST
(In reply to Philippe Normand from comment #19)
> You typed the app name twice in that command... why?

Because I understood it to be that it would be a user of that application at and this was the case when i tried the command:
error: app/org.gnome.Epiphany.Devel/x86_64/master not installed.
Comment 22 kallamtarun5 2023-01-05 23:03:32 PST
The command worked. In which directory will the logs be stored in?
Comment 23 kallamtarun5 2023-01-09 23:21:51 PST
Created attachment 464439 [details]
Here is the log.
Comment 24 Philippe Normand 2023-01-10 04:20:46 PST
Can you add this to GST_DEBUG and provide another log file? Thanks!

"videodecoder:8,nvdec:8"
Comment 25 kallamtarun5 2023-01-10 09:21:02 PST
Created attachment 464443 [details]
Here is the second log