[gst-devel] Using fdsrc with a socket

Jan Schmidt thaytan at noraisin.net
Thu May 24 17:55:00 CEST 2007


David Johnson wrote:
> 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.

The ffmpeg demuxers don't work in push mode (which fdsrc causes). You'll
need to use the Fluendo MPEG-TS demuxer
(https://core.fluendo.com/gstreamer/svn/trunk/gst-fluendo-mpegdemux/) or
try the patch in http://bugzilla.gnome.org/show_bug.cgi?id=392534

J.




More information about the gstreamer-devel mailing list