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

tiovxmosaic: to support max frame rate #110

Open
aniket-l opened this issue Sep 24, 2021 · 4 comments
Open

tiovxmosaic: to support max frame rate #110

aniket-l opened this issue Sep 24, 2021 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aniket-l
Copy link
Collaborator

videotestsrc pattern=ball is-live=true ! video/x-raw,format=NV12, width=640, height=360, framerate=30/1 ! queue ! mosaic.sink_0
videotestsrc pattern=ball is-live=true ! video/x-raw,format=NV12, width=640, height=360, framerate=1/1 ! queue ! mosaic.sink_1
tiovxmosaic name=mosaic
sink_0::startx=0 sink_0::starty=0 sink_0::width=640 sink_0::height=360
sink_1::startx=640 sink_1::starty=0 sink_1::width=640 sink_1::height=360
! video/x-raw,format=NV12, width=1920, height=1080 ! kmssink sync=false driver-name=tidss

The above pipeline runs at 1 FPS. Want it to run at 30 FPS (or whatever the max frame rate is for the input streams)

@aniket-l aniket-l added the bug Something isn't working label Sep 24, 2021
@rrcarlosrodriguez rrcarlosrodriguez added this to the 202111 milestone Nov 9, 2021
@m-herrera
Copy link
Contributor

@aniket-l Please verify if the issue is solved by #146; this fix is already merged into develop.

@aniket-l
Copy link
Collaborator Author

The develop branch has not rolled back the 2A integration changes so I could not test using that branch. I cherry-picked the 2 commits into current main branch and tested the sample pipeline above.
It did not seem to work correctly: I see the faster channel running at the desired frame rate but the slower one is completely frozen. This is happening for some combinations of the framerates (for example the one in the above pipeline). Are you not getting this issue?

@m-herrera
Copy link
Contributor

You are right, I am able to reproduce the issue. However, I can only reproduce it while using kmssink and with some framerates (as you mentioned), I will take a closer look at it to see what is going on.

Thanks for the observation.

@m-herrera
Copy link
Contributor

@aniket-l Please test our latest fix in branch fix/miso-max-framerate-error to see if you get the desired output on your end. Once you test it we can merge PR #151 with those changes.

@ravi-rahul ravi-rahul assigned ravi-rahul and unassigned m-herrera Sep 23, 2022
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

4 participants