Filesrc with no EOS possible?

Hamza Mr.X hamza_the_one at hotmail.de
Wed Apr 23 02:32:04 PDT 2014


Im working with the Raspberry Pi. Im recording with one Pi and share it to a smb folder. The other Pi  takes the file an transcodes it.What should i use instead of filesrc?

Subject: Re: Filesrc with no EOS possible?
From: sebastian at centricular.com
To: gstreamer-devel at lists.freedesktop.org
Date: Wed, 23 Apr 2014 11:25:18 +0200
You mean your file is growing while you read it? Well, filesrc will read
as fast as it can and when it reaches the end it is checking again the
file size, then reads again until the end. Of course this can lead to
the situation where the file size did not increase between the last read
and the check, and in that case filesrc is going EOS.
 
How are you creating this file? Most likely it will work much better if
you implement a custom source element for your input (or appsrc) or use
a better suited source element than filesrc for your use case (e.g.
fdsrc).
 
-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
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/20140423/2dc18b3e/attachment.html>


More information about the gstreamer-devel mailing list