rtsp-source to icecast

Mathias Gyllengahm lunarshuttle at gmail.com
Thu Mar 24 08:32:57 PDT 2011


Hi again!

/usr/local/bin/gst-launch-0.10 rtspsrc location=rtsp://192.168.6.146:554 !
decodebin ! autovideosink
A H264 video RTP depayloader plugin is required to play this stream, but not
installed.

gst-inspect rtph264depay shows there is such an element installed...

Trying manually, I'm able to attach to the source and send it raw to a
filesink:
/usr/local/bin/gst-launch-0.10 -v rtspsrc
location=rtsp://192.168.6.146:554!  filesink  ...

As soon as a connect a rtph264depay things go wrong though:
/usr/local/bin/gst-launch-0.10 -v rtspsrc
location=rtsp://192.168.6.146:554! rtph264depay ! filesink  ...
....
ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data
flow error.
...

I've experimented with some caps - but haven't gotten further (something
like caps = application/x-rtp, payload=35, clock-rate=90000,
encoding-name=H264...) but no luck.

Does anyone have any idea? I want to be able to decode the stream and
forward it to an icecast server. I'm able to do it with VLC on command line,
but VLC doesn't feel that stable...
/Mathias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110324/a4ce02a6/attachment.htm>


More information about the gstreamer-devel mailing list