Filesrc with no EOS possible?

Sebastian Dröge sebastian at centricular.com
Wed Apr 23 03:01:45 PDT 2014


On Mi, 2014-04-23 at 11:32 +0200, Hamza Mr.X wrote:
> 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?

Well, that's just not going to work like this :) You'll need to use a
proper streaming protocol to provide this live stream to the second RPi,
e.g. take a look at gst-rtsp-server for this. Or just a simple streaming
protocol based on TCP that just passes the data over one TCP connection
directly.

By writing to a file and reading from the same file while writing you
have the problem that the reader can't know when the file is finished or
not, or when another few bytes are finished to be written.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140423/02a4c648/attachment.sig>


More information about the gstreamer-devel mailing list