<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
You might be able to do this with an <A HREF="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html">appsrc</A> (manually load the file data and pause when there's nothing left to do, then when the file changes, read the new data).<BR>
<BR>
On Thu, 2014-02-27 at 18:02 -0800, daviswalker wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
I have an application that creates and writes out an MPEG-TS video file. I'm
interested in playing it back before the file has been fully written out and
closed. I'm particularly interested in playing it back over HTTP, although
I'd like to know how to do it with local files as well.

Simply using playbin I'm seeing that gstreamer will read the file, and stop
when it reaches EOF. If new data is subsequently added to the file this
isn't fed to the pipeline.

How would you recommend I play a file as its being written to?

Thanks very much.

Dave



--
View this message in context: <A HREF="http://gstreamer-devel.966125.n4.nabble.com/play-file-as-it-is-being-written-tp4665588.html">http://gstreamer-devel.966125.n4.nabble.com/play-file-as-it-is-being-written-tp4665588.html</A>
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
<A HREF="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</A>
<A HREF="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>