| Summary: | [GStreamer] Video playback is highly unreliable, slow, and buggy | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | tri.voxel |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Major | CC: | bugs-noreply, erusan, mcatanzaro, philn |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
tri.voxel
2022-09-29 15:13:20 PDT
Please, only one issue per bug report. Pick just one to focus on here and report separate issues for the others. You are in the right place, though. ;) Update: this bug only focuses on the following issue: System: Operating System: Fedora 36 (with Gnome on Wayland) CPU: AMD Ryzen 7 3700X GPU: AMD Radeon RX 5700 XT Gnome Web version: 42.2 WebKitGTK version: 2.38.0 I used a popular WebKitGTK browser known as Gnome Web (formerly Epiphany) as my primary browser for several months. Besides some occasional performance hitches, it has been a good experience. That is, however, ignoring the glaring issue of video playback. I've noticed a number of issues with video playback including but not limited to using the H.264, VP9, and AV1 codecs. A good example is YouTube. In YouTube, you have a choice of playback between AV1 and VP9 by going to https://www.youtube.com/account_playback and setting the "AV1 Setting" to "Always prefer AV1". This will make certain 4K video playback run at an unacceptable framerate, especially unacceptable when you consider my computer is a high spec gaming computer. Here is an example of an AV1 video that runs fine in VP9 mode at 4K, and poorly in AV1 mode in 4K: https://youtu.be/VnBYQrPacqg Note: It seems that some but not all content on YouTube now supports the AV1 codec, but other videos will not. The codec of the video can be determined by right clicking the video and selecting "stats for nerds." As AV1 is likely to become the dominant streaming codec in the future, I am hopeful this performance is resolved. Note to developers: gstreamer-plugins-rust is not used in any distro, and it's not used by GNOME upstream or Ephy Tech Preview either. The AV1 decoder from there might be the greatest thing ever, but doesn't matter if it's not used.... Does your GPU supports AV1 hw decoding? AV1 decoding in software, in 4K, is not going to be very smooth I'm afraid. Not sure there's an actionable item for us here. How's the 4K AV1 playback with gst-play-1.0 --videosink glimagesink ? (In reply to Michael Catanzaro from comment #3) > Note to developers: gstreamer-plugins-rust is not used in any distro, and > it's not used by GNOME upstream or Ephy Tech Preview either. The AV1 decoder > from there might be the greatest thing ever, but doesn't matter if it's not > used.... FYI, the Rust AV1 decoder is not the only implementation. There is an AOM implementation in C too, in -bad. Might be worth a try... Also nowadays if your Intel GPU supports AV1 decoding, I think a vaav1dec element is available at runtime, in gst git main anyway. Hi, can you answer Phil's question please? Thanks. I'm not sure what happened to the other reporter, but I too am having various playback issues on both YouTube and Odysee after some recent update. Running Debian testing with WebkitGtk 2.38.1 and Web 43.0 My processor (Core i5-8300H) does not support hardwave AV1 decoding. Issues including things like Odysee (at least when a speed besides 1x is selected) will play rapidly through the video stream, while the audio is not in sync with it, and the video still stop once the video portion ends. (This is not replicated every time.) Videos pausing after a short time, sometimes playable if I skip ahead, sometimes not playable at all after the pause. YouTube videos delaying at start-up, moving backwards often causing the video to simply freeze, or to freeze and then reload the video after some time, and other such strange behavior. Please provide logs. GST_DEBUG="3,webkit*:6" GST_DEBUG_FILE=/tmp/gst.log GST_DEBUG_DUMP_DOT_DIR=/tmp <browser> "https://..." Make sure the browser has write-access to wherever you want to store the log file. Then compress gst.log and attach it here. I can't reproduce this Odysee issue in Ephy Web Tech Preview. Do the logs uploaded to https://bugs.webkit.org/show_bug.cgi?id=245852 work? (In reply to erusan from comment #10) > Do the logs uploaded to https://bugs.webkit.org/show_bug.cgi?id=245852 work? No. :( And let's close this bug, there's no actionable point here. |