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

Q: Able to run gstd more faster? #307

Open
TopperBG opened this issue Aug 9, 2022 · 1 comment
Open

Q: Able to run gstd more faster? #307

TopperBG opened this issue Aug 9, 2022 · 1 comment

Comments

@TopperBG
Copy link

TopperBG commented Aug 9, 2022

Current config:
GSTD v0.14.0 (was 0.12.1)
GST-interpipe v1.1.8
GST-QT-plugin 0.5.0

Env:

export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
export QT_QPA_EGLFS_FB=/dev/fb0
export FB_FRAMEBUFFER_0=/dev/fb0
export QT_QPA_EGLFS_FORCEVSYNC=1
export QT_QPA_PLATFORM=eglfs
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
gstd -q -e

SRC pipline:
imxv4l2videosrc device=/dev/video0 imx-capture-mode=0 queue-size=32 ! imxipuvideotransform ! video/x-raw, width=${VIDEO_X_RES}, height=${VIDEO_Y_RES}, framerate=30/1, format=NV12 ! interpipesink name=src

OSD pipeline:
interpipesrc listen-to=src stream-sync=passthrough-ts ! imxg2dvideotransform ! video/x-raw, width=${VIDEO_X_RES}, height=${VIDEO_Y_RES}, framerate=30/1, format=RGBA ! queue leaky=downstream ! qtoverlay name=osd qml=/opt/qml/main.qml ! queue leaky=downstream ! imxipuvideosink sync=false async=false use-vsync=true

main.qml is a bit fat but we optimeze it now in smaller qml's

Anyway even with helloworld.qml (as simple as posible) the run of gstd with two pipes takes 6-6.5sek (3sek for gst-qt-overlay).

Q1: Is it here a way to optimize that load time of GSTD himself ?
Q2: Is it there a way ot load faster gst-qt-overlay ?

@clogwog
Copy link

clogwog commented Aug 18, 2022

not 100% sure but maybe you can try to preload the components by specifying export LD_PRELOAD=/path/to/libgstyourplugin.so before you start gstd ?

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

2 participants