Bug 272788 - [GStreamer] Does not play sound correctly when using some video players
Summary: [GStreamer] Does not play sound correctly when using some video players
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-16 15:57 PDT by Aleksandr Shamaraev
Modified: 2024-04-17 05:33 PDT (History)
3 users (show)

See Also:


Attachments
gts (900.51 KB, text/x-log)
2024-04-16 16:36 PDT, Aleksandr Shamaraev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Shamaraev 2024-04-16 15:57:32 PDT
Hello.

When playing video from some platforms, the audio track does not work correctly (clicks, crackling, voice). There is sound, but the words are unintelligible, and the sound itself is not entirely correct.

For example, there is a problem when playing a video
https://rutube.ru/video/aef32c5e5ec079e8a2dc3587b0c493e3/

But if, for example, you watch YouTube, then there are generally no problems with voice and sound.

There are also problems with sound in other video players on the Internet.

Unfortunately, I don’t know what could be the reason.
At first I thought that the problem was related to the Epiphany package and created a report there

https://gitlab.gnome.org/GNOME/epiphany/-/issues/2315

But from there I was redirected to you.

Computer stand 1:
:
OS: ALT Regular Sisyphus x86_64
Kernel: 6.6.26-un-def-alt1
DE: GNOME 46.0
CPU: 12th Gen Intel i5-12450H (12) @ 2.496GHz
GPU: 00:01.0 Red Hat, Inc. Virtio 1.0 GPU
physical graphics
GPU: NVIDIA GeForce RTX 4050 Max-Q / Mobile
GPU: Intel Alder Lake-P GT1 [UHD Graphics]

Computer stand 2:
:
OS: ALT Regular Sisyphus x86_64
Kernel: 6.1.86-std-def-alt1
DE: GNOME 46.0 
CPU: Intel Celeron N4020C (2) @ 2.800GHz
GPU: Intel GeminiLake [UHD Graphics 600]
Comment 1 Michael Catanzaro 2024-04-16 16:06:06 PDT
This is Epiphany Tech Preview, right?

You might be requested to provide multimedia debug logs. To save time, you can proactively attach them now. Follow the instructions "Gathering Logs" and "Flatpak apps" here: https://docs.webkit.org/Ports/WebKitGTK%20and%20WPE%20WebKit/Multimedia.html
Comment 2 Aleksandr Shamaraev 2024-04-16 16:36:15 PDT
Created attachment 470949 [details]
gts

Hello 
Created a log using MiniBrowser

In MiniBrowser the situation is the same as in Epiphany
Comment 3 Aleksandr Shamaraev 2024-04-17 01:26:41 PDT
(In reply to Michael Catanzaro from comment #1)
> This is Epiphany Tech Preview, right?
> 

Hello.

No, Epiphany release.

$ epiphany --version
Web 46.0

But when I wrote a report in Gnome, I collected the package on my computer and checked it.

Epiphany 46.0-32-g650105b3

Everywhere the result is the same with sound.
Comment 4 Philippe Normand 2024-04-17 03:38:54 PDT
The audio decoder used in your pipeline is avdec_aac, known for various issues.

Please install the gstreamer fdk-aac plugin.
Comment 5 Aleksandr Shamaraev 2024-04-17 05:08:21 PDT
(In reply to Philippe Normand from comment #4)
> The audio decoder used in your pipeline is avdec_aac, known for various
> issues.
> 
> Please install the gstreamer fdk-aac plugin.

Hello!
Thanks a lot.
Everything worked.
Comment 6 Michael Catanzaro 2024-04-17 05:33:27 PDT
Can we make WebKit refuse to use avdec_aac instead of just misbehaving?