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

Restart recording tee branch #188

Open
Maobuff opened this issue Nov 6, 2023 · 0 comments
Open

Restart recording tee branch #188

Maobuff opened this issue Nov 6, 2023 · 0 comments

Comments

@Maobuff
Copy link

Maobuff commented Nov 6, 2023

I'm trying to implement splitting record files with such a pipeline
source->tee->queue1->encoder->filesink
->queue2->visualization
Previously I used add_probe on the src pad of tee with GST_PAD_PROBE_TYPE_IDLE to unlink it from sinkpad of queue1 and send eos to the encoder. Then i have to catch element msg on the bus from filesink to properly close the queue1 branch.
I can't see a way to pass the encoder element to add_probe callback. How to properly implement such a task in rust.

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