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

Generate GStreamer Registry on build #158

Closed
azubieta opened this issue Oct 15, 2021 · 0 comments
Closed

Generate GStreamer Registry on build #158

azubieta opened this issue Oct 15, 2021 · 0 comments

Comments

@azubieta
Copy link
Contributor

GStreamer Registry build consumes a huge amount of time and resources when the applications are launched. Such effort can be saved if it's created at build time.

It could be done as follows:

  • set .env GST_REGISTRY=$APPDIR/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/registry.bin to a path inside the bundle
  • start the application to trigger the cache generation
  • set GST_REGISTRY_UPDATE=no to prevent the regeneration on further runs

Reference: https://gstreamer.freedesktop.org/documentation/gstreamer/running.html?gi-language=c

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

1 participant