[Bug 744111] New: record two stream simultaneously in one container

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 6 13:02:50 PST 2015

  GStreamer | gstreamer (core) | unspecified

           Summary: record two stream simultaneously in one container
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: briner at infomaniak.ch
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created an attachment (id=296304)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=296304)
gstreamer pipe not working


I'm having trouble to encode two streams (x264enc) into one container(mp4).

If we use videotstsrc as the source everythings works

If we use two webcams as the source, the webcams are not recording together
(attachment:briner_2webcams.pipe) :
What I specificaly means by not working is that when the video0 record (image
is not frozen) then video1 do not record (image is frozen). It keeps the same
for some seconds and then vidoo0 is frozen and video1 is not frozen.

After talking with the mailing list:
it seems that :
Looking again at the logs, search for the "x264enc[01]:sink> calling 
chainfunction" regex and you will see that only one v4l2src is running 
at a time. These are the log entries showing the buffers pushed to the 
x264enc elements, and only one is receiving buffers, which means that 
only one v4l2src element is capturing at a time. Unfortunately this is 
all I could get, you should try debugging it further to understand why 
this is happening.

I provided them an output of my pipe with a GST_DEBUG=6 of my pipe and the
video. Both are dowloadable from


Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the gstreamer-bugs mailing list