<div dir="ltr">I have never tried something similar to this. But I can imagine you are having timestamp related problems.<div><br></div><div>When you resume recording, the timestamp of those frames is the real time and doesn't account for the (let's call it) "running recording time". You are going to have to manipulate these so they follow continuously.</div>
<div><br></div><div>Luis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 July 2014 05:42, Lee Matthews <span dir="ltr"><<a href="mailto:lma@spaceapplications.com" target="_blank">lma@spaceapplications.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm streaming video using the vp8 codec in a webm container. I can record the video also by using a tee and piping the video to a filesink.<br>
<br>
To start/stop recording, I dynamically add/remove a group of elements to a tee in the pipeline.<br>
<br>
I also wish to be able to pause/resume the recording. I do this using output-selector to select between filesink and fakesink, the pipeline remaining in the PLAYING state. So when recording normally the video goes to filesink, during a pause it goes to fakesink, and on resume it goes back to filesink.<br>
<br>
My pipeline looks like the following :<br>
<br>
<br>
v4l2sec -- caps filter -- videoconvert -- vp8enc -- webmmux -- tee -- queue -- multisocketsink<br>
|<br>
|-----queue -- output-selector -- filesink<br>
|<br>
|--------- fakesink<br>
<br>
<br>
If I record a video and say pause the video at 10 seconds, resume the video at 20 seconds and stop the video at 30 seconds. When playing back all is ok until 10 seconds, then the frame freezes until 20 seconds, at which point the video continues ok to 30 seconds.<br>
<br>
Does anyone know how to resolve this ?<br>
<br>
Thanks<br>
Lee<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>