After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732006 - glvideomixer: Stuck when using avfvideosrc for multiple inputs
glvideomixer: Stuck when using avfvideosrc for multiple inputs
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-21 13:09 UTC by Robert Swain
Modified: 2018-05-05 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GST_DEBUG=5 log (464.15 KB, application/octet-stream)
2014-06-21 13:21 UTC, Robert Swain
Details

Description Robert Swain 2014-06-21 13:09:04 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.
Comment 1 Robert Swain 2014-06-21 13:21:16 UTC
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.
Comment 2 Matthew Waters (ystreet00) 2014-06-22 07:05:16 UTC
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.
Comment 3 Robert Swain 2014-06-22 08:00:56 UTC
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.
Comment 4 Matthew Waters (ystreet00) 2017-07-14 14:06:12 UTC
Is this still an issue? There were some races in glvideomixer/videoaggregator/aggregator that have been fixed in the last 3 years.
Comment 5 Robert Swain 2017-07-15 16:49:49 UTC
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.
Comment 6 Matthew Waters (ystreet00) 2018-05-05 20:55:48 UTC
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!