Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fduncanh opened this issue Mar 12, 2022 · 6 comments
Open

Comments

@fduncanh
Copy link

fduncanh commented Mar 12, 2022

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 FDH2/UxPlay#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,

@FD-
Copy link
Owner

FD- commented Mar 12, 2022

Very interesting indeed!

@fduncanh
Copy link
Author

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

@kang000feng
Copy link

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

@fduncanh
Copy link
Author

fduncanh commented Jun 26, 2022

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

@kang000feng
Copy link

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)"

@fduncanh
Copy link
Author

fduncanh commented Sep 6, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants