[gst-devel] How to make gstreamer read data from standard input

Gijsbert de Haan gijsbert_de_haan at fastmail.fm
Wed Jul 20 12:34:11 CEST 2005

Thanks for the ffmpegcolorspace tip.

Reading a stream from standard input does not work though. I've tried
some other files and it does work for some Apple QuickTime movies, but
most other tests fail. The one I need gives this error:

cat ../test.mpg | gst-launch-0.8 fdsrc fd=0 ! decodebin !
ffmpegcolorspace ! xvimagesink
RUNNING pipeline ...

** (process:7551): WARNING **: Unexpected/unwanted eos in data function
ERROR: from element /pipeline0/decodebin0/ffdemux_mpegts0: GStreamer
encountered a general supporting library error.

But the same file plays fine when using filesrc though.
Is it possible that it needs to seek in the data which is not supported
on a pipe?

Yet another file only plays for about 10 seconds, while it plays for the
full 1 minute length when played from a filesrc.


More information about the gstreamer-devel mailing list