[gst-devel] Using fdsrc with a socket

David Johnson dj at david-web.co.uk
Thu May 24 17:11:13 CEST 2007


On Wednesday 23 May 2007 21:53, Thomas Vander Stichele wrote:
>
> Give us some code we can run so we can check.
>

OK, I've hacked together a simpler version of my application (the real one 
expects to talk to mythtv to get a transport stream) which uses the file 
descriptor of a file rather than a socket:

http://www.david-web.co.uk/download/runme.py
http://www.david-web.co.uk/download/player.py
http://www.david-web.co.uk/download/file.mpeg (10MB)

GStreamer doesn't seem to be giving any errors, but I'm not getting any output 
from it.

>
> Try
>
>  gst-launch fdsrc fd=1 ! fdsink fd=2
>
> and type some stuff.  This should tell you that something is working.
>

That seems to work OK.

Thanks for your help,
David.

-- 
David Johnson
www.david-web.co.uk




More information about the gstreamer-devel mailing list