Dinamically start and stop recording using valve

Sérgio Agostinho sergio.r.agostinho at gmail.com
Mon Jan 5 13:35:48 PST 2015


Hi,

To get your file properly closed you will need to send an EOS event through
your filesink branch. If you simply set the valve drop property to true,
you should stop receiving new frames but that won't be enough to properly
close the saved video.

Refer to this discussion
<http://gstreamer-devel.966125.n4.nabble.com/Save-an-MPEG2-compressed-file-from-live-stream-td4669846.html>
and this example
<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html#section-dynamic-changing>
for additional insight.

Cheers

2015-01-04 17:31 GMT+01:00 Forzaferrarileo <leonardo.ferroro at gmail.com>:

> Hi , I'm using valve to start and stop a recording with a tee branch , but
> the problem is when i set valve's "drop" property to true , the video
> recording won't stop.
>
> My pipeline is something like this :
>
>                   ^-> queue ->valve->h264parse->mp4mux->filesink
>                   |
> src->caps->tee-> queue->h264parse->rtph264pay->updsink
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Dinamically-start-and-stop-recording-using-valve-tp4670091.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150105/0ff408d6/attachment.html>


More information about the gstreamer-devel mailing list