Dear All!

I was fighting with a problem for a long time. I want to read multiple RTSP
streams and switch between them sometimes. I reduced my program to a simple
presenting example:
https://pastebin.com/YKBfgbJm
The program now switches to another stream at the 4000th frame, but stucks
there. Probably the time how much do you have to wait is depend on your
computer cpu power.
This only occurs when I do not call the get frame of a stream for a long
time and I want to change to that.  If I use for example a composition and
push all of the images (small images) onto the presented one, the switching
is okey with any length of non-changin gap.

What do I miss from the code? What should I add to get rid with this
problem without decoding all of the images?

I hope someone can help me!:)
Best Regards,
Hudi
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to