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

Artifacts on background when using pad #168

Open
m-herrera opened this issue Dec 28, 2021 · 3 comments
Open

Artifacts on background when using pad #168

m-herrera opened this issue Dec 28, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@m-herrera
Copy link
Contributor

The following pipeline produces artifacts on the background every other frame on the develop branch:

gst-launch-1.0 \
videotestsrc is-live=true num-buffers=5 ! "video/x-raw,format=NV12, width=640, height=480,framerate=30/1" ! queue ! mosaic.sink_0 \
videotestsrc is-live=true pattern=ball num-buffers=5 ! "video/x-raw,format=NV12, width=640, height=480, framerate=30/1" ! queue ! mosaic.sink_1 \
videotestsrc pattern=ball num-buffers=2 ! "video/x-raw,format=NV12, width=1290, height=970, framerate=30/1" ! queue ! mosaic.background \
tiovxmosaic name=mosaic \
sink_0::startx=650 \
sink_0::starty=0 \
sink_1::startx=0 \
sink_1::starty=490 \
! "video/x-raw,format=NV12" ! videoconvert ! pngenc ! multifilesink location=/tmp/image_%d.png

This only happens if the source of the background pad has num-buffers=2. However, when using more buffers the background stream only alternates between two frames.

@m-herrera m-herrera added the bug Something isn't working label Dec 28, 2021
@m-herrera
Copy link
Contributor Author

This issue is not seen in the main branch; at least not with the pipeline above. And it is a lot easier to reproduce on the fix/miso-max-framerate-error branch.

@aniket-l
Copy link
Collaborator

aniket-l commented Feb 9, 2022

Any updates on this issue?

@m-herrera
Copy link
Contributor Author

Hi @aniket-l

There are no updates regarding this issue, since we have been working on other issues with higher priority; please let us know if this is of high priority to you so we can plan accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants