play file as it is being written

Brendan Long self at brendanlong.com
Mon Mar 3 11:44:45 PST 2014


You might be able to do this with an appsrc (manually load the file data
and pause when there's nothing left to do, then when the file changes,
read the new data).

On Thu, 2014-02-27 at 18:02 -0800, daviswalker wrote:

> 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: http://gstreamer-devel.966125.n4.nabble.com/play-file-as-it-is-being-written-tp4665588.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/20140303/4dc4bd6d/attachment.html>


More information about the gstreamer-devel mailing list