[gst-devel] Using fdsrc with a socket
David Schleef
ds at schleef.org
Tue May 29 00:08:06 CEST 2007
On Mon, May 28, 2007 at 12:16:44PM +0200, Thomas Vander Stichele wrote:
> On Wed, 2007-05-23 at 16:53 -0700, David Schleef wrote:
> > On Wed, May 23, 2007 at 10:53:53PM +0200, Thomas Vander Stichele wrote:
> > > gst-launch fdsrc fd=1 ! fdsink fd=2
> >
> > /me bets thomasvs meant 0 and 1
>
> Actually, I didn't, because I tested it beforehand. I'm completely
> baffled why both worked; I just tested to make sure.
>
> so does 0 and 2 (which does make sense to me), and so does 1 and 1
> (UH ?)
Oh yeah, of course. 0, 1, and 2 are typically open to the *same*
device, which is going to be both readable and writeable. Using
0 and 1 will make 'cat file | gst-launch fdsrc ! fdsink >someotherfile'
work, though.
dave...
More information about the gstreamer-devel
mailing list