<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I have had another opportunity to test my program, both in its
original form and with my attempted improvements.<br>
<br>
I notice that the 'working version' does set a timestamp in the Auto
Ring Buffer to 99:99:99.999999999 several times, but it does
eventually stop and then the pipeline reports that it has
transitioned to the PLAYING state. However, if I add my extra
elements to the pipeline, whether I link them or not, the pipeline
never transitions to the PLAYING state and is constantly filling the
buffer with timestamps.<br>
<br>
I accept that I may have done something foolish - but if I could see
it I would not be writing here.<br>
<br>
Any pointers would be appreciated.<br>
<br>
Ian<br>
<div class="moz-cite-prefix">On 04/11/2014 16:00, Ian Davidson
wrote:<br>
</div>
<blockquote cite="mid:5458F825.3040101@blueyonder.co.uk" type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<p class="western" style="margin-bottom: 0cm">I have a program
(written in C and using GStreamer 1.0) which works. I take input
from v4l2src and alsasrc and mux them together and save an mp4
file. I also tee off the audio early on and save it as a wav
file.</p>
<p class="western" style="margin-bottom: 0cm">However, I have no
confirmation that I actually have a video signal to record. So,
I decided to enhance the program by teeing the video off, right
after the v4l2src and send it to an autovideosink to act as a
monitor. The result was not 100% successful. The monitor window
appears with a picture in it – but then everything seems to
freeze up. Looking at a trace (--gst-debug-level=4) appears to
loop for ever setting a timestamp to 99:99:99.999999999.</p>
<p class="western" style="margin-bottom: 0cm"><br>
</p>
<p class="western" style="margin-bottom: 0cm">I have copied part
of my program below. The elements I have added are defined in
the line GstElement *videotee, *queue5, *monscale,
*moncapsfilter, *videosink;</p>
<p class="western" style="margin-bottom: 0cm"><br>
</p>
<p class="western" style="margin-bottom: 0cm">I have also included
the beginning of the Trace output. To my untrained eye,
everything seems to link together OK, but then it gets stuck
with the timestamps. Any pointers as to where I am going wrong
would be appreciated.</p>
</blockquote>
<br>
</body>
</html>