Performance of software video decoding

16 views
Skip to first unread message

Marek Marczykowski-Górecki

unread,
Nov 3, 2024, 11:00:12 AM11/3/24
to Demi M. Obenour, qubes-devel
Hi,

I just did some testing on a laptop with 4K screen and i9-13900H CPU.
The test case is Big Buck Bunny videos[1] in various formats, played
with "parole" (default video player in the default xfce template) which
uses gstreamer.

Playing 4K version of the video fails completely, I get maybe 0.5fps or
even worse. This applies to both 30fps and 60fps files.

Playing FHD version in its original size works just fine both at 30fps
and 60fps.

Playing FHD version scaled up to the full screen works just fine at
30fps, but starts dropping frames at 60fps quite quickly (especially
during more dynamic scenes).

Just FYI, there is no any action needed.

[1] http://bbb3d.renderfarming.net/download.html

--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
signature.asc

Demi Marie Obenour

unread,
Nov 3, 2024, 3:34:18 PM11/3/24
to Marek Marczykowski-Górecki, qubes-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Thank you for testing this and providing a test case.
- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEopQtqVJW1aeuo9/sszaHOrMp8lMFAmcn3j8ACgkQszaHOrMp
8lOOORAAlezhZN54gXpajMdS+NFSimeKdetbmD2GobDYNPmG40qih74oZERoz8xM
bJd7rfORhvpmcn4epBwhWwD858SvAWacBsdDqUfOPhSCOnghW6Gm4CofhYJlpxbH
kag7c7HMG/GIF4gpJrY9+95t/0TZLOoTuJSXi1jzaG8YmYV2oTRNPMxiPUDLDVCu
FlRenN+QhDkADgOTwV1uS2AUaZ0gpbpW5BGOi8m/+eCu3Jv/IrXqP+xPfb3QYkc4
N2po4xVGQbgxlW/qvOg09heHDBLApwvriRVrxAChrWRmBF8a6S6iJgCnXXv2A2Pu
dItbRmTqfKXEaUCv7MFLO0gCRS8zYj3HCiw6hnn2FsSxa3rCgerZ6+wdJ7MQ7B2d
Xaagf9YyKt2eFQJ/PpzmFX6il8WpTo01ixeK58lkekdXORePkK3ETReAiA8/zxzX
YKsoynYAxpaSshylKAdKFEqDnV36ailrjEBRIGL4LGb4vE0YwSODPHin1kF3RgZa
tE6iSU1gwiVOFFoGuEFv5Mh/zR0rtwd0bRmNSbscd1BAUHh7+r/hMVPzmMjd++Y/
dph7RSmXaG2L9pGGuVuRjH3UE7tyNhz0NmpnkCtkGIH7JAeUnhD1RLdftwzks4bR
fygjHR2JVdkivCVpWyc+e6Tx6KlmBMVr+7buAAh6RTL15pEf15o=
=ZwNl
-----END PGP SIGNATURE-----

Demi Marie Obenour

unread,
Nov 6, 2024, 11:59:36 AM11/6/24
to Marek Marczykowski-Górecki, qubes-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, Nov 03, 2024 at 05:00:03PM +0100, Marek Marczykowski-Górecki wrote:
I got much better results with Google Chrome playing a 4K video from
YouTube. This led me to check on #gstreamer:gstreamer.org, and the
developers there found that the problem is with the OpenH264 decoder
that Fedora ships. Other H.264 implementations handle it just fine.
- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEopQtqVJW1aeuo9/sszaHOrMp8lMFAmcroCMACgkQszaHOrMp
8lMFFg/+LI41P4QhxI27DMpJfWC8GSaFhSnxYDYkcWtSH0JZiEd8k38dB2rm96Dv
qvnFh/jrBy+ncCAQOV2HwHOLlFu/T6cGn/BJEMsRpPuAKAJwxtfkVT9lCeUTrcb+
0/RhkXvMmBVtipxa1KkrQ3ggJPkJ+LdxFDLq0vVACxi+XKMwIbB8TtwvgmXFzUFS
A92ZyB/et2jIyK7yi33dssVIJ7Ciasi0PqgF/P9hOQouyOQZ3MDmqM/rpxS48ogi
g8g9eMvAzcXq36MS6KSOcEmkNKhzEKVGzcbmBESHa7Aaw/n5bQbzRthluu1YUSdX
iDPzq/40R3Oxnh+jCDpIOO+8xMr3ebC5r47AsUII5Q+8RQLIzsRwbFmqs0fwxyvs
1yV4Gru78v6qt9ZMQ2p+/qIYiqWGBZSJvrLk4S37Mc4n+HFddVf2xCf+lNBOC/0I
0eJ7NYLfq5MO+uKNgcQ+acNFmG1vdnVsVRynpLI7ePVCoZn3ZNVhl2FPuDypA912
L/4hWPozZVsXBkKmsqMsm7VHTNVCo7SpvXkiaePgrl/U+oPIKxHhgNy+hs0YIgD3
KenM7Y4Dv+aWoN9su3+3/f7F2zFdTcYoRs0MK0kKtmHKxwL7EPUUH78Z1CSJwymA
TDGTVPSACF7/jjdeKqmDJh84P/61gJfW2N3SCZnt2o30aiTjek0=
=urzy
-----END PGP SIGNATURE-----

Marek Marczykowski-Górecki

