FS#74741 - Videos don't play in web browser

Attached to Project: Arch Linux
Opened by Antoni (antoyo) - Saturday, 14 May 2022, 17:28 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 July 2022, 09:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Since a few days, videos won't play in web browsers (I tried Firefox, Chrome and Epiphany).
The videos will just hang.
Firefox shows errors like:

[2022-05-14T17:19:04Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"

It might be related to using an AMD GPU since I don't get this issue with my computers using an Intel GPU.

The video plays fine in `mpv`, though.

Additional info:
* package version(s): Firefox 100

Steps to reproduce:

Try to watch this video (in Firefox or Chrome): https://www.youtube.com/watch?v=DPLnBPM4DhI and it will not start playing.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 27 July 2022, 09:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by soloturn (soloturn) - Sunday, 15 May 2022, 19:59 GMT
for me todays update fixed it. i did as well switch the sound again on, after uplugging hdmi.
Comment by Marc-Olivier Barre (mobarre) - Tuesday, 17 May 2022, 11:43 GMT
Same issue here on an up to date system. I do have both ffmpeg and ffmpeg4.4 packages installed (there was a similar issue it seems in February). No recent changes on my system seems to explain a video playback issue. Still sifting through the update logs. Stated on Saturday for me, after an update...
Comment by riveravaldez (riveravaldez) - Tuesday, 24 May 2022, 06:27 GMT
Hi, just in case it's useful.

I've just opened the link-video: https://www.youtube.com/watch?v=DPLnBPM4DhI
(Just updated my system today.)

With Firefox I got this on terminal:
```
[2022-05-24T06:15:42Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2022-05-24T06:15:42Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2022-05-24T06:15:42Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2022-05-24T06:15:42Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
```
But video plays fine.

Also tried on epiphany and chromium.
Both play the video fine presenting no error messages on terminal.

This is the hardware:
```
$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)
04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
```

Packages (installed versions):
```
$ pacman -Q firefox epiphany chromium ffmpeg ffmpeg4.4
firefox 100.0.2-1
epiphany 42.2-1
chromium 101.0.4951.64-1
ffmpeg 2:5.0-7
ffmpeg4.4 4.4.1-5
```

Kind regards.
Comment by Antoni (antoyo) - Tuesday, 31 May 2022, 01:37 GMT
The problem might actually be this: https://archlinux.org/news/undone-replacement-of-pipewire-media-session-with-wireplumber/

I'll confirm in the following days, but installing `pipewire-media-session` seems to have fixed the issue for now.
Comment by Antoni (antoyo) - Thursday, 02 June 2022, 13:17 GMT
That was indeed the issue.
I do believe though that another blog post (or at least editing the one I mentioned) with more info would be needed.

Things I would note in that blog post:

* broken audio is not simply "no audio output", it's the audio player cursor won't even move forward in the web browsers.
* that can cause videos in web browsers to not work (while videos in other softwares like mpv may work).

Loading...