[Bug 769713] Unable to write multiple simultaneous filesinks from appsrc.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 16 15:52:16 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769713

--- Comment #5 from tyler at pictretail.com ---
Tim - right now the code requires a lot of moving parts to work correctly so
i'll try to package it into something small so you could run a standalone
application.

In regards to Sebastian. Some of the forks definitely happen after a glib or
streamer function is called. We have a circular/ring buffer that is being
queued with videos from a video stream. Whenever we need that video to be
captured and saved to file we:

1) Begin a new multiprocess.process() that points to the gstreamer writer
function as a target.
2) Within that multiprocess/function call we initialize the gstreamer process,
pull the frames from appsrc, and write them to file with filesync.

If this first multiprocess is still writing video when an ADDITIONAL signal is
sent to save video, then a new mulitprocess.process will spawn and a new
gstreamer instance will run on that multiprocess. However, this fork is
obviously happening while another gstreamer function is already running.

We really need the program to work this way though. We have a single video feed
that, when signaled, we need to saved into a downsampled and compressed video.
Is this type of implementation to be possible with gstreamer?

It looks like the fork() issue is the problem we've been having.

-- 
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