unread,
Nov 6, 2024, 1:18:14 PM11/6/24
to Demi Marie Obenour, qubes-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Nov 06, 2024 at 11:59:30AM -0500, Demi Marie Obenour wrote:
> On Sun, Nov 03, 2024 at 05:00:03PM +0100, Marek Marczykowski-Górecki wrote:
> > Hi,
> >
> > I just did some testing on a laptop with 4K screen and i9-13900H CPU.
> > The test case is Big Buck Bunny videos[1] in various formats, played
> > with "parole" (default video player in the default xfce template) which
> > uses gstreamer.
> >
> > Playing 4K version of the video fails completely, I get maybe 0.5fps or
> > even worse. This applies to both 30fps and 60fps files.
> >
> > Playing FHD version in its original size works just fine both at 30fps
> > and 60fps.
> >
> > Playing FHD version scaled up to the full screen works just fine at
> > 30fps, but starts dropping frames at 60fps quite quickly (especially
> > during more dynamic scenes).
> >
> > Just FYI, there is no any action needed.
> >
> > [1] http://bbb3d.renderfarming.net/download.html
>
> I got much better results with Google Chrome playing a 4K video from
> YouTube. This led me to check on #gstreamer:gstreamer.org, and the
> developers there found that the problem is with the OpenH264 decoder
> that Fedora ships. Other H.264 implementations handle it just fine.

Interesting, does it mean it works just fine on Debian for example?

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmcrstwACgkQ24/THMrX
1yxmYgf7BDCo6fkCBbimAMLZW3Wu8idd5kbMlM1rxxK1SSFpXQwW9K+0nYmyfnjU
USCwedO+CIdeorgnf8e6wxzFbh2j5x+9iHKjlERh+F3N3KOf08HZpQ0dHItW+KtY
5wPDtiuZ23IWUp5BG7B4xtnaq7F1GVOKxEOf4OYamFbVdyh944GuHm7wpEtr26dL
bml2nfV2Kuwy0MxQph/Uk1hsO5/37bJluc+yFO73ngP5s2t63fe8v+tS7z8y1eRI
dxoWEUeTfjTbPRQOWTie98eGUG4xjecs93QD9LJKWPing5jkK5MnzURvBmVqiJ8u
81KWf0ExbLUQdZps0AWPT0fwkn8hvQ==
=trwv
-----END PGP SIGNATURE-----

Demi Marie Obenour

unread,
Nov 6, 2024, 11:18:20 PM11/6/24
to Marek Marczykowski-Górecki, qubes-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Nov 06, 2024 at 07:18:04PM +0100, Marek Marczykowski-Górecki wrote:
> On Wed, Nov 06, 2024 at 11:59:30AM -0500, Demi Marie Obenour wrote:
> > On Sun, Nov 03, 2024 at 05:00:03PM +0100, Marek Marczykowski-Górecki wrote:
> > > Hi,
> > >
> > > I just did some testing on a laptop with 4K screen and i9-13900H CPU.
> > > The test case is Big Buck Bunny videos[1] in various formats, played
> > > with "parole" (default video player in the default xfce template) which
> > > uses gstreamer.
> > >
> > > Playing 4K version of the video fails completely, I get maybe 0.5fps or
> > > even worse. This applies to both 30fps and 60fps files.
> > >
> > > Playing FHD version in its original size works just fine both at 30fps
> > > and 60fps.
> > >
> > > Playing FHD version scaled up to the full screen works just fine at
> > > 30fps, but starts dropping frames at 60fps quite quickly (especially
> > > during more dynamic scenes).
> > >
> > > Just FYI, there is no any action needed.
> > >
> > > [1] http://bbb3d.renderfarming.net/download.html
> >
> > I got much better results with Google Chrome playing a 4K video from
> > YouTube. This led me to check on #gstreamer:gstreamer.org, and the
> > developers there found that the problem is with the OpenH264 decoder
> > that Fedora ships. Other H.264 implementations handle it just fine.
>
> Interesting, does it mean it works just fine on Debian for example?

It should, though I have not tested it.
- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEopQtqVJW1aeuo9/sszaHOrMp8lMFAmcsP38ACgkQszaHOrMp
8lPyHg//dXjgIW75/Y+bgzN6/eebH1GibiwKsocEUjswD2cIOgUD/2gdyUIs2GVP
sOxTywFY+zEaG6s3lizBhfvcgrfJ7G/eiKktHDuOAQKhexhJqBYI0uYV/5aQOQul
FnAxenYzp9EYdVNwLNo5hw710fUlbJs/7Lg3Wayk3Ua//NAkA2psFw2ksmtZympc
EiE6KE2FMfk6BboK/pFqLtFDIa6mNIKShRcdwMUU2eZDCEOUBPmwgW0vwDb/DHZS
VHwko/MiTn/kVHssttDPkf7a48sHZDgiTNsBpIEpIXQUbibVawx5OL+X9nV/yBG8
gcysgw8qEG/ni2GSwqZc06kVFKHWBEOtUnCw81HU+GOFtMGjsG8SxfziWAdUCX2j
xf2fO4OFLxtOwXDuAIu/faYTCyI8LaT3JcWIamoONaJV7KLG1hgYHfzTsMMlQpzq
vR9U2zriLZoPd1Z0SE+l/sQEP26Ruqjo4eDi42TL54UP1zespPPTj7h0oUu6fV1r
scisonENkxtxpGt7bfCeQHTh2/4JUjNMszaXI6OELFNlHPeqVWtCbJKhj6kQ2ODx
obIS0WuWld+SjO2nLrmutk4eCsM+w41e8HeWzQPPcFMFpOS+8I2BJoPogyVraP10
5ABSYBojIdtWjob1JWU8IyZbdx3pcYl8qOGxuUHJhQYqOWP3Cyg=
=2OJw
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages