Video Playback makes video and audio unsyncronized (Without NVIDIA graphic card)

Laptop Specification

Note: I don’t have Nvidia or AMD Graphics Card in my Laptop.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OS: Fedora Linux 38 (Workstation Edition) x86_64 
Host: Laptop (12th Gen Intel Core) A4 
Kernel: 6.3.8-200.fc38.x86_64 
Display Server: wayland
Systemd Version: systemd 253 (253.5-1.fc38)
~~~~~~~~~~~~~~~~~~~~~~~~~~~CPU~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CPU:
  Info: 12-core (4-mt/8-st) model: 12th Gen Intel Core i5-1240P bits: 64
    type: MST AMCP cache: L2: 9 MiB
  Speed (MHz): avg: 1327 min/max: 400/4400:3300 cores: 1: 463 2: 2100 3: 792
    4: 687 5: 2100 6: 560 7: 621 8: 2100 9: 929 10: 2100 11: 783 12: 940
    13: 2100 14: 2100 15: 2100 16: 757
~~~~~~~~~~~~~~~~~~~~~~~~~~~RAM~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Memory:
  System RAM: available: 31.05 GiB used: 8 GiB (25.8%)
  Array-1: capacity: 64 GiB slots: 2 EC: None
  Device-1: Controller0-ChannelA-DIMM0 type: DDR4 size: 16 GiB
    speed: 3200 MT/s
  Device-2: Controller1-ChannelA-DIMM0 type: DDR4 size: 16 GiB
    speed: 3200 MT/s
~~~~~~~~~~~~~~~~~~~~~~~~~~~Graphics~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: Realtek Laptop Camera driver: uvcvideo type: USB
  Display: server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 2256x1504~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: Mesa Intel Graphics (ADL GT2)

I have excellent internet connection and is very fast (300 Mbps).

Video playback on firefox (youtube) and mpv is very bad. When I press back button while video is playing, it waits for like 10 seconds and the audio and video become unsyncronized. This problem doesn’t occur with google chrome or with vlc.

Do I need to install some other codecs or libraries?

I installed firefox with dnf and also by downloading binary from Download Mozilla Firefox for Linux — Fast, Private & Free - from Mozilla , both methods didn’t solve the problem

I installed google-chrome

			# Refer: [Installing Chromium or Google Chrome browsers :: Fedora Docs](https://docs.fedoraproject.org/en-US/quick-docs/installing-chromium-or-google-chrome-browsers/)
			sudo dnf install -y fedora-workstation-repositories
			sudo dnf config-manager --set-enabled google-chrome # Enable the Google chrome repository for installing latest versions
			sudo dnf install -y google-chrome-stable

I installed mpv using dnf

DNF Repositories

$   dnf repolist --enabled
repo id                           repo name
code                              Visual Studio Code
fedora                            Fedora 38 - x86_64
fedora-cisco-openh264             Fedora 38 openh264 (From Cisco) - x86_64
fedora-modular                    Fedora Modular 38 - x86_64
google-chrome                     google-chrome
rpmfusion-free                    RPM Fusion for Fedora 38 - Free
rpmfusion-free-updates            RPM Fusion for Fedora 38 - Free - Updates
rpmfusion-nonfree                 RPM Fusion for Fedora 38 - Nonfree
rpmfusion-nonfree-updates         RPM Fusion for Fedora 38 - Nonfree - Updates
updates                           Fedora 38 - x86_64 - Updates
updates-modular                   Fedora Modular 38 - x86_64 - Updates

Firefox Addon

Any help please?

Don’t know if you already got your problem fixed, but for what it’s worth,
I’ve been having this same problem in streaming video, and I got it solved installing the non-free ffmpeg package from RPMfusion. Instructions are here, I found them through this forum thread. Good luck!