<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/02/2015 09:26 PM, Peter
Maersk-Moller wrote:<br>
</div>
<blockquote
cite="mid:CAGf_jG=dSgxQyq2ejHUDoDuN+98jJcFyUxq8=P+EbKoU2LWeTw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi.<br>
<br>
</div>
I was expecting that I could read, parse and output a TS
file synchronously using a pipeline like this:<br>
<br>
gst-launch-1.0 filesrc
location=../Downloads/OC3.demo.ts ! queue ! tsparse !
fakesink sync=1<br>
<br>
</div>
<div>but what I see is that the pipeline reads the file,
parse it and send it to the fakesink as fast as the
hardware supports. That is, it does not decode the
timestamps in the PES header and send it out
synchrosnously although the sync flag has been set.<br>
<br>
</div>
Obviously fakesink is to be replaced by something else like
a filesink to a pipe or a udpsink or .....<br>
<br>
</div>
What is the correct way for GStreamer to playout a TS file
synchronously without having to decode and re-encode it? The
module decodebin can obviously decode it synchronously.<br>
</div>
</div>
</blockquote>
<br>
The problem is that tsparse doesn't timestamp the buffers so sink
elements won't be able to sync. A fix for tsparse is needed to have
this working.<br>
<br>
<blockquote
cite="mid:CAGf_jG=dSgxQyq2ejHUDoDuN+98jJcFyUxq8=P+EbKoU2LWeTw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>The ts testfile is available from Opencaster a<br>
<br>
<div style="margin-left:40px"><a moz-do-not-send="true"
href="http://www.avalpa.com/assets/video/OC3.demo.ts">http://www.avalpa.com/assets/video/OC3.demo.ts</a><br>
</div>
<br>
Best regards<br>
</div>
<div>Peter MM<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley</pre>
</body>
</html>