GNOME Bugzilla – Bug 732006
glvideomixer: Stuck when using avfvideosrc for multiple inputs
Last modified: 2018-05-05 20:55:48 UTC
The following works: gst-launch-1.0 avfvideosrc ! glimagesink avfvideosrc ! glimagesink The following displays the frames from the sources placed side-by-side but it only displays one frame and then appears to be stuck: gst-launch-1.0 mix. ! queue ! glimagesink \ gltestsrc pattern=black ! video/x-raw,width=1280,height=800 ! queue name=background \ avfvideosrc ! video/x-raw,width=1280,height=720 ! glcolorscale ! video/x-raw,width=640,height=800 ! queue name=left \ avfvideosrc ! video/x-raw,width=1280,height=720 ! glcolorscale ! video/x-raw,width=640,height=800 ! queue name=right \ background. ! mix.sink_0 \ left. ! mix.sink_1 \ right. ! mix.sink_2 \ glvideomixer name=mix sink_2::xpos=640 I'll attach an xz:ed log in a minute.
Created attachment 278891 [details] GST_DEBUG=5 log Here's a GST_DEBUG=5 log of the pipeline in case it sheds light if someone else cannot reproduce.
There doesn't seem to be anything in the logs that indicate any errors or warnings. Does it work with videotestsrc's instead of avfvideosrc's ?. I don't have two cameras to check with using v4l2src however one v4l2src certainly works fine.
It works with gltestsrc instead of avfvideosrc. I was using two avfvideosrc from the same device. Which is why I pointed out on the first line of the report that doing so works OK. I guess it is some problem with avfvideosrc and glvideomixer in combination. It does get stuck every single time however so if someone has an OS X machine it should be easy to reproduce.
Is this still an issue? There were some races in glvideomixer/videoaggregator/aggregator that have been fixed in the last 3 years.
I'm unlikely to test this any time soon I'm afraid. If no one else can reproduce it then I'm fine with closing this.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!