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
Opened by Antoni (antoyo) - Saturday, 14 May 2022, 17:28 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 July 2022, 09:19 GMT
|
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
Wednesday, 27 July 2022, 09:19 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
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.
I'll confirm in the following days, but installing `pipewire-media-session` seems to have fixed the issue for now.
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).