recording suspend/resume

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

recording suspend/resume

mattes
I am looking for a way to pause and resume an active live recording?
While in pause/suspend mode the frames should be discarded.
Is there a way of achieving that with gstreamer?

Possibly a gstreamer plugin or so. Maybe something I could add
to my pipeline and control whenever I want to suspend the recording
and resume again.

The idea is, instead of dealing with multiple video snippet (aka. playlist),
to have one continuous media file.

Any pointers are appreciated?
Mat


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: recording suspend/resume

alet
On Tue, Dec 11, 2012 at 04:14:18PM -0800, mattes wrote:
> I am looking for a way to pause and resume an active live recording?
> While in pause/suspend mode the frames should be discarded.
> Is there a way of achieving that with gstreamer?

I do this with a buffer probe as part of the boxtream project, which can
currently be downloaded from :

  http://depot.univ-nc.nc/sources/

I use it while sending streams to an IceCast2 server while at the same
time saving the stream to disk on the encoder side.

The pause() method in encoder.py ensures that when the end user presses
the "Pause" button, only the disk recording is paused, but not the live
feed.

hth

--
Jerome Alet
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel