RPiPlay icon indicating copy to clipboard operation
RPiPlay copied to clipboard

Video4Linux on RPi working now on UxPlay: could be backported to RPiPlay.

Open fduncanh opened this issue 3 years ago • 6 comments

GStreamer OpenMAX plugin omxh264dec was broken for a long time, but now the development branch of GStreamer has got Video4Linux plugin v4l2h264dec working for hardware accelerated video on the R Pi GPU. This is the one to be supported in the future on Pi.

see https://github.com/FDH2/UxPlay/issues/70 The GStreamer-based RPiPlay offspring UxPlay on RPi OS bullseye (32 or 64 bit) and Manjaro-Arm-RPi4 works with the patched plugin. (backports to GStreamer 1.18.4 (bullseye) and 1.20.0 (Manjaro) are available)

EDIT: The patch for GStreamer-1.18.5 (used by Ubuntu 20.10) is also now available,

fduncanh avatar Mar 12 '22 09:03 fduncanh

Very interesting indeed!

FD- avatar Mar 12 '22 10:03 FD-

Here are some reports of success of UxPlay with Raspberry Pi model 4B using Video4Linux2 for GPU h264 decoding

fduncanh avatar Apr 25 '22 05:04 fduncanh

Very interesting indeed!

Dear developer,good day! May I ask how to Make sure the DUMP flags are not active ? How to check it? Thank you

kang000feng avatar Jun 26 '22 06:06 kang000feng

No idea what DUMP flags are. You can test UxPlay on RPi with Video4Linux2 at the UxPlay site https://github.com/FDH2/UxPlay . you will need to patch the gstreamer Video4Linux2 plugin as explained there, until GStreamer-1.22 is released. This is for RPi OS Bullseye, Ubuntu 22.04, etc. There is no support for older GStreamer < 1.18.4, as in a Debian Buster-based OS with 1.16.2

fduncanh avatar Jun 26 '22 18:06 fduncanh

No idea what DUMP flags are. You can test UxPlay on RPi with Video4Linux2 at the UxPlay site https://github.com/FDH2/UxPlay . you will need to patch the gstreamer Video4Linux2 plugin as explained there, until GStreamer-1.22 is released. This is for RPi OS Bullseye, Ubuntu 22.04, etc. There is no support for older GStreamer < 1.18.4, as in a Debian Buster-based OS with 1.16.2

Dear developer, DUMP flags is from your README.md, quote"For best performance:

Use a wired network connection Compile with -O3 (cmake --DCMAKE_CXX_FLAGS="-O3" --DCMAKE_C_FLAGS="-O3" ..) Make sure the DUMP flags are not active Make sure you don't use the -d debug log flag Make sure no other demanding tasks are running (this is particularly important for audio on the Pi Zero)"

kang000feng avatar Sep 06 '22 08:09 kang000feng

@kang000feng RpiPlay and UxPlay are now different projects. UxPlay supports RPi using gstreamer and video4linux2.(32 and 64 bit) RpiPlay supports RPi using Omx (32 bit) / If you need UxPlay support, and its documentation doesnt solve it, post your issue there.

fduncanh avatar Sep 06 '22 15:09 fduncanh