Local video playback stutters heavily on Fedora 39

Hello everyone,

I recently (a week ago) re-installed Fedora 39 on my laptop as full boot.
I didn’t run into any issues whatsoever during the past week, so this is my first one.

I am trying to playback 4K video that I recorded on my iPhone in order to edit it on Kdenlive, At first Kdenlive didn’t import my file as video but instead as audio, so I got confused and started looking if the problem occured somewhere else to determine if the problem is from Kdenlive or from my device itself. Turns out that it’s from the device.

I then went to see if the appropriate codecs are installed, they weren’t so I installed them through Software (Flatpak).

It partially fixed the issue, now I could see something when I playback the video on the device but the frames are stuttering ENORMOUSLY and still nothing on Kdenlive.

YouTube and other media online work just fine so it’s a local problem, I would appreciate any help.

Info:

  • CPU: Intel Core i5-8265U
  • GPU: AMD ATI Radeon 540(x)/550(x)
  • GPU: Intel WhiskeyLake-U GT2 (UHD Graphics)
  • 8gb of RAM
  • Gnome 45.4

Thanks again for helping in any way<3

Guys the problem is still there, please help

This is probably the current problem.
I always install the extra codecs from the rpmfusion repo using dnf
sudo dnf install libavcodec-freeworld ffmpeg --allowerasing
This is done after enabling the rpmfusion repos as shown here
https://rpmfusion.org/Configuration

I am guessing that the flatpak versions are either incomplete or mismatched and conflicting with the codecs already installed on fedora by default.