GStreamer Core Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
GObject +----GstObject +----GstElement +----GstBaseSrc +----GstPushSrc +----GstFdSrc
Read data from a unix file descriptor.
To generate data, enter some data on the console folowed by enter. The above mentioned pipeline should dump data packets to the console.
If the "timeout" property is set to a value bigger than 0, fdsrc will
generate an element message named
"GstFdSrcTimeout"
if no data was recieved in the given timeout.
The message's structure contains one field:
guint64
"timeout"
: the timeout in microseconds that
expired when waiting for data.
echo "Hello GStreamer" | gst-launch -v fdsrc ! fakesink dump=true
Last reviewed on 2008-06-20 (0.10.21)
plugin | coreelements |
author | Erik Walthinsen <omega@cse.ogi.edu> |
class | Source/File |