Hi,
I want to make a basic program with gstreamer that allows me to switch between a few video inputs.
What I tried:
- Switching between 2 videotestsrc elements with different patterns:
works perfectly
- Switching between 2 videotestsrc elements + png image ( filesrc ! pngdc ! imagefreeze ):
Switching from a videotestsrc to the image is instant but switching "away" from the image (to one of the videotestsrc elements) has a significant delay, and even switching between test elements after the initial image rendering has delay (although it's a lot faster)
- Switching between 2 videotestsrc elements + rtmpsrc:
The cycle starts stalled until rtmpsrc gets it's first 'chunk' of video (1-2s), which is OK, but would be better if it didn't, as it's not the selected videomixer input, I don't care about it's state until I want to show it.
Works for a single 'cycle', I can see both test elements and the rtmp source, but when trying to switch away from the RTMP video I get spammed to death with:
0:00:32.948702048 11297 0x55853e4d5e80 WARN videomixer videomixer2.c:906:gst_videomixer2_fill_queues:<mix:sink_0> Buffer from the past, dropping
where sink_0 is a **videotestsrc**, the program is unusable after this point.
David
--
Stack is the new term for "I have no idea what I'm actually
using".
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